API Reference
List supported currency pairs
Lists every currency pair in FX. A listed pair is not always enabled for you; POST /v1/fx/quote returns an error for a pair that is not. This route reads no query parameters.
Responses
| Status | Description |
|---|---|
200 |
The pairs, in one list with no paging |
400 |
The request failed. Every FX error is a 400, including not-found and outages. Read error. |
200 response
Pair key FROM_CC_TO_CC, with XX as the country of a crypto asset
Possible values: fiat, crypto
{
"data": [
{
"currency_pair": "USD_US_NGN_NG",
"pair_type": "fiat",
"from_currency": "USD",
"from_currency_name": "US Dollar",
"to_currency": "NGN",
"to_currency_name": "NGN"
}
],
"error": null
}
400 response
What went wrong. FX errors carry no code.
{
"data": null,
"error": "order not found"
}
Authorization
- ApiKeyAuth
Was this page helpful?