# Multi-Exchange Crypto Price Aggregator

> Multi-Exchange Crypto Price Aggregator is a paid API for AI agents from api.agent-data.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-14).

Fetches prices for up to 20 cryptocurrencies simultaneously from Binance, Bybit, OKX, Kraken, and Coinbase, returning per-exchange prices, a median, and the max deviation percentage.

## Facts

- Endpoint: GET https://api.agent-data.workers.dev/api/v1/prices?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/multi-exchange-crypto-price-aggregator-34cfc607
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ME0HCUSNLiWTjCcbb5NaI

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 multi-exchange-crypto-price-aggregator-34cfc607
```

Example prompt: What are the current prices of BTC, ETH, and SOL across Binance, Bybit, OKX, Kraken, and Coinbase, and what's the median price and max deviation for each?

## When to prefer this

Use this endpoint when you need current crypto prices from multiple exchanges in a single API call, especially when you want a reliable median price that filters out outliers or want to detect cross-exchange price discrepancies. Prefer this over calling individual exchange APIs when you need up to 20 coins simultaneously without managing multiple auth credentials or rate limits.

## Known failure modes

- Invalid or unsupported ticker symbol returns empty or error entry for that symbol
- More than 20 symbols requested may result in truncation or error
- Exchange data unavailable for a coin reduces source count and may affect median accuracy
- Network timeout from upstream exchange APIs may cause partial or delayed results
- Malformed symbols parameter (not comma-separated) returns a 400 error

## How this service works

Prices for up to 20 coins at once from Binance, Bybit, OKX, Kraken and Coinbase with the median and the max deviation between exchanges. One call instead of dozens.

## Output

A JSON object keyed by ticker symbol, where each entry contains the price from each available exchange (Binance, Bybit, OKX, Kraken, Coinbase), a computed median price, the number of sources, and the max deviation percentage between exchanges.

## 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",
     "required": [
      "symbols"
     ],
     "properties": {
      "symbols": {
       "type": "string",
       "description": "Comma-separated tickers"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "prices": {
   "BTC": {
    "okx": 77012,
    "bybit": 77010.9,
    "median": 77011.7,
    "binance": 77011.4,
    "sources": 4,
    "coinbase": 77015.2,
    "max_deviation_pct": 0.0056
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/multi-exchange-crypto-price-aggregator-34cfc607/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agent-data.workers.dev](https://www.zero.xyz/host/api.agent-data.workers.dev/llms.txt)
