Historical NGN forex rates
Forex Endpoints
Historical Forex Rates
Retrieve historical NGN exchange rates by currency pair and date range.
GET
Historical NGN forex rates
This endpoint gives you historical exchange rate data between NGN and any supported currency pair. You can narrow results by currency code, date range (
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:
Authorizations
Pass your API key as a Bearer token: Authorization: Bearer ngm_live_YOUR_KEY.
Generate keys at ngnmarket.com/dashboard/developer.
Query Parameters
Source currency code (e.g. USD, EUR, GBP). Defaults to USD.
Example:
"USD"
Target currency code. Defaults to NGN.
Example:
"NGN"
Shorthand currency filter when querying NGN-based rates. Overridden by explicit source/target.
Start date in YYYY-MM-DD format (inclusive).
Example:
"2026-01-01"
End date in YYYY-MM-DD format (inclusive). Defaults to today.
Example:
"2026-04-17"
Maximum number of records to return.