Retrieves the latest exchange rates for a specified base currency against multiple target currencies. This endpoint provides real-time conversion rates, making it useful for financial applications, currency converters, and data analysis tools.Request Method:GETResponse Format:Returns a JSON object containing the status of the request, a message, and the exchange rate data, including the base currency, exchange rates, and the last updated timestamp.Response Example:
status (string) – Indicates the success or failure of the request (e.g., "success").
message (string) – Provides a brief message about the request status (e.g., "retrieved").
data (object) – Contains the core exchange rate information:
base (string) – The base currency code used for conversions (e.g., "NGN").
rates (object) – Key-value pairs of target currency codes and their corresponding exchange rates (e.g., "USD": 0.00060369).
timestamp (string, ISO 8601) – Timestamp indicating the last time the rates were updated.
Usage:Ideal for applications that require up-to-date exchange rates, such as financial dashboards, e-commerce platforms, and currency converters. It provides a snapshot of how various currencies compare to the specified base currency.
Request
Authorization
API Key
Add parameter in header
api_key
Example:
api_key: ********************
or
Query Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.monierate.com/core/rates/latest.json?base=USD&market=mid' \
--header'api_key: <api-key>'