Wallets, tokens & networks
Get XRP Price
Fetches the XRP close price from CoinMarketCap, falling back to 0.5 on failure.
GEThttps://api.toku.com/tga/get-xrp-price
Not available to API keys.
curl --request GET \
--url 'https://api.toku.com/tga/get-xrp-price' \
--header 'Authorization: Bearer <token>'200 response
{
"xrpPrice": 0
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Response
200Successful response
xrpPricenumberrequired400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits