/v1/keys/costs
Per-endpoint credit costs
Request
https://api.xrpl.to/v1/keys/costscurl 'https://api.xrpl.to/v1/keys/costs'
Response
https://api.xrpl.to/v1/keys/costs{ "success": true, "costs": { "/health": 0, "/diagnostics": 0, "/keys": 0, "/user": 0, "/oauth": 0, "/referral": 0, "/dapp-session": 0, "/verify": 0, "/docs": 0, "/tokens": 1, "/pairs": 1, "/tags": 1, "/news": 1, "/trustlines": 1, "/stats": 1, "/platform-stats": 1, "/platform-report": 1, "/watchlist": 1, "/embed": 1, "/scams": 1, "/mentions": 1, "/tx": 1, "/thumb": 1, "/nft/pin": 1, "/token": 2, "/account": 2, "/history": 2, "/holders": 2, "/traders": 2, "/amm": 2, "/orderbook": 2, "/rsi": 2, "/nft": 2, "/nft/holders": 2, "/creator-activity": 2, "/dex": 2, "/bridge": 2, "/submit": 2, "/ledger": 2, "/lp-positions": 2 }, "examples": { "/tokens": { "cost": 1, "description": "List tokens" }, "/token/:id": { "cost": 2, "description": "Get single token" }, "/ohlc": { "cost": 5, "description": "OHLC chart data" }, "/search": { "cost": 10, "description": "Search tokens" }, "ws:message": { "cost": 0.1, "description": "WebSocket message" } } }
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Per-endpoint credit costs