# Blockscout Interchain Stats - Main Page Metrics

> Blockscout Interchain Stats - Main Page Metrics 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-11).

Returns aggregate interchain (cross-chain) message statistics for a specified blockchain network, including total messages sent and received.

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/stats-service/api/v1/pages/interchain/main
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-interchain-stats-main-page-metrics-a4999d3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ASks7zdPFOTnVI6zpbgUR

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-interchain-stats-main-page-metrics-a4999d3b
```

Example prompt: Can you pull up the interchain messaging stats for Ethereum mainnet from Blockscout — I want to know the total cross-chain messages sent and received for that chain?

## When to prefer this

Use this endpoint when you need a quick summary of interchain (cross-chain) messaging volume for a specific blockchain network. It is ideal for dashboards, analytics pipelines, or agent workflows monitoring cross-chain activity levels. Prefer this over full transaction search endpoints when only aggregate interchain statistics are needed.

## Known failure modes

- Invalid or unsupported chain_id returns an error or empty response
- Chain with no interchain activity may return zero values
- Network downtime may result in 503 or timeout
- Malformed path parameter causes 400 Bad Request

## 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 with three metric objects — total_interchain_messages, total_interchain_messages_sent, and total_interchain_messages_received — each containing an id, title, units, value, and description string, representing aggregate cross-chain messaging activity for the specified chain.

## 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": {
  "total_interchain_messages": {
   "id": "string",
   "title": "string",
   "units": "string",
   "value": "string",
   "description": "string"
  },
  "total_interchain_messages_sent": {
   "id": "string",
   "title": "string",
   "units": "string",
   "value": "string",
   "description": "string"
  },
  "total_interchain_messages_received": {
   "id": "string",
   "title": "string",
   "units": "string",
   "value": "string",
   "description": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-interchain-stats-main-page-metrics-a4999d3b/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)
