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 response6 ms · just now · 7.7 KB · 247 lines
https://api.xrpl.to/v1/testnet/accounts/rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz
{
  "success": true,
  "took": 4,
  "account": {
    "_id": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
    "Account": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
    "Balance": 7400000,
    "Flags": 0,
    "LedgerEntryType": "AccountRoot",
    "OwnerCount": 32,
    "PreviousTxnID": "4049F2C50FE5B6DCBF1F06A0DAAFE74A221F6479D170DA86FC2ACE1AACE9255B",
    "PreviousTxnLgrSeq": 21466568,
    "Sequence": 21124944,
    "fundingAmount": 500000000,
    "hash": "4049F2C50FE5B6DCBF1F06A0DAAFE74A221F6479D170DA86FC2ACE1AACE9255B",
    "inception": "2026-09-28T16:18:31.000Z",
    "index": "B55EE6D0F07FF21CB593C630EED44C354964B3C5C22C5DC1EE9F8CEA2FF86CC9",
    "parent": "rLvm2sMyvqHbnBG21m5YXx3VSmZqfE2Do5",
    "parentTx": "6B7933232A22BB7E7040F978ACD82403CCECE5B19A64C46632F7B6062F61F8B1",
    "time": 1791764430000,
    "value": 0,
    "Domain": "7472616465722D312E6578616D706C65",
    "domain": "trader-1.example",
    "FirstNFTokenSequence": 21121736,
    "MintedNFTokens": 1
  },
  "lines": [
    {
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "currency": "4445455000000000000000000000000000000000",
      "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
      "balance": 1397.70457154066,
      "limit": 558933,
      "time": 1791764430000
    },
    {
      "md5": "039d88537fde5844c91b7c6480730aec",
      "currency": "4155544800000000000000000000000000000000",
      "issuer": "rJzt9K4obfhXRk9jY74oVk5uT65xaB2JiL",
      "balance": 0,
      "limit": 318873,
      "time": 1790616992000
    },
    {
      "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
    }
  ],
  "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": "0a02103a756c1866ffae9e49c29786a4_21466568_2_ACE9255B",
      "maker": "r3rWtUcwAMUvW8L6NvdgE2J4fX3n5Ka6Qn",
      "taker": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "seq": null,
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "paid": {
        "currency": "4445455000000000000000000000000000000000",
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "value": 1.0230333710325
      },
      "got": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 78.141226
      },
      "ledger": 21466568,
      "hash": "4049F2C50FE5B6DCBF1F06A0DAAFE74A221F6479D170DA86FC2ACE1AACE9255B",
      "time": 1791764430000,
      "isAMM": true,
      "sourceTag": 7006,
      "md5s": [
        "0a02103a756c1866ffae9e49c29786a4",
        "84e5efeb89c4eae8f68188982dc290d8"
      ],
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "price": 76.38189350669538,
      "xrp": 78.141226
    },
    {
      "_id": "84e5efeb89c4eae8f68188982dc290d8_21466533_3_6F2EC091",
      "maker": "r3rWtUcwAMUvW8L6NvdgE2J4fX3n5Ka6Qn",
      "taker": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "seq": null,
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "paid": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 75.792889
      },
      "got": {
        "currency": "4445455000000000000000000000000000000000",
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "value": 1
      },
      "ledger": 21466533,
      "hash": "CB1700EC11FC7A2E8826685E6E6B8CED0F993E2DE200F3FAEDAD27DC6F2EC091",
      "time": 1791764310000,
      "isAMM": true,
      "sourceTag": 7006,
      "md5s": [
        "84e5efeb89c4eae8f68188982dc290d8",
        "0a02103a756c1866ffae9e49c29786a4"
      ],
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "price": 75.792889,
      "xrp": 75.792889
    },
    {
      "_id": "84e5efeb89c4eae8f68188982dc290d8_21465869_4_504C5289",
      "maker": "rhybZfuaSDTN8zvSpusdnzfetS3rqq49mY",
      "taker": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "seq": 21125335,
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "paid": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 44.232918
      },
      "got": {
        "currency": "4445455000000000000000000000000000000000",
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "value": 0.5746741330013206
      },
      "ledger": 21465869,
      "hash": "E7F6361FFBF92A8A62FF2396B0638DB70CA6A20926EBAFF04F19E4F8504C5289",
      "time": 1791762082000,
      "isAMM": false,
      "sourceTag": 7006,
      "md5s": [
        "84e5efeb89c4eae8f68188982dc290d8",
        "0a02103a756c1866ffae9e49c29786a4"
      ],
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "price": 76.97043499937442,
      "xrp": 44.232918
    },
    {
      "_id": "84e5efeb89c4eae8f68188982dc290d8_21465837_1_33FCF5A7",
      "maker": "rK3nmcjbr8oicyS7iobUm28Tfh6rjWk9Kq",
      "taker": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "seq": 21126388,
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "paid": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 145.920838
      },
      "got": {
        "currency": "4445455000000000000000000000000000000000",
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "value": 1.8947146349432
      },
      "ledger": 21465837,
      "hash": "AD93FCC44B21235744BD3BA705A893B2C341C9FABB64D0839624475F33FCF5A7",
      "time": 1791761980000,
      "isAMM": false,
      "sourceTag": 7006,
      "md5s": [
        "84e5efeb89c4eae8f68188982dc290d8",
        "0a02103a756c1866ffae9e49c29786a4"
      ],
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "price": 77.01467825753846,
      "xrp": 145.920838
    },
    {
      "_id": "84e5efeb89c4eae8f68188982dc290d8_21465503_5_ED6CCCFB",
      "maker": "rEJWv3YPw9oNDxNRNucCL8Vj65Kn1qs5W8",
      "taker": "rh7BTtaMxPfbbP8fmgdH5zrDspoNvgZhcz",
      "seq": 21130663,
      "pair": "91fe976386d3e2628bd01e41f7293547",
      "paid": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 172.873847
      },
      "got": {
        "currency": "4445455000000000000000000000000000000000",
        "issuer": "rEZDNzhzWpVoAS8Tb8ftzp2jipj5s2douH",
        "value": 2.2524449728828
      },
      "ledger": 21465503,
      "hash": "B10F63A83D77AAB3919E5420AD3BBDC7F4763BC00AA47945C5D0B26BED6CCCFB",
      "time": 1791760852000,
      "isAMM": false,
      "sourceTag": 7006,
      "md5s": [
        "84e5efeb89c4eae8f68188982dc290d8",
        "0a02103a756c1866ffae9e49c29786a4"
      ],
      "md5": "0a02103a756c1866ffae9e49c29786a4",
      "price": 76.74942077663579,
      "xrp": 172.873847
    }
  ]
}

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