{"uid":"cap_aKsm7gbXJQHkfvdOwcDoA","slug":"xrpl-amm-snapshot-4cde29fd","name":"XRPL AMM Snapshot","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/xrpl/amm-snapshot?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","required":["asset","asset2"],"properties":{"asset":{"type":"string"},"asset2":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["exists"],"properties":{"exists":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"exists":true,"fee_percent":0.3},"exampleNote":"Illustrative response subset; not a live observation."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0135","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0135/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0135","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0135","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_v3XEvgjVgd9KhSfmuQv_p","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0135","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a snapshot of an Automated Market Maker (AMM) pool on the XRP Ledger for a given trading pair, including whether the pool exists and its fee percentage.","exampleAgentPrompt":"Is there an AMM pool on the XRP Ledger for XRP and USDC, and if so what's the trading fee?","exampleUseCases":[{"title":"Pre-trade AMM pool check","prompt":"Before I swap, can you check if there's an active AMM pool on the XRP Ledger for XRP and USD, and tell me what the fee percentage is?"},{"title":"DeFi research on XRPL pairs","prompt":"I'm researching XRPL decentralized exchange liquidity — can you pull an AMM snapshot for the SOLO and XRP pair to see if a pool exists and what fees traders pay?"},{"title":"Automated arbitrage bot validation","prompt":"Check whether an AMM exists on XRPL for the EUR and XRP trading pair so my bot can decide whether to route through the AMM or the order book."}],"resultDescription":"A JSON object indicating whether the AMM pool exists for the requested asset pair (exists: boolean) and, if it does, additional pool parameters such as the fee percentage (fee_percent: number, e.g. 0.3). Returns a minimal object with exists: false if no pool is found for that pair.","failureModes":["Missing required query parameters (asset or asset2) returns an error","Invalid or unrecognized asset codes may return exists: false or an error","XRPL node unavailability may cause lookup failures","Rate limiting or payment failures (x402) may block access"],"whenToPreferThis":"Use this endpoint when you need a lightweight, on-demand snapshot of a specific XRPL AMM pool's existence and fee configuration for a given asset pair. Prefer it over full blockchain RPC calls when you only need basic pool metadata rather than full order book depth or historical trade data. It is particularly useful for agents performing pre-trade routing decisions or DeFi research on the XRP Ledger.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:43:42.988Z","isFirstParty":false,"canonicalSlug":"xrpl-amm-snapshot-4cde29fd"}