Skip to main content
GET
/
api
/
v1
/
org
/
rates
Get exchange rates
curl --request GET \
  --url https://sandbox.api.afriex.com/api/v1/org/rates \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "rates": {
      "USD": {
        "USD": "1",
        "EUR": "0.80832",
        "GBP": "0.69255",
        "CAD": "1.30272",
        "NGN": "1410.1041",
        "KES": "125.0912",
        "GHS": "10.96338",
        "UGX": "3485.0742"
      }
    },
    "updatedAt": 1775632339823
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.afriex.com/llms.txt

Use this file to discover all available pages before exploring further.

Retrieves real-time exchange rates. Use the optional fromSymbols and toSymbols query parameters to filter results to specific currency pairs.

Authorizations

x-api-key
string
header
required

Static business API key from the dashboard

Query Parameters

fromSymbols
string

Comma-separated list of base currency symbols to filter rates by (e.g., USD,NGN,EUR). If omitted, all base currencies are returned.

Example:

"USD,NGN,EUR"

toSymbols
string

Comma-separated list of target currency symbols to filter rates by (e.g., NGN,EUR,GBP). If omitted, all target currencies are returned.

Example:

"NGN,EUR,GBP"

Response

Successful retrieval of rates

data
object