# Blockscout Secondary Coin Market Chart

> Blockscout Secondary Coin Market Chart 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-12).

Returns historical closing price chart data for the secondary coin of a specific blockchain network

## Facts

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

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-secondary-coin-market-chart-b1252e0d
```

Example prompt: Pull the secondary coin market chart data for Ethereum mainnet from Blockscout so I can see the historical closing prices.

## When to prefer this

Use this endpoint when you need historical closing price chart data specifically for the secondary coin (not the primary/native coin) on a given blockchain network supported by Blockscout. Prefer this over generic price APIs when you need chain-specific secondary token data integrated with Blockscout's multichain explorer ecosystem.

## Known failure modes

- Invalid or unsupported chain_id returns an error or empty dataset
- chain_id not recognized by Blockscout returns 404 or empty chart_data array
- Network or API downtime returns 5xx errors
- Chain has no secondary coin configured, resulting in empty chart_data
- Payment of 0.002 USDC not provided results in 402 Payment Required

## 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 an array of chart data objects, each containing a date string and a closing_price string, representing the historical market price of the secondary coin on 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": [
   {
    "date": "string",
    "closing_price": "string"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-secondary-coin-market-chart-b1252e0d/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)
