{"uid":"cap_BwAiIq-m_u6JNtHR55ScV","slug":"xrpl-data-desk-route-pricer-5205e384","name":"XRPL Data Desk – Route Pricer","description":"Live XRP Ledger market data for AI agents, paid per call in XRP. Settled on the XRP Ledger itself; every endpoint independently audited. Information, not advice.","url":"https://data.azeronyx.com/v1/route?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["side","amount"],"properties":{"side":{"type":"string","description":"buy or sell the base"},"unit":{"type":"string","description":"base or quote (default base)"},"amount":{"type":"string","description":"how much, in the unit given"},"market":{"type":"string","description":"an XRP Ledger market as BASE/QUOTE (see /v1/markets)"},"max_slippage_bps":{"type":"string","description":"the worst price allowed, in bps past the mid (default 50, at most 500)"}}},"responseSchema":{"type":"object","description":"See https://data.azeronyx.com/v1/sample?path=/v1/route for a recent example","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5rhzjIiHVUndczPZqF7in","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"XRP","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates optimal routing and pricing for a buy or sell trade on an XRP Ledger DEX market, given a side, amount, and optional slippage tolerance.","exampleAgentPrompt":"I want to buy 500 XRP worth of SOLO on the XRP Ledger DEX — can you get me a route quote with a max slippage of 100 basis points?","exampleUseCases":[{"title":"Pre-trade price check for token swap","prompt":"Before I execute a trade, can you get me a route quote to sell 1000 SOLO and receive XRP on the XRP Ledger DEX, with no more than 50 basis points of slippage?"},{"title":"Quote for buying fixed quote amount","prompt":"I want to spend exactly 200 XRP to buy as much RLUSD as possible on the XRPL DEX — get me the routing details and expected fill price, unit set to quote."},{"title":"Slippage-sensitive arbitrage check","prompt":"Get me a routing quote to buy the base token on the SOLO/XRP market for 100 units of base, and flag if the slippage would exceed 200 basis points."}],"resultDescription":"Returns a route object containing the optimal execution path across XRPL order books, the quoted price, expected amount received or spent, estimated slippage, and any intermediate routing steps needed to fill the specified order size.","failureModes":["Unknown or invalid market pair returns a 400 error or empty route","Amount too large to fill within slippage tolerance results in a rejection or partial-fill warning","Invalid 'side' value (not 'buy' or 'sell') causes a validation error","Max slippage above 500 bps is rejected by the API","Payment failure (insufficient XRP for per-call fee) returns a 402 response","Market with no liquidity returns no viable route"],"whenToPreferThis":"Use this endpoint when you need a real-time route and price quote for an XRP Ledger DEX trade before execution, especially when slippage control matters. It is the right choice for XRPL-native token pairs rather than centralized exchange data or off-chain price feeds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:49.056Z","isFirstParty":false,"canonicalSlug":"xrpl-data-desk-route-pricer-5205e384"}