# three.ws Crypto Market Heatmap

> three.ws Crypto Market Heatmap is a paid API for AI agents from three.ws, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Returns a ranked list of top cryptocurrencies with price, market cap, 24h volume, and short-term price change metrics sourced from CoinGecko, plus market breadth statistics.

## Facts

- Endpoint: GET https://three.ws/api/x402/market-heatmap?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/three-ws-crypto-market-heatmap-7e93a42c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G11eaRWMSleWr72s-uhxf

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 three-ws-crypto-market-heatmap-7e93a42c
```

Example prompt: Give me a heatmap snapshot of the top 25 cryptocurrencies — I want to see prices, 24-hour changes, market caps, and whether the market is mostly up or down right now.

## When to prefer this

Choose this endpoint when you need a broad, ranked snapshot of the entire crypto market with breadth statistics in a single call, especially if you need advancer/decliner ratios alongside individual coin metrics. Prefer it over single-coin price lookups when you want market-wide context. The built-in x402 micropayment model makes it suitable for agent-native workflows without API key setup.

## Known failure modes

- Invalid limit parameter (out of 1–100 range) returns a validation error
- Payment not included or insufficient USDC payment returns HTTP 402
- Upstream CoinGecko data unavailable may return stale or error response
- Rate limiting if called excessively without valid micropayments

## How this service works

Make a 3D AI agent from a selfie in 60 seconds. Drop one HTML tag to embed it on any website. Agents think on IBM watsonx.ai (Granite); optionally charge per chat with built-in micropayments.

## Output

Returns a JSON object with a timestamp, the data source (CoinGecko), a list of coins (up to 100) sorted by market cap including name, symbol, rank, USD price, 1h/24h/7d percent changes, market cap, and 24h volume, plus aggregate market breadth stats (advancer count, decliner count, flat count, average and median 24h change).

## 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",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "limit": {
       "type": "integer",
       "default": 50,
       "maximum": 100,
       "minimum": 1,
       "description": "Coins to return, largest market cap first."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": "2026-07-11T10:00:00Z",
  "coins": [
   {
    "name": "Bitcoin",
    "rank": 1,
    "symbol": "BTC",
    "change_1h": 0.1,
    "change_7d": 5.9,
    "price_usd": 118250,
    "change_24h": 2.4,
    "market_cap_usd": 2350000000000,
    "volume_24h_usd": 48200000000
   }
  ],
  "source": "coingecko",
  "breadth": {
   "flat": 1,
   "advancers": 31,
   "decliners": 18,
   "avg_change_24h": 1.2,
   "median_change_24h": 0.8
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/three-ws-crypto-market-heatmap-7e93a42c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from three.ws](https://www.zero.xyz/host/three.ws/llms.txt)
