# WickedAPI Order Book Endpoint

> WickedAPI Order Book Endpoint is a paid API for AI agents from api.wickedapi.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Retrieves real-time order book data (bid/ask depth) for a given trading symbol via a pay-per-call market data API

## Facts

- Endpoint: GET https://api.wickedapi.com/v1/orderbook?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wickedapi-order-book-endpoint-d3220e56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-9oj9_F0KDnXZgW5MGiJv

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 wickedapi-order-book-endpoint-d3220e56
```

Example prompt: Pull the current order book for BTC/USDC so I can see the bid and ask depth right now.

## When to prefer this

Choose this endpoint when you need real-time bid/ask depth (order book snapshot) for a specific trading pair, especially in an agent context where per-call micropayments via x402/USDC are preferred over a subscription. It is part of a broader 23-endpoint trading data platform covering crypto and stock data, so it integrates naturally with sibling endpoints for prices, OHLCV, indicators, and AI momentum scores.

## Known failure modes

- Missing or invalid symbol parameter returns an error or empty data object
- Unsupported trading pair returns 404 or empty result
- Rate limit exceeded returns 429 or payment required response
- x402 payment failure if USDC balance is insufficient
- Network timeout if exchange data feed is slow
- Stale data if the upstream exchange feed is delayed

## How this service works

Agent-ready trading & market-data API: prices, indicators, prediction markets, macro, and an AI momentum score. Pay per call with x402 (USDC) or an API key.

## Output

Returns a JSON object with order book data including arrays of bids and asks (price levels and quantities) for the requested trading pair, along with a metadata timestamp indicating when the snapshot was taken.

## 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
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "meta": {
   "timestamp": "2026-01-01T00:00:00.000Z"
  }
 }
}
```

## More

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