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/rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj
Path parameterValueDescription
addressAn XRPL account, its r-address
curl 'https://api.xrpl.to/v1/testnet/accounts/rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj'

Response

200Example response19 ms · just now · 7.3 KB · 242 lines
https://api.xrpl.to/v1/testnet/accounts/rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj
{
  "success": true,
  "took": 1,
  "account": {
    "_id": "rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj",
    "Account": "rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj",
    "Balance": 355203172,
    "Flags": 0,
    "LedgerEntryType": "AccountRoot",
    "OwnerCount": 17,
    "PreviousTxnID": "E93324415FA207282999488C1FC155C71EAEE02A6276B2090867D3C533F7B7AF",
    "PreviousTxnLgrSeq": 20930443,
    "Sequence": 20862446,
    "TicketCount": 1,
    "hash": "E93324415FA207282999488C1FC155C71EAEE02A6276B2090867D3C533F7B7AF",
    "index": "D943ED6578AB0D2AD6DBD8C5741EC2EDC3FEAD6A08CE8AC641C23DBB3768DE21",
    "time": 1789975542000,
    "value": 350803172,
    "Domain": "7472616465722D312E6578616D706C65",
    "domain": "trader-1.example"
  },
  "lines": [
    {
      "md5": "30424c36baf4b686f91a932499344475",
      "currency": "COR",
      "issuer": "rMUz9w78n3mCYmhRJYJ8PeLwwFAaomRTia",
      "balance": 4.2340597934728,
      "limit": 1000000,
      "time": 1789949541000
    },
    {
      "md5": "67e55e6605b64b8b9153444fda8fa475",
      "currency": "036F942CDC54008C0958321948C1554F1F4FD299",
      "issuer": "rsbGzWhoSpcoE6sBWq18QzfKyZh7aA692C",
      "balance": 460772.1058594754,
      "limit": 0,
      "time": 1789959921000
    },
    {
      "md5": "c2ec1eba5478475f7c09ed4637408876",
      "currency": "564F4C5400000000000000000000000000000000",
      "issuer": "rUfzQ6XdytZ2GBbZoQTUBjnda3fVDBwai2",
      "balance": 0,
      "limit": 1000000,
      "time": 1789968132000
    },
    {
      "md5": "b36564f772649c0b5647126f4f04e240",
      "currency": "46525A4E00000000000000000000000000000000",
      "issuer": "rPjSKFnZvaUnmZEnfwwPdMbES8353jBKBH",
      "balance": 0,
      "limit": 1000000,
      "time": 1789969251000
    },
    {
      "md5": "2b4ea4a3a3ccc7227a60119e3cf3fc3b",
      "currency": "QUA",
      "issuer": "rU6ULZt2dTYQKFQ1dbmqAGSyBiJUmDay7q",
      "balance": 45.57234293764662,
      "limit": 0,
      "time": 1789973970000
    }
  ],
  "offers": [
    {
      "_id": "rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj_20862393",
      "account": "rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj",
      "flags": 0,
      "gets": {
        "issuer": "XRPL",
        "currency": "XRP",
        "name": "XRP",
        "value": 59.558458
      },
      "hash": "C8EED9E804820C163D5E0FF3E3001B36D91DC8E5FC65EB9B186EBA9DE455AB83",
      "ledger": 20928258,
      "md5": "c2ec1eba5478475f7c09ed4637408876",
      "md5s": [
        "84e5efeb89c4eae8f68188982dc290d8",
        "c2ec1eba5478475f7c09ed4637408876"
      ],
      "pair": "49dd2910a153356b7a4a1c3fa64d96e2",
      "pays": {
        "issuer": "rUfzQ6XdytZ2GBbZoQTUBjnda3fVDBwai2",
        "currency": "564F4C5400000000000000000000000000000000",
        "name": "VOLT",
        "value": 177.8516
      },
      "price": 0.33487726846427024,
      "seq": 20862393,
      "side": "bid",
      "time": 1789968141000
    }
  ],
  "trades": [
    {
      "_id": "12989284778980e987410b6e10cf7f9c_20930333_2_061560D2",
      "maker": "rNuFETH1NSTxZQYmDvPWdMF8dD3FbTzbmP",
      "taker": "rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj",
      "seq": 20870332,
      "pair": "794dea7572afd8905c5f17544675ba71",
      "paid": {
        "currency": "524C555344000000000000000000000000000000",
        "issuer": "rNuFETH1NSTxZQYmDvPWdMF8dD3FbTzbmP",
        "value": 7.816899999999119
      },
      "got": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 5.41697
      },
      "ledger": 20930333,
      "hash": "6934DB534BD2768BEB3D4506EDE7DE724D26C308426C368C516D5B86061560D2",
      "time": 1789975171000,
      "isAMM": false,
      "sourceTag": 7006,
      "md5s": [
        "12989284778980e987410b6e10cf7f9c",
        "84e5efeb89c4eae8f68188982dc290d8"
      ],
      "md5": "12989284778980e987410b6e10cf7f9c",
      "price": 0.6929818726094246,
      "xrp": 5.41697
    },
    {
      "_id": "84e5efeb89c4eae8f68188982dc290d8_20930300_4_DFDAB3EB",
      "maker": "rEc17YM54zCGkzHfnNGtrp1dR31ACUYhep",
      "taker": "rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj",
      "seq": null,
      "pair": "794dea7572afd8905c5f17544675ba71",
      "paid": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 6.801282
      },
      "got": {
        "currency": "524C555344000000000000000000000000000000",
        "issuer": "rNuFETH1NSTxZQYmDvPWdMF8dD3FbTzbmP",
        "value": 9.771199999999226
      },
      "ledger": 20930300,
      "hash": "DF598A33EB15409CDD38A8ADF13C3F646DE778B7C6095DEDDE15AA63DFDAB3EB",
      "time": 1789975061000,
      "isAMM": true,
      "sourceTag": 7006,
      "md5s": [
        "84e5efeb89c4eae8f68188982dc290d8",
        "12989284778980e987410b6e10cf7f9c"
      ],
      "md5": "12989284778980e987410b6e10cf7f9c",
      "price": 0.6960539135418924,
      "xrp": 6.801282
    },
    {
      "_id": "12989284778980e987410b6e10cf7f9c_20930268_1_429BA663",
      "maker": "rEc17YM54zCGkzHfnNGtrp1dR31ACUYhep",
      "taker": "rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj",
      "seq": null,
      "pair": "794dea7572afd8905c5f17544675ba71",
      "paid": {
        "currency": "524C555344000000000000000000000000000000",
        "issuer": "rNuFETH1NSTxZQYmDvPWdMF8dD3FbTzbmP",
        "value": 48.855899999998655
      },
      "got": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 34.011041
      },
      "ledger": 20930268,
      "hash": "CC6437AC13ACBBE37D8F812633C80E40E5F7ABFF483DC1A681CD4795429BA663",
      "time": 1789974951000,
      "isAMM": true,
      "sourceTag": 7006,
      "md5s": [
        "12989284778980e987410b6e10cf7f9c",
        "84e5efeb89c4eae8f68188982dc290d8"
      ],
      "md5": "12989284778980e987410b6e10cf7f9c",
      "price": 0.6961501272108576,
      "xrp": 34.011041
    },
    {
      "_id": "2b4ea4a3a3ccc7227a60119e3cf3fc3b_20929977_4_008BDBA2",
      "maker": "rJQK3Kj7svLkyYnNgYyH5psCqJqbbvy8S2",
      "taker": "rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj",
      "seq": null,
      "pair": "b2b12aa6fe6c64395058a693f8d6d65e",
      "paid": {
        "currency": "QUA",
        "issuer": "rU6ULZt2dTYQKFQ1dbmqAGSyBiJUmDay7q",
        "value": 19.118460042883953
      },
      "got": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 2.493717
      },
      "ledger": 20929977,
      "hash": "DB212D66B047DA0C0074083CC83E9D3A6FE53BEE7C738B91FED03FB2008BDBA2",
      "time": 1789973970000,
      "isAMM": true,
      "sourceTag": 7006,
      "md5s": [
        "2b4ea4a3a3ccc7227a60119e3cf3fc3b",
        "84e5efeb89c4eae8f68188982dc290d8"
      ],
      "md5": "2b4ea4a3a3ccc7227a60119e3cf3fc3b",
      "price": 0.1304350347468588,
      "xrp": 2.493717
    },
    {
      "_id": "84e5efeb89c4eae8f68188982dc290d8_20929808_7_52E774B1",
      "maker": "rJQK3Kj7svLkyYnNgYyH5psCqJqbbvy8S2",
      "taker": "rDKvxFRPLAiu1djgz5dQWCWPmax1pBp8Hj",
      "seq": null,
      "pair": "b2b12aa6fe6c64395058a693f8d6d65e",
      "paid": {
        "currency": "XRP",
        "issuer": "XRPL",
        "value": 0.839586
      },
      "got": {
        "currency": "QUA",
        "issuer": "rU6ULZt2dTYQKFQ1dbmqAGSyBiJUmDay7q",
        "value": 6.619399999999985
      },
      "ledger": 20929808,
      "hash": "B2F7578B40321B0A9FD67931CC886339DFC418BE70C71C72AA89549E52E774B1",
      "time": 1789973390000,
      "isAMM": true,
      "sourceTag": 7006,
      "md5s": [
        "84e5efeb89c4eae8f68188982dc290d8",
        "2b4ea4a3a3ccc7227a60119e3cf3fc3b"
      ],
      "md5": "2b4ea4a3a3ccc7227a60119e3cf3fc3b",
      "price": 0.1268371755748258,
      "xrp": 0.839586
    }
  ]
}

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