Skip to main content
GET
Get Market Rates
Returns the current rate for every wallet currency Yativo supports. Each rate means 1 base = rate units of that currency. To convert from the base currency, multiply by the rate. To convert back, divide. Rates are indicative market rates. They refresh about once a minute and don’t include fees. To price a specific payout or deposit with fees applied, and lock it, use POST /exchange-rate.
You can call this endpoint once per minute per account. Further calls in the same minute get 429 with a Retry-After header. Polling faster wouldn’t return newer data. To show rates against several bases, make one request and divide: the rate from A to B is rates[B] / rates[A].

Authorizations

X-Api-Key
string
header
required

Your API key (yativo_pk_...) from Developers → API Keys. Send together with X-Api-Secret.

X-Api-Secret
string
header
required

Your API secret (yativo_sk_...), shown once when the key is created.

Query Parameters

base
string
default:USD

The currency rates are quoted against. Must be a supported wallet currency.

Example:

"USD"

Response

Current rates

status
string
Example:

"success"

status_code
integer
Example:

200

message
string
Example:

"Request successful"

data
object