GET /testnet/health
GET

/v1/testnet/health

Both collectors' head ledger against the network, and whether that is current

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/testnet/health
curl 'https://api.xrpl.to/v1/testnet/health'

Response

200Example response3 ms · just now · 0.4 KB · 23 lines
https://api.xrpl.to/v1/testnet/health
{
  "success": true,
  "took": 2,
  "ok": true,
  "validated": 20930544,
  "node": {
    "state": "full",
    "networkId": 1,
    "ledgers": "20922978-20930544"
  },
  "stages": {
    "tokens": {
      "ledger": 20930544,
      "at": 1789975899324,
      "lag": 0
    },
    "nfts": {
      "ledger": 20930544,
      "at": 1789975899322,
      "lag": 0
    }
  }
}
Shapeas documented
{
  ok,
  validated,
  node: { state, networkId, ledgers },
  stages: {
    tokens: { ledger, at, lag },
    nfts: { ledger, at, lag }
  }
}

What it does

Both collectors' head ledger against the network, and whether that is current

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. Testnet resets without warning; the data is rebuilt from the chain within minutes, and only objects touched since count. Open the Testnet sandbox →
OpenAPI