{"slug":"saylorinnovations-com-api-explorer-xrp-orderbook-4bf33f","title":"XRP Ledger DEX order book for XRP against any issued token","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/explorer/xrp/orderbook","category":"market","description":"XRP Ledger DEX order book for XRP against any issued token: best bid and ask, spread, mid price and the top offers on each side with sizes.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":271,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"currency":"USD","issuer":"rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"currency":{"description":"the issued token code, for example USD or a 40-character hex code","type":"string"},"issuer":{"description":"the issuer r-address of that token","type":"string"}},"required":["currency","issuer"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"asks":{"description":"offers selling XRP, best first","items":{"properties":{"account":{"description":"offer owner","type":["string","null"]},"price_token_per_xrp":{"description":"token per XRP","type":["number","null"]},"token_amount":{"description":"token size","type":["number","null"]},"xrp_amount":{"description":"XRP size","type":["number","null"]}},"type":"object"},"type":["array","null"]},"best_ask_token_per_xrp":{"description":"lowest price asked for XRP","type":["number","null"]},"best_bid_token_per_xrp":{"description":"highest price offered for XRP","type":["number","null"]},"bids":{"description":"offers buying XRP, best first","items":{"properties":{"account":{"description":"offer owner","type":["string","null"]},"price_token_per_xrp":{"description":"token per XRP","type":["number","null"]},"token_amount":{"description":"token size","type":["number","null"]},"xrp_amount":{"description":"XRP size","type":["number","null"]}},"type":"object"},"type":["array","null"]},"chain":{"description":"the chain this describes","type":"string"},"currency":{"description":"issued token code","type":"string"},"issuer":{"description":"issuer address","type":"string"},"ledger_index":{"description":"ledger the book was read at","type":"number"},"mid_token_per_xrp":{"description":"midpoint of best bid and ask","type":["number","null"]},"note":{"description":"plain-language reading of the result, including units","type":"string"},"pair":{"description":"the trading pair","type":"string"},"source":{"description":"where the data was read from","type":"string"},"spread_pct":{"description":"spread as a percent of the mid price","type":["number","null"]}},"required":["chain","pair","currency","issuer","bids","asks","note","source"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":271,"error":null}],"description_full":"XRP Ledger DEX order book for XRP against any issued token: best bid and ask, spread, mid price and the top offers on each side with sizes.","last_updated":"2026-10-21T04:12:37.007Z","schemes":["exact"]}