# CEX IO Crypto Market API

> CEX.IO exchange tickers, all pairs for a quote currency, and order book depth for any crypto pair

- Vendor: `cexiocryptomarketapi` · version 1.0 · category Crypto Market Data · tags cex io api, crypto ticker api, bitcoin price api, crypto order book api, crypto exchange api, btc usd api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/cexiocryptomarketapi
- This document: https://apiclay.com/docs/cexiocryptomarketapi.md
- OpenAPI 3.1: https://apiclay.com/api/cexiocryptomarketapi/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `cexiocryptomarketapi`
- Updated: 2026-11-18

## About

## CEX IO Crypto Market API

Public market data from the CEX.IO exchange: the last price, 24h high/low, bid/ask, volume and change for one pair, every pair quoted in a currency, and the order book for a pair.

Data comes from **cex.io** (https://cex.io). Every route calls the source's own public API and returns it unchanged.

Typical flow: `/tickers?currency=USD` to list pairs, then `/ticker?symbol1=BTC&amp;symbol2=USD` and `/orderbook?symbol1=BTC&amp;symbol2=USD&amp;depth=10`.

### Routes

#### GET `/ticker` - Ticker
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| symbol1 | path | string | yes | Base currency, e.g. `BTC`. |
| symbol2 | path | string | yes | Quote currency, e.g. `USD`, `EUR`, `USDT`. |

Returns: `last`, `bid`, `ask`, `low`, `high`, `volume`, `priceChange`, `priceChangePercentage`, `timestamp`.

#### GET `/tickers` - Tickers by quote currency
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| currency | path | string | yes | Quote currency, e.g. `USD`. |

Returns: `data[]` of tickers with `pair` and the same fields.

#### GET `/orderbook` - Order book
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| symbol1 | path | string | yes | Base currency. |
| symbol2 | path | string | yes | Quote currency. |
| depth | query | number | no | Levels per side. |

Returns: `bids[]` / `asks[]` as `[price, amount]`, `pair`, `timestamp`.

### Caveats

- Exchange market data; check CEX.IO's terms before commercial redistribution.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by cex.io.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /ticker — Ticker
- Gateway: `GET https://api.apiclay.com/v1/api/cexiocryptomarketapi/ticker`
- Public query params: `symbol1` (string, required), `symbol2` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /tickers — Tickers by quote currency
- Gateway: `GET https://api.apiclay.com/v1/api/cexiocryptomarketapi/tickers`
- Public query params: `currency` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /orderbook — Order book
- Gateway: `GET https://api.apiclay.com/v1/api/cexiocryptomarketapi/orderbook`
- Public query params: `depth` (number), `symbol1` (string, required), `symbol2` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/cexiocryptomarketapi/ticker?symbol1=<symbol1>&symbol2=<symbol2>" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
