# Criptonlabs Agent APIs: documentation

> Markdown docs for agents covering the XRP Ledger and Solana. Each endpoint page has purpose, parameters, examples, errors, caching and the MCP tool equivalent. XRPL responses carry `ledger_index` in `meta`; Solana responses carry `slot` and `commitment`.

## Endpoints

- [GET /v1/xrpl/fee](https://api.criptonlabs.com/docs/xrpl-fee.md): Current XRPL fee tiers in drops with a congestion score.
- [GET /v1/xrpl/ledger/latest](https://api.criptonlabs.com/docs/xrpl-ledger-latest.md): Latest validated ledger index, hash and close time.
- [GET /v1/xrpl/health](https://api.criptonlabs.com/docs/xrpl-health.md): Overall and per-node health of the upstream XRPL nodes (alias of network health).
- [GET /v1/xrpl/network/health](https://api.criptonlabs.com/docs/xrpl-network-health.md): Overall and per-node health of the upstream XRPL nodes.
- [GET /v1/xrpl/health/history](https://api.criptonlabs.com/docs/xrpl-health-history.md): Bucketed upstream probe history with uptime and latency per node.
- [GET /v1/xrpl/orderbook](https://api.criptonlabs.com/docs/xrpl-orderbook.md): CLOB order book for a currency pair with unfunded offers removed.
- [GET /v1/xrpl/slippage](https://api.criptonlabs.com/docs/xrpl-slippage.md): Slippage and average price for buying an amount of base currency.
- [GET /v1/xrpl/amm/{a}/{b}](https://api.criptonlabs.com/docs/xrpl-amm.md): AMM pool reserves and trading fee for an asset pair.
- [GET /v1/xrpl/account/{address}/summary](https://api.criptonlabs.com/docs/xrpl-account-summary.md): XRP balance, sequence, owner count, transfer rate and trust lines (capped) for an account.
- [GET /v1/xrpl/account/{address}/lines](https://api.criptonlabs.com/docs/xrpl-account-lines.md): One page of an account's trust lines, with an opaque cursor for the next page.
- [GET /v1/xrpl/account/{address}/transactions](https://api.criptonlabs.com/docs/xrpl-account-transactions.md): One page of an account's most recent validated transactions, newest first.
- [GET /v1/xrpl/token/{asset}](https://api.criptonlabs.com/docs/xrpl-token.md): Issuer data for an issued asset: flags, domain, transfer fee and total issued.
- [GET /v1/xrpl/payment-readiness](https://api.criptonlabs.com/docs/xrpl-payment-readiness.md): Pre-payment check: can this payment from source to destination succeed now?
- [GET /v1/xrpl/paths](https://api.criptonlabs.com/docs/xrpl-paths.md): Multi-hop payment paths and their source cost.
- [GET /v1/solana/transfer-readiness](https://api.criptonlabs.com/docs/solana-transfer-readiness.md): Will this Solana transfer succeed? A verdict for SOL or an SPL or Token-2022 token.
- [GET /v1/solana/token/{mint}](https://api.criptonlabs.com/docs/solana-token.md): Is this Solana token safe to hold or receive? A SAFE, WARN or DANGER verdict.
- [GET /v1/solana/slot/latest](https://api.criptonlabs.com/docs/solana-slot-latest.md): Latest finalized Solana slot and its block time.
- [GET /v1/solana/health](https://api.criptonlabs.com/docs/solana-health.md): Whether Solana data is currently being served: latest probe status and finalized slot.
- [GET /v1/solana/health/history](https://api.criptonlabs.com/docs/solana-health-history.md): Bucketed history of Solana probe results over 1 hour, 24 hours or 7 days.
- [GET /v1/pro/*](https://api.criptonlabs.com/docs/pro.md): Pro mirror of the data routes with its own rate tier; the page states whether calls are currently paid.

## Guides

- [Freshness and the meta object](https://api.criptonlabs.com/docs/guides/freshness.md)
- [Currencies and amounts](https://api.criptonlabs.com/docs/guides/currencies-and-amounts.md)
- [Rate limits](https://api.criptonlabs.com/docs/guides/rate-limits.md)
- [Errors](https://api.criptonlabs.com/docs/guides/errors.md)
- [Choosing a tool](https://api.criptonlabs.com/docs/guides/choosing-a-tool.md)
- [MCP quickstart](https://api.criptonlabs.com/docs/guides/mcp-quickstart.md)
- [Solana verdicts](https://api.criptonlabs.com/docs/guides/solana.md)
- [A2A endpoint](https://api.criptonlabs.com/docs/guides/a2a.md)
- [Paying for pro access (x402)](https://api.criptonlabs.com/docs/guides/payments.md)

## Errors

- [invalid-parameters](https://api.criptonlabs.com/errors/invalid-parameters.md): 400 Bad Request
- [bad-request](https://api.criptonlabs.com/errors/bad-request.md): 400 Bad Request
- [not-found](https://api.criptonlabs.com/errors/not-found.md): 404 Not Found
- [solana-mint-not-found](https://api.criptonlabs.com/errors/solana-mint-not-found.md): 404 Not Found
- [unknown-route](https://api.criptonlabs.com/errors/unknown-route.md): 404 Not Found
- [method-not-allowed](https://api.criptonlabs.com/errors/method-not-allowed.md): 405 Method Not Allowed
- [rate-limited](https://api.criptonlabs.com/errors/rate-limited.md): 429 Too Many Requests
- [internal-error](https://api.criptonlabs.com/errors/internal-error.md): 500 Internal Server Error
- [upstream-unavailable](https://api.criptonlabs.com/errors/upstream-unavailable.md): 503 Service Unavailable
- [payment-required](https://api.criptonlabs.com/errors/payment-required.md): 402 Payment Required
- [payments-unavailable](https://api.criptonlabs.com/errors/payments-unavailable.md): 503 Service Unavailable
- [payment-settlement-failed](https://api.criptonlabs.com/errors/payment-settlement-failed.md): 402 Payment Required
- [payment-already-used](https://api.criptonlabs.com/errors/payment-already-used.md): 402 Payment Required
- [payer-blocked](https://api.criptonlabs.com/errors/payer-blocked.md): 403 Forbidden
- [payer-limit-reached](https://api.criptonlabs.com/errors/payer-limit-reached.md): 429 Too Many Requests
