# AiToollab Crypto Market Data API

> AiToollab Crypto Market Data API is a paid API for AI agents from api.aitoollab.top, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Returns live cryptocurrency market data including top coin prices, 24h changes, BTC dominance, and total market cap

## Facts

- Endpoint: GET https://api.aitoollab.top/api/crypto/market?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aitoollab-crypto-market-data-api-fdea4984
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZC1TQw8YfwScC5cWFWT_H

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 aitoollab-crypto-market-data-api-fdea4984
```

Example prompt: Can you pull the latest crypto market snapshot — I want to see the top coins with their current prices and 24-hour changes, plus the overall BTC dominance and total market cap?

## When to prefer this

Use this endpoint when you need a quick, cost-effective snapshot of top cryptocurrency prices, BTC dominance, and aggregate market cap in a single call. Prefer this over heavier market data APIs when you only need summary-level data rather than deep order books, historical OHLCV, or individual token analytics.

## Known failure modes

- API returns 402 Payment Required if USDC payment header is missing or insufficient
- Network timeout if upstream market data provider is slow
- Empty or stale data if market data feed is unavailable
- Malformed response if query parameters are invalid

## How this service works

AiToollab，普通人用AI做副业的实战平台。收录10+AI副业方向、50+提示词模板、真实赚钱案例。每周更新，找方向、找工具、找案例，一站搞定。

## Output

A JSON object containing an array of top cryptocurrencies (each with name, symbol, price in USD, and 24h percentage change), Bitcoin dominance percentage, and total crypto market capitalization in USD.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "top_coins": [
   {
    "name": "Bitcoin",
    "price": 45000,
    "symbol": "BTC",
    "change_24h": 2.5
   }
  ],
  "btc_dominance": 52.5,
  "total_market_cap_usd": 2500000000000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aitoollab-crypto-market-data-api-fdea4984/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aitoollab.top](https://www.zero.xyz/host/api.aitoollab.top/llms.txt)
