GET /testnet/tokens/{md5}
GET

/v1/testnet/tokens/{md5}

A Testnet token with its AMM pool

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/testnet/tokens/2b5e3c50d0500edf86212000b9883dce
Path parameterValueDescription
md5The token's md5 (md5 of issuer_currency)
curl 'https://api.xrpl.to/v1/testnet/tokens/2b5e3c50d0500edf86212000b9883dce'

Response

200Example response1 ms · just now · 1.2 KB · 42 lines
https://api.xrpl.to/v1/testnet/tokens/2b5e3c50d0500edf86212000b9883dce
{
  "success": true,
  "took": 1,
  "token": {
    "_id": "2b5e3c50d0500edf86212000b9883dce",
    "currency": "524C555344000000000000000000000000000000",
    "exch": 0.7990622068417373,
    "firstSeen": 1793416940000,
    "firstTx": "F6E345F7D7B7CD8B5F65BAD88B4EAD18049CFA7F262981FBD8E2996B8C153D4D",
    "holders": 28,
    "issuer": "rKmPxq4hD4m27cVy7kqRmwnV59rXVwWML7",
    "name": "RLUSD",
    "supply": 34789.97441262907,
    "trades24h": 4682,
    "trustlines": 29,
    "vol24h": 249251.506716,
    "time": 1793516731000,
    "amm": "rHh8QTC8Jr8dEwzUWTQxdFF3ZBhKGp1gAk",
    "spot": 0.798643483137643,
    "tvl": 40056.858054,
    "lastTrade": 1793516731000
  },
  "pool": {
    "_id": "rHh8QTC8Jr8dEwzUWTQxdFF3ZBhKGp1gAk",
    "createTx": "36D75A00764A5E778E72B3A70D269B7EC146FF790C0D0F6491101393CDAAF0BC",
    "created": 1793416980000,
    "creator": "rQHiCsu9meFXm8tUADeaucaKGdnn5S4Nbj",
    "deleted": false,
    "fee": 10,
    "firstSeen": 1793416980000,
    "ledger": 21981597,
    "lp": "22406249.12831238",
    "spot": 0.798643483137643,
    "time": 1793516731000,
    "token": {
      "currency": "524C555344000000000000000000000000000000",
      "issuer": "rKmPxq4hD4m27cVy7kqRmwnV59rXVwWML7",
      "value": 25078.05979748811
    },
    "xrp": 20028.429027
  }
}
Shapeas documented
{ token, pool }

What it does

A Testnet token with its AMM pool

Start at GET /v1/testnet/fixtures: it names live accounts, a busy token, an NFT with offers and one of every ledger object that xrpl.to keeps alive on Testnet, plus a real transaction of every type. The busiest token gains holders every hour, so its GET /v1/testnet/tokens/{md5}/holders is the place to test paginating a long list. Testnet resets without warning; the data is rebuilt from the chain within minutes, and only objects touched since count. Open the Testnet sandbox →
OpenAPI