Get a quotation.
GET/quotations
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Get currency quotation. Must use the path "quotations/spot".
Request
Query Parameters
Conversion currency.
Conversion currency quote.
Conversion amount in cents.
Possible values: [buy
, sell
]
Conversion side.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the requisition. All requisitions must have an identifier.
Responses
- 200
- 400
Quotation returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
Conversion ID.
Conversion price in cents.
Conversion price buy in cents.
Conversion price sell in cents.
Possible values: [buy
, sell
]
Conversion side.
Conversion partial buy.
Conversion partial sell.
Conversion spread amount buy.
Conversion spread buy bps.
Conversion spread amount sell.
Conversion spread sell bps.
Conversion iof amount.
Conversion iof bps.
Conversion quote amount buy.
Conversion quote amount sell.
Conversion quote currency symbol.
Conversion quote currency decimal.
Conversion quote currency title.
Conversion base amount buy.
Conversion base amount sell.
Conversion base currency symbol.
Conversion base currency decimal.
Conversion base currency title.
TTL date.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"price": 0,
"price_buy": 0,
"price_sell": 0,
"side": "buy",
"partial_buy": 0,
"partial_sell": 0,
"spread_buy": 0,
"spread_buy_bps": 0,
"spread_sell": 0,
"spread_sell_bps": 0,
"iof_amount": 0,
"iof_bps": 0,
"quote_amount_buy": 0,
"quote_amount_sell": 0,
"quote_currency_symbol": "BRL",
"quote_currency_decimal": "2",
"quote_currency_title": "Real",
"base_amount_buy": 0,
"base_amount_sell": 0,
"base_currency_symbol": "BTC",
"base_currency_decimal": "8",
"base_currency_title": "Real",
"ttl": "2024-04-24T13:52:51.245Z"
}
If any required params are missing or has invalid format or type.