# santyvv-data Crypto Order Book API (x402)

> santyvv-data Crypto Order Book API (x402) is a paid API for AI agents from x402.santyvv.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-11).

Returns the current order book (bids and asks) for a cryptocurrency trading pair, paid per call in USDC via x402 with no API key required.

## Facts

- Endpoint: GET https://x402.santyvv.com/api/crypto/orderbook?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/santyvv-data-crypto-order-book-api-x402-a6a7bae3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eTlCr_tQvw6T_XaAJEi0v

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 santyvv-data-crypto-order-book-api-x402-a6a7bae3
```

Example prompt: Pull the current order book for BTC/USDC — I need the top bids and asks right now, and I don't want to deal with API keys, just pay per call.

## When to prefer this

Choose this endpoint when you need a quick, keyless, pay-per-call order book snapshot without committing to an API subscription or managing credentials. It is ideal for agents or scripts that run infrequently and need normalized, multi-source order book data on demand, and for workflows where the x402 micropayment pattern (USDC on Base) is already supported.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 requiring x402 payment
- Invalid or unsupported trading pair — returns error indicating unrecognized symbol
- Upstream data source unavailable — may return stale cached data or 503 if all fallbacks fail
- Malformed query parameters — returns 400 bad request
- Rate or capacity limits on upstream providers — may result in delayed or partial response

## How this service works

Market and on-chain data, paid per call in USDC on Base through the x402 protocol. No accounts, no API keys. Sources are public data providers; the value added here is keyless access, edge caching, multi-source fallback and normalised responses.

## Output

A normalized order book response containing arrays of bids and asks for the requested trading pair, each entry including price level and available quantity, sourced from public market data providers with edge caching and multi-source fallback applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/santyvv-data-crypto-order-book-api-x402-a6a7bae3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.santyvv.com](https://www.zero.xyz/host/x402.santyvv.com/llms.txt)
