Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
FX List exchange rates

List exchange rates

Returns indicative rates for display, sorted by pair. You cannot trade at these rates; call `POST /v1/fx/quote` for a firm price. Filters are not case-sensitive. When rates are not loaded yet, the error is `fx cache is not ready`; retry the call.

GEThttps://api.gravv.xyz/v1/fx/ratesTry it
Api-Key

Query parameters

NameDescription
currency_type:string
Possible values: fiat, crypto
from_currency:string
to_currency:string
directions:string
Comma-separated FROM_TO values, such as USD_NGN,USD_EUR
currency_pairs:string
Comma-separated four-part pair keys, such as USD_US_EUR_FR

Response

Returns 200 OK. The rates, in one list with no paging

NameDescription
data:object[]
Show 9 child attributesobject[]
error:null

Errors

StatusMeaning
200The rates, in one list with no paging
400The request failed. Every FX error is a 400, including not-found and outages. Read error.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/fx/rates?from_currency=USD&to_currency=NGN' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400OK
{
"data": [
{
"currency_pair": "USD_US_NGN_NG",
"direction": "USD_NGN",
"from_currency": "USD",
"from_currency_name": "US Dollar",
"pair_type": "fiat",
"rate": "1368.27",
"timestamp": "2026-10-13T22:20:08.941956Z",
"to_currency": "NGN",
"to_currency_name": "NGN"
}
],
"error": null
}