Skip to main content
GET
Get spot market price
This endpoint provides the market rate that Rio receives from its data providers, along with the market rate used for generating quotes. The Rio market rate includes after-hours fees and adjustments for price variations related to the underlying crypto asset, such as when USDC/T deviates from its USD peg, whereas the provider market rate does not.

Requirements to consume the endpoint.

User approved

The user must be approved in at least one country.

Authorizations

x-api-key
string
header
required

Query Parameters

side
enum<string>
required

Direction of the price. buy prices fiat to stablecoin, sell prices stablecoin to fiat.

Available options:
buy,
sell
fiat
enum<string>
required

Fiat currency.

Available options:
USD,
MXN,
PEN,
COP
country
enum<string>
required

Country.

Available options:
MX,
PE,
CO
asset
enum<string>
required

Stablecoin to price.

Available options:
USDC,
USDCe,
EURC,
USDT
network
enum<string>
required

Network of the stablecoin.

Available options:
ethereum,
polygon,
solana,
stellar,
base,
tempo,
tron,
bsc

Response

200 - application/json

OK

providerMarketPrice
number

The market price obtained from the data provider. This does not include the price of the underlying crypto asset.

Example:

1

rioMarketPrice
number

The market price used in quotes. This includes the price of the underlying crypto asset.

Example:

1