# Blockscout Stability Validator Counters

> Blockscout Stability Validator Counters 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 validator statistics for a Stability-protocol chain via Blockscout, including total, active, and newly added validator counts plus active percentage.

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/validators/stability/counters
- 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-stability-validator-counters-f6f39b2b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MZExOhOVbKFVIzCLQeHaG

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-stability-validator-counters-f6f39b2b
```

Example prompt: Using Blockscout, can you pull the validator stats for chain ID 101010 — I want to know the total validators, how many are active, how many joined in the last 24 hours, and the active percentage?

## When to prefer this

Use this endpoint when you specifically need aggregate validator statistics (total, active, new, percentage) for a Stability-protocol chain indexed by Blockscout, rather than per-validator detail or validator lists. It is ideal for dashboards, health monitoring, and trend tracking where summary counters are sufficient.

## Known failure modes

- Invalid or unsupported chain_id returns an error or empty response
- Chain not indexed by Blockscout returns 404 or no data
- Transient network errors may return 5xx responses
- Stability-protocol-specific endpoint may not apply to non-Stability chains

## 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 four fields: validators_count (total validators as a string), active_validators_count (currently active validators as a string), new_validators_count_24h (validators added in the last 24 hours as a string), and active_validators_percentage (floating-point ratio of active validators).

## 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": {
  "validators_count": "string",
  "active_validators_count": "string",
  "new_validators_count_24h": "string",
  "active_validators_percentage": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-stability-validator-counters-f6f39b2b/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)
