GET /keys/costs
GET

/v1/keys/costs

Per-endpoint credit costs

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/keys/costs
curl 'https://api.xrpl.to/v1/keys/costs'

Response

200Example response5 ms · just now · 1.2 KB · 67 lines
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

OpenAPI