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/ecfb8f46ab12687bf34adeda926a9adb
Path parameterValueDescription
md5The token's md5 (md5 of issuer_currency)
curl 'https://api.xrpl.to/v1/testnet/tokens/ecfb8f46ab12687bf34adeda926a9adb'

Response

200Example response2 ms · just now · 1.3 KB · 42 lines
https://api.xrpl.to/v1/testnet/tokens/ecfb8f46ab12687bf34adeda926a9adb
{
  "success": true,
  "took": 1,
  "token": {
    "_id": "ecfb8f46ab12687bf34adeda926a9adb",
    "currency": "524C555344000000000000000000000000000000",
    "exch": 0.7606220909925351,
    "firstSeen": 1790612990000,
    "firstTx": "982F592E11D366807BC88857F5822931062D42B6C9DFD89C146966DECC6C71B0",
    "holders": 608,
    "issuer": "rLgZXamWAfiuShiArGu1ZphyjymKX1QKs1",
    "name": "RLUSD",
    "supply": 533881.3128841454,
    "trades24h": 4298,
    "trustlines": 612,
    "vol24h": 262744.151544,
    "time": 1792399021000,
    "amm": "rPZ4iweTw9ficJh4eRKFPSUPnZE7RZnykT",
    "spot": 0.7609938740174453,
    "tvl": 63643.147448,
    "lastTrade": 1792398950000
  },
  "pool": {
    "_id": "rPZ4iweTw9ficJh4eRKFPSUPnZE7RZnykT",
    "createTx": "B0FB63D87C2B04DC3BE32B6C9372743560BDE7EB93FD851F11413BFD9FB84ED1",
    "created": 1790613031000,
    "creator": "rnfvigykNtpQfU9yCRcLvcQYq3gVqZpqE5",
    "deleted": false,
    "fee": 10,
    "firstSeen": 1790613031000,
    "ledger": 21652758,
    "lp": "36361416.49058454",
    "spot": 0.7609938740174453,
    "time": 1792398950000,
    "token": {
      "currency": "524C555344000000000000000000000000000000",
      "issuer": "rLgZXamWAfiuShiArGu1ZphyjymKX1QKs1",
      "value": 41815.80799856808
    },
    "xrp": 31821.573724
  }
}
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