GET /testnet/accounts/{address}
GET

/v1/testnet/accounts/{address}

A Testnet account as the collector last saw it, with its trust lines, resting offers and last 20 trades

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/testnet/accounts/rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz
Path parameterValueDescription
addressAn XRPL account, its r-address
curl 'https://api.xrpl.to/v1/testnet/accounts/rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz'

Response

200Example response4 ms · just now · 7.7 KB · 247 lines
https://api.xrpl.to/v1/testnet/accounts/rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz
{
  "success": true,
  "took": 3,
  "account": {
    "_id": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
    "Account": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
    "Balance": 448780526,
    "Flags": 0,
    "LedgerEntryType": "AccountRoot",
    "OwnerCount": 48,
    "PreviousTxnID": "0C59414E86C010A30605F51DE7EFC5622097362BD9EF66C0BE57476DEB244843",
    "PreviousTxnLgrSeq": 21652626,
    "Sequence": 21126777,
    "fundingAmount": 500000000,
    "hash": "0C59414E86C010A30605F51DE7EFC5622097362BD9EF66C0BE57476DEB244843",
    "inception": "2026-09-28T16:18:31.000Z",
    "index": "B55EE6D0F07FF21CB593C630EED44C354964B3C5C22C5DC1EE9F8CEA2FF86CC9",
    "parent": "rLvm2sMyvqHbnBG21m5YXx3VSmZqfE2Do5",
    "parentTx": "6B7933232A22BB7E7040F978ACD82403CCECE5B19A64C46632F7B6062F61F8B1",
    "time": 1792398511000,
    "value": 438180526,
    "Domain": "7472616465722D312E6578616D706C65",
    "domain": "trader-1.example",
    "FirstNFTokenSequence": 21121736,
    "MintedNFTokens": 1
  },
  "lines": [
    {
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "currency": "4445455000000000000000000000000000000000",
      "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
      "balance": 1322.646894039352,
      "limit": 558933,
      "time": 1792398151000
    },
    {
      "md5": "8f3a1af16ec57669a41896d439bcccdc",
      "currency": "4155524F4F530000000000000000000000000000",
      "issuer": "rHz4FzyLTEB6gTrm8pKrn3i7aZNieMhkck",
      "balance": 0,
      "limit": 760448,
      "time": 1791639840000
    },
    {
      "md5": "946a5cbbf5de1ec755e5f72a3e1c5cc4",
      "currency": "TAR",
      "issuer": "rUcJbY2my49KpsYt4W3QCUQdDTR91SNBnx",
      "balance": 0,
      "limit": 542162,
      "time": 1790886732000
    },
    {
      "md5": "c2380e2cd5f46542b67c07014b12724c",
      "currency": "5155415349410000000000000000000000000000",
      "issuer": "rNMpr9fMjhNZTME8BKHvjghAbm5rkVnjWm",
      "balance": 0,
      "limit": 486908,
      "time": 1790989650000
    },
    {
      "md5": "d3de9a217e1c821c76b14a529690087d",
      "currency": "4455535400000000000000000000000000000000",
      "issuer": "rDbVfHNAh4E2JLGQYrBiDEofxwnWpWwGsW",
      "balance": 0,
      "limit": 829710,
      "time": 1791242550000
    }
  ],
  "offers": [
    {
      "_id": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz_21121650",
      "account": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "flags": 0,
      "gets": {
        "issuer": "XRPL",
        "currency": "XRP",
        "name": "XRP",
        "value": 36.434467
      },
      "hash": "6DDEA2848601EF5D48C9D47EA1250DD2BCACCB962FA6A175752D13B0E6C38288",
      "ledger": 21121906,
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "md5s": [
        "84e5efeb89c4eae8f68188982dc290d8",
        "0a02103a756c1866ffae9e49c29786a4"
      ],
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "pays": {
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "currency": "4445455000000000000000000000000000000000",
        "name": "DEEP",
        "value": 63.1201
      },
      "price": 0.5772244815835209,
      "seq": 21121650,
      "side": "bid",
      "time": 1790613162000
    }
  ],
  "trades": [
    {
      "_id": "84e5efeb89c4eae8f68188982dc290d8_21652514_6_6519BC43",
      "maker": "rpKmLCrxYN3CRgGJGHjPniUx1vU7cU2xMK",
      "taker": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "seq": 21136608,
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "paid": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 384.516519
      },
      "got": {
        "currency": "4445455000000000000000000000000000000000",
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "value": 14.22810332562
      },
      "ledger": 21652514,
      "hash": "48BEDCDD4D197D5000B5E99C974AE39AA16779EDD2E20FDA7092BE0D6519BC43",
      "time": 1792398151000,
      "isAMM": false,
      "sourceTag": 7006,
      "md5s": [
        "84e5efeb89c4eae8f68188982dc290d8",
        "0a02103a756c1866ffae9e49c29786a4"
      ],
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "price": 27.02514243817838,
      "xrp": 384.516519
    },
    {
      "_id": "0a02103a756c1866ffae9e49c29786a4_21652381_2_63F946CA",
      "maker": "ranpHxrPUyWVnjzniDLsWqF2aTgwbohbMV",
      "taker": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "seq": 21129339,
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "paid": {
        "currency": "4445455000000000000000000000000000000000",
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "value": 11.0551
      },
      "got": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 293.882592
      },
      "ledger": 21652381,
      "hash": "50B38F2A4F97CB560E9567D3F13005155C29C9FFCA22182F077A08E463F946CA",
      "time": 1792397720000,
      "isAMM": false,
      "sourceTag": 7006,
      "md5s": [
        "0a02103a756c1866ffae9e49c29786a4",
        "84e5efeb89c4eae8f68188982dc290d8"
      ],
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "price": 26.583440403071886,
      "xrp": 293.882592
    },
    {
      "_id": "0a02103a756c1866ffae9e49c29786a4_21652297_1_5DC0C480",
      "maker": "rDcfyP3BHdvkKaTMKyj8r6YmPg2L3Bg6Lw",
      "taker": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "seq": 21132373,
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "paid": {
        "currency": "4445455000000000000000000000000000000000",
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "value": 8.027200000000038
      },
      "got": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 215.359468
      },
      "ledger": 21652297,
      "hash": "9E0E79EBC51085BDBF6404F9FBFDBC98F36B6DB72B8E092CF44DDC975DC0C480",
      "time": 1792397440000,
      "isAMM": false,
      "sourceTag": 7006,
      "md5s": [
        "0a02103a756c1866ffae9e49c29786a4",
        "84e5efeb89c4eae8f68188982dc290d8"
      ],
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "price": 26.828715866055283,
      "xrp": 215.359468
    },
    {
      "_id": "0a02103a756c1866ffae9e49c29786a4_21652113_8_70530309",
      "maker": "r3NJYBYjZkzbKw5QVHXNZvx26899LgP8DH",
      "taker": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "seq": 21138836,
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "paid": {
        "currency": "4445455000000000000000000000000000000000",
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "value": 11.554600000000244
      },
      "got": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 313.655069
      },
      "ledger": 21652113,
      "hash": "A6A61682FC0011AD23805FE8F50A69CC944B826741A9AA3F14069F5970530309",
      "time": 1792396841000,
      "isAMM": false,
      "sourceTag": 7006,
      "md5s": [
        "0a02103a756c1866ffae9e49c29786a4",
        "84e5efeb89c4eae8f68188982dc290d8"
      ],
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "price": 27.145471846709828,
      "xrp": 313.655069
    },
    {
      "_id": "0a02103a756c1866ffae9e49c29786a4_21652050_4_19D7F72D",
      "maker": "r3rWtUcwAMUvW8L6NvdgE2J4fX3n5Ka6Qn",
      "taker": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "seq": null,
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "paid": {
        "currency": "4445455000000000000000000000000000000000",
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "value": 3.007821762306
      },
      "got": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 83.268191
      },
      "ledger": 21652050,
      "hash": "B5CA80FDA61185541F880080F3AA2AE50675A2F918BDC7F3E6A670F019D7F72D",
      "time": 1792396632000,
      "isAMM": true,
      "sourceTag": 7006,
      "md5s": [
        "0a02103a756c1866ffae9e49c29786a4",
        "84e5efeb89c4eae8f68188982dc290d8"
      ],
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "price": 27.683884744606996,
      "xrp": 83.268191
    }
  ]
}

Long arrays and strings are shortened in the example; Send request for the full answer.

Shapeas documented
{ account, lines[], offers[], trades[] }

What it does

A Testnet account as the collector last saw it, with its trust lines, resting offers and last 20 trades

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