# CoinLore Crypto Market Data

> CoinLore Crypto Market Data is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Fetches live cryptocurrency prices, market caps, 24h volume, and price change percentages for top coins via CoinLore

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/finance/coinlore-crypto?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinlore-crypto-market-data-ce35a6e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t8NkUynUc7JAtcrWdOOUR

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 coinlore-crypto-market-data-ce35a6e9
```

Example prompt: Pull live prices and market caps for the top 20 cryptocurrencies right now, including their 24-hour volume and percentage changes.

## When to prefer this

Use this endpoint when you need fast, no-signup, pay-per-call access to live cryptocurrency market data (prices, market caps, volumes, rankings) sourced from CoinLore's public API. Ideal for AI agents that need crypto market snapshots without managing API keys or subscriptions, and when you want to pay only per successful call via USDC micropayments.

## Known failure modes

- Upstream CoinLore API unavailable — no data returned
- Invalid limit parameter (must be 1–100) — request rejected or defaults applied
- Payment failure — call not charged, no data returned
- Rate limits or network timeouts from Cloudflare worker layer

## How this service works

CoinLore ranked crypto list: USD price, market cap, 24h volume and 1h/24h/7d changes for the top N coins (N from 1 to 100).

## Output

Returns a JSON object with an array of coins, each containing: coin ID, name, rank, symbol, price in USD, market cap in USD, 24h volume in USD, 1h/24h/7d percentage price changes, and circulating supply. Also includes the total count returned and the data source URL and timestamp of when it was checked.

## 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": [],
     "properties": {
      "limit": {
       "type": "string",
       "description": "How many coins, 1 to 100 (default 10)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "coins": [
   {
    "id": "90",
    "name": "Bitcoin",
    "rank": 1,
    "symbol": "BTC",
    "priceUsd": 81662.33,
    "marketCapUsd": 1630866390493,
    "volume24hUsd": 22777557275.43892,
    "changePercent1h": -0.17,
    "changePercent7d": -0.78,
    "changePercent24h": -0.16,
    "circulatingSupply": 19970852
   },
   {
    "id": "80",
    "name": "Ethereum",
    "rank": 2,
    "symbol": "ETH",
    "priceUsd": 2395.56,
    "marketCapUsd": 293155924472.5,
    "volume24hUsd": 9721873957.06284,
    "changePercent1h": -0.57,
    "changePercent7d": -2.61,
    "changePercent24h": -0.25,
    "circulatingSupply": 122374665.72
   }
  ],
  "count": 5,
  "source": "https://api.coinlore.net/api/tickers/",
  "checkedAt": "2026-10-23T09:36:15.140Z"
 }
}
```

## More

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