# Vextorium XRPL DEX Order Book

> Vextorium XRPL DEX Order Book is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-18).

Returns the live XRP Ledger DEX order book for a trading pair, including best bid/ask, spread percentage, depth on each side, and top orders.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/xrpl-order-book?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-xrpl-dex-order-book-a34b7847
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GPFY4Zp9BKNvEWyCZhnIy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vextorium-xrpl-dex-order-book-a34b7847 -d '<json body>'
```

Example prompt: Pull the current XRPL DEX order book for XRP/RLUSD — show me the best bid and ask, the spread, and the top 5 orders on each side.

## When to prefer this

Use this endpoint when you need real-time DEX order book data on the XRP Ledger specifically — best bid/ask, spread, and depth for a currency pair. Prefer this over generic crypto price APIs when you need XRPL-native DEX order flow rather than CEX prices. Note that AMM pool liquidity on XRPL is separate and covered by a sibling endpoint.

## Known failure modes

- Invalid or unrecognized base/quote currency symbol returns an error or empty order book
- No liquidity on one or both sides returns empty bids or asks arrays
- Network or node connectivity issues to xrplcluster.com may cause timeouts
- Requesting an excessively high limit value may degrade performance or return partial results

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

Returns a JSON object with the trading pair label, best bid price, best ask price, spread percentage, total bid depth and ask depth in base currency, and arrays of top bid and ask orders each containing price and base amount. Also includes a note clarifying that AMM liquidity is separate.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base": {
   "type": "string"
  },
  "limit": {
   "type": "integer"
  },
  "quote": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asks": [
   {
    "price": 1.36097582,
    "amount_base": 6.082436
   },
   {
    "price": 1.36126667,
    "amount_base": 0.09
   }
  ],
  "bids": [
   {
    "price": 1.35919,
    "amount_base": 7351.39604
   },
   {
    "price": 1.3587,
    "amount_base": 554.09
   }
  ],
  "note": "DEX order book only; AMM liquidity is separate (see xrpl-amm-pool).",
  "pair": "XRP/RLUSD",
  "source": "XRP Ledger (public node xrplcluster.com)",
  "best_ask": 1.36097582,
  "bid_best": 1.35919,
  "price_unit": "RLUSD per XRP",
  "spread_pct": 0.1313,
  "ask_depth_base": 12451.643581,
  "depth_base_bid": 10791.630405
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-xrpl-dex-order-book-a34b7847/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
