Skip to main content
This example fetches the latest NGN exchange rates against all supported currencies, then drills into the USD/NGN pair for a 30-day history suitable for charting. Endpoints used:
  • GET /forex/current (Free plan)
  • GET /forex/history (Starter plan)

Fetch current rates

Returns live NGN rates against all supported currencies in a single call.

Sample response

Fetch 30-day USD/NGN history

Useful for rendering a rate trend chart or calculating how much the naira has moved against the dollar.

Sample response (trimmed)

Supported currencies

USD EUR GBP CAD AUD GHS ZAR CNY JPY SAR NGN Pass source and target in any direction. For example, source=NGN&target=USD gives you the inverse rate.

Current rates reference

GET /forex/current parameters

Rate history reference

GET /forex/history parameters