# CEX Reserves Snapshot

> CEX Reserves Snapshot is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns a normalized on-chain reserve breakdown for a centralized exchange, including total TVL, clean-asset TVL, own-token exposure, netflows, and trading volumes.

## Facts

- Endpoint: GET https://api.agentstools.dev/cex/reserves
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cex-reserves-snapshot-99d17f06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bBLQv5bbPlhpbkmbyFe6X

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 cex-reserves-snapshot-99d17f06
```

Example prompt: Can you pull the on-chain reserve breakdown for OKX — I want to see the total TVL, how much is clean assets versus their own token, the clean-asset ratio, and any 24h/1w netflow numbers?

## When to prefer this

Use this endpoint when you need a quick, cheap first-pass look at a centralized exchange's reserve health — specifically TVL, own-token risk, and netflows — before deciding whether to run a deeper solvency analysis. Ideal when cost matters and you want raw normalized reserve data rather than a full verdict. Prefer this over broader financial data APIs when the data is specifically about CEX proof-of-reserves sourced from DefiLlama.

## Known failure modes

- Unknown or misspelled exchange name/slug returns a 404 or empty result
- Exchange not tracked by DefiLlama returns no data
- DefiLlama upstream outage causes stale or unavailable data
- Missing required 'cex' query parameter returns a validation error
- Exchange has no on-chain reserves published, resulting in null TVL fields

## How this service works

Cheap raw normalized reserve breakdown of one centralized exchange: total on-chain reserves (currentTvl), clean-of-own-token reserves (cleanAssetsTvl), the own-token symbol / USD value / concentration, clean-asset ratio, spot & derivative volumes, leverage, 24h/1w/1m netflow and the public reserves URL, with citations. The cheap first grain before the fuller /cex/solvency verdict. Keyless DefiLlama source; reserves are a proxy, not proof of solvency.

## Output

A normalized JSON object containing: total on-chain reserves (currentTvl), clean-of-own-token reserves (cleanAssetsTvl), the exchange's own token symbol and its USD value and concentration percentage, the clean-asset ratio, spot and derivative volumes, leverage figure, 24h/1w/1m netflow values, and a link to the exchange's public reserves page — all sourced from DefiLlama.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "cex"
     ],
     "properties": {
      "cex": {
       "type": "string",
       "description": "Exchange name, slug or CoinGecko id (e.g. okx, bybit)."
      },
      "exchange": {
       "type": "string",
       "description": "Alias of cex."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cex-reserves-snapshot-99d17f06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
