Skip to main content
GET
https://api.xchangeapi.com/
{format}
/
currencies?pairs=
{currency-pairs}
Multiple currencies rates
curl --request GET \
  --url 'https://api.xchangeapi.com/{format}/currencies?pairs={currency-pairs}' \
  --header 'api-key: <api-key>'
[
  {
    "ask": "1.17714",
    "bid": "1.17680",
    "name": "EURUSD",
    "time": "1766956455.094"
  },
  {
    "ask": "1.35004",
    "bid": "1.34965",
    "name": "GBPUSD",
    "time": "1766956455.094"
  }
]
Retrieve real-time exchange rates for multiple specific currency pairs in a single request. This endpoint is efficient for applications that need to track a watchlist of currencies or update a specific set of rates without fetching the entire dataset.

Path parameters

format
string
default:"json"
The desired output format. Options: json, xml, csv.
If you choose xml, you must use the POST method. GET requests for XML will fail.

Query parameters

currency-pairs
string
A JSON array of currency pair symbols to retrieve (e.g., ["EURUSD", "GBPUSD"]). See the list of available pairs.

Response

Note on Precision: Some currency pairs are returned with a multiplier (e.g., 100 or 1000) to ensure high precision.
ask
string
The current ask price.
bid
string
The current bid price.
name
string
The currency pair symbol.
time
string
The Unix timestamp (epoch) of the rate.
[
  {
    "ask": "1.17714",
    "bid": "1.17680",
    "name": "EURUSD",
    "time": "1766956455.094"
  },
  {
    "ask": "1.35004",
    "bid": "1.34965",
    "name": "GBPUSD",
    "time": "1766956455.094"
  }
]