---
name: xrpl-liquidity
description: Read funded XRP Ledger order books, estimate CLOB versus AMM slippage and read AMM pool reserves and fees.
---

# XRPL liquidity

Use this skill to inspect liquidity before trading. Read-only; the free routes need no authentication.

| Need | MCP tool | REST |
|---|---|---|
| Funded order book for a pair | `xrpl_orderbook` | `GET /v1/xrpl/orderbook` |
| Cost of a market-style buy, CLOB vs AMM | `xrpl_slippage` | `GET /v1/xrpl/slippage` |
| AMM pool reserves and fee | `xrpl_amm` | `GET /v1/xrpl/amm/{a}/{b}` |

- Currencies are `XRP` or `CODE.issuer`; amounts are decimal strings.
- `xrpl_slippage` compares CLOB and AMM liquidity: the `venues` object reports each venue and the cheaper one for the amount.
- For a real payment between two accounts (cross-currency or multi-hop), use `xrpl_paths` from the `xrpl-payment-prep` skill: https://api.criptonlabs.com/skills/xrpl-payment-prep/SKILL.md.

## Payments

The pro routes currently serve free data and no payment is required; paid access via x402 is announced but not active. Details: https://api.criptonlabs.com/docs/guides/payments.md

## More

General skill: https://api.criptonlabs.com/skills/xrpl/SKILL.md. Full documentation index: https://api.criptonlabs.com/docs. Machine-readable: `/openapi.json` and `/llms.txt`.
