Rates V2

Get the rate of fiat to fiat, fiat to bitcoin or sats to fiat

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

To use this endpoint, you need to know how the rate is quoted and how primary_currency_id and secondary_currency_id map to that quote.
A rate tells you how much of the secondary currency you need to receive 1 unit of the primary currency.
For example, BTC/USD = 20000 means you need 20000 USD to receive 1 BTC.
If you want the BTC/USD rate, set primary_currency_id to the ID for BTC (2) and set secondary_currency_id to the ID for USD (3).

To get the list of supported currencies and their IDs, see the Get All Currencies endpoint.

Path Params
int32
required
Defaults to 2
int32
required
Defaults to 3
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json