# Blockscout Market Chart Data for Chain

> Blockscout Market Chart Data for Chain is a paid API for AI agents from api.blockscout.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns historical market chart data (price, market cap, TVL) for a specific blockchain network

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/stats/charts/market
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-market-chart-data-for-chain-650f2467
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jv05SjCuz7wWvQNKftKQ5

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 blockscout-market-chart-data-for-chain-650f2467
```

Example prompt: Can you pull the historical market chart data for Ethereum from Blockscout — I want to see the daily closing prices, market cap, and TVL over time?

## When to prefer this

Use this endpoint when you need historical market chart data (price, market cap, TVL) for a specific blockchain network by chain ID, particularly when working within the Blockscout ecosystem or needing cross-chain comparable data. Prefer this over CoinGecko or CoinMarketCap when you specifically need on-chain TVL data alongside market cap and price in a single call indexed by chain ID.

## Known failure modes

- Invalid or unsupported chain_id returns an error or empty response
- Chain has no market data indexed by Blockscout — returns empty chart_data array
- Payment not processed — 402 response requiring x402 payment
- Rate limiting or network timeout on the Blockscout API
- Malformed chain_id path parameter causes 400 or 404 error

## How this service works

Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data

## Output

Returns a JSON object containing an array of historical chart data points, each with a date, closing price, market cap, and TVL string values, plus an available supply field for the specified blockchain network.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chart_data": [
   {
    "tvl": "string",
    "date": "string",
    "market_cap": "string",
    "closing_price": "string"
   }
  ],
  "available_supply": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-market-chart-data-for-chain-650f2467/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockscout.com](https://www.zero.xyz/host/api.blockscout.com/llms.txt)
