GET /testnet/amm/{account}
GET

/v1/testnet/amm/{account}

A Testnet AMM pool by its account

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/testnet/amm/rPZ4iweTw9ficJh4eRKFPSUPnZE7RZnykT
Path parameterValueDescription
accountAn XRPL account, its r-address
curl 'https://api.xrpl.to/v1/testnet/amm/rPZ4iweTw9ficJh4eRKFPSUPnZE7RZnykT'

Response

200Example response2 ms · just now · 0.6 KB · 23 lines
https://api.xrpl.to/v1/testnet/amm/rPZ4iweTw9ficJh4eRKFPSUPnZE7RZnykT
{
  "success": true,
  "took": 1,
  "pool": {
    "_id": "rPZ4iweTw9ficJh4eRKFPSUPnZE7RZnykT",
    "createTx": "B0FB63D87C2B04DC3BE32B6C9372743560BDE7EB93FD851F11413BFD9FB84ED1",
    "created": 1790613031000,
    "creator": "rnfvigykNtpQfU9yCRcLvcQYq3gVqZpqE5",
    "deleted": false,
    "fee": 10,
    "firstSeen": 1790613031000,
    "ledger": 21467348,
    "lp": "24374274.16752127",
    "spot": 0.7085424270004512,
    "time": 1791767060000,
    "token": {
      "currency": "524C555344000000000000000000000000000000",
      "issuer": "rLgZXamWAfiuShiArGu1ZphyjymKX1QKs1",
      "value": 29029.8912544681
    },
    "xrp": 20568.909605
  }
}
Shapeas documented
{ pool }

What it does

A Testnet AMM pool by its account

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