Latest Rates Endpoint
Api will return the latest rates for the given symbols, depending on the subscription plan latest rates may be delayed by up to 60 minutes.
Endpoint
GET rates/latest
Request Object
Parameters
apiKey
string REQUIRED
Your unique API key. Note This may also be passed via x-api-key
header.
symbols
string array REQUIRED
list of comma separated currency symbols.
Response Object
success
boolean
true if the request was successful, false if there was an error.
message
string OPTIONAL
error message if the request was unsuccessful.
statusCode
string OPTIONAL
HTTP status code of the response, if the request was unsuccessful.
rates
object
object containing the requested rates.
timestamp
number
timestamp of the response in seconds since UNIX epoch.
Response JSON
{
"success": true,
"timestamp": 1703866777,
"rates": {
"WTIOIL": 72.29,
"XAU": 2066.98
}
}