/v1/amm/info
Live AMM pool info
Request
https://api.xrpl.to/v1/amm/info?asset=0dd550278b74cb6690fdae351e8e0df3&asset2=XRP| Query parameter | Value | Description |
|---|---|---|
| amm_account | AMM account address | |
| asset | XRP | token id | |
| asset2 | XRP | token id |
curl 'https://api.xrpl.to/v1/amm/info?asset=0dd550278b74cb6690fdae351e8e0df3&asset2=XRP'
Response
https://api.xrpl.to/v1/amm/info?asset=0dd550278b74cb6690fdae351e8e0df3&asset2=XRP{ "success": true, "took": 6, "price": 0.6941572992683005, "feeGovernance": { "feeBps": 205, "voteSlots": 8, "votesAtMax": 1, "weightAtMaxPct": 1.2, "maxFeePinned": false }, "amm": { "account": "rhWTXC2m2gGGA9WozUaoMm6kLAVPb1tcS3", "amount": { "currency": "524C555344000000000000000000000000000000", "issuer": "rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De", "value": "2363380.430905624" }, "amount2": "1640557777061", "asset_frozen": false, "auction_slot": { "account": "r4uKh2rHuarMZdAgSBYqqicX7MxPBegttw", "auth_accounts": [ { "account": "rNy92d5CrBQ1eC5HUokq1LDfcuLPvTfh4X" }, { "account": "rJrFQCQKgUJwG6bnDLyX33ea4DwWcjk6P3" }, { "account": "rGDuzDRHd7MEPHLykPt6Z2CkQuvBcDrdQZ" }, { "account": "rBJpahxkPrMenKYzKBKEFNGsd7KpBTPL5P" } ], "discounted_fee": 20, "expiration": "2026-03-02T17:05:00+0000", "price": { "currency": "03B245BE580EC4F4386A751C084489EC4B514A2F", "issuer": "rhWTXC2m2gGGA9WozUaoMm6kLAVPb1tcS3", "value": "131482.3939333034" }, "time_interval": 20 }, "lp_token": { "currency": "03B245BE580EC4F4386A751C084489EC4B514A2F", "issuer": "rhWTXC2m2gGGA9WozUaoMm6kLAVPb1tcS3", "value": "1676305205.007748" }, "trading_fee": 205, "vote_slots": [ { "account": "rJ4XeEzorvsQp6un4h9CjtANEsB3Qcc8iA", "trading_fee": 300, "vote_weight": 3150 }, { "account": "rDu4vMpZU5WcwVME6oorzSov4DMLWXUEDf", "trading_fee": 0, "vote_weight": 2093 }, { "account": "rHq1hgWYgaiG9ycudXHoMbqGdJi75UTfzt", "trading_fee": 200, "vote_weight": 3776 }, { "account": "rETg9RYxRAxgNjm33Q4tAWceKKVoMcpM7", "trading_fee": 200, "vote_weight": 3776 }, { "account": "rnEQs55pWyvEfWXkjMCD2TNzCQ1uS7SBGS", "trading_fee": 200, "vote_weight": 3776 } ] } }
Long arrays and strings are shortened in the example; Send request for the full answer.