cURL
curl --request GET \
--url https://tonapi.io/v2/rates/markets{
"markets": [
{
"market": "OKX",
"usd_price": 5.2,
"last_date_update": 1668436763
}
]
}{
"error": "<string>",
"error_code": 123,
"details": {
"required": 123,
"available": 123
}
}Get Markets Rates
Get the Gram price from markets
GET
/
v2
/
rates
/
markets
cURL
curl --request GET \
--url https://tonapi.io/v2/rates/markets{
"markets": [
{
"market": "OKX",
"usd_price": 5.2,
"last_date_update": 1668436763
}
]
}{
"error": "<string>",
"error_code": 123,
"details": {
"required": 123,
"available": 123
}
}Response
markets rates
Show child attributes
Show child attributes
Was this page helpful?