Skip to main content
GET
Get exchange rates

Authorizations

Authorization
string
header
required

User bearer credential: either a Cognito JWT or an ak_ user API key. Backend integrators using HMAC must include the user API key alongside the three HMAC headers on user-scoped endpoints.

Query Parameters

from
string
required

Fiat currency to convert from (case-insensitive). Must be a currency listed by GET /v1/on-ramps/supported-pairs.

Example:

"USD"

to
string
required

Token to convert to (case-insensitive). Must be a token that GET /v1/on-ramps/supported-pairs lists against the requested from currency.

Example:

"USDT"

Response

Response for status 200

rate
string
required

Current exchange rate from fiat to crypto

Example:

"1.0012"