# Obol Kraken BTC/USD Orderbook Top

> Obol Kraken BTC/USD Orderbook Top is a paid API for AI agents from obol.danieldutoit.net, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns the top-of-book (best bid and best ask) snapshot from Kraken's BTC/USD order book, including spread percentage, via a micropayment-gated API.

## Facts

- Endpoint: GET https://obol.danieldutoit.net/v1/markets/kraken/orderbook-top
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/obol-kraken-btc-usd-orderbook-top-58c78e4e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OET2fhAL8xfe5zcOVmVJO

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 obol-kraken-btc-usd-orderbook-top-58c78e4e
```

Example prompt: What's the current best bid and ask for BTC/USD on Kraken, and what's the spread right now?

## When to prefer this

Choose this endpoint when you need a lightweight, cost-effective, single-snapshot view of Kraken's BTC/USD top-of-book (best bid/ask and spread) without subscribing to a full market data feed. Ideal for agents that need occasional price checks, pre-trade cost estimation, or arbitrage signal detection at sub-cent cost per call via x402 micropayments in USDC.

## Known failure modes

- Payment not settled — returns 402 if USDC micropayment via x402 is not completed
- Trading pair not found — 'found: false' if the requested market does not exist
- Stale or delayed data — observed_at timestamp may lag real-time due to data pipeline latency
- Network or upstream errors — Kraken data feed unavailable or timeout
- Invalid parameters — malformed base/quote currency inputs may return an error

## How this service works

Obol sells verified blockchain data over x402, settled in USDC on Base.

## Output

A JSON object containing the best bid (price and volume) and best ask (price and volume) from Kraken's BTC/USD order book at a specific observed timestamp, along with the spread percentage, exchange name, base/quote currencies, and a disclaimer that the data is for informational use only.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "BTC",
  "found": true,
  "quote": "USD",
  "coverage": {
   "match_type": "exact_timestamp_base_and_quote",
   "maximum_results": 1
  },
  "exchange": "KRAKEN",
  "snapshot": {
   "best_ask": {
    "price": 63402.2,
    "volume": 0.054
   },
   "best_bid": {
    "price": 63402.1,
    "volume": 0.364
   },
   "observed_at": "2026-08-13T00:05:00.000Z",
   "spread_percent": 0.0001577234823429269
  },
  "timestamp": "1786579500",
  "disclaimer": "Historical exchange observation for informational use; not investment advice."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/obol-kraken-btc-usd-orderbook-top-58c78e4e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from obol.danieldutoit.net](https://www.zero.xyz/host/obol.danieldutoit.net/llms.txt)
