Retrieve historical NGN exchange rates by currency pair and date range.
This endpoint gives you historical exchange rate data between NGN and any supported currency pair. You can narrow results by currency code, date range (Documentation Index
Fetch the complete documentation index at: https://docs.ngnmarket.com/llms.txt
Use this file to discover all available pages before exploring further.
from/to), and record count, making it straightforward to populate charts, backtest models, or power rate-change alerts.
The source and target parameters default to USD and NGN respectively. Pass both to query any supported pair in either direction. This endpoint requires a Starter plan or higher.
For example, to fetch GBP/NGN rates for Q1 2026:
Pass your API key as a Bearer token: Authorization: Bearer ngm_live_YOUR_KEY.
Generate keys at ngnmarket.com/dashboard/developer.
Source currency code (e.g. USD, EUR, GBP). Defaults to USD.
"USD"
Target currency code. Defaults to NGN.
"NGN"
Shorthand currency filter when querying NGN-based rates. Overridden by explicit source/target.
Start date in YYYY-MM-DD format (inclusive).
"2026-01-01"
End date in YYYY-MM-DD format (inclusive). Defaults to today.
"2026-04-17"
Maximum number of records to return.