# TzKT Delegates Count

> TzKT Delegates Count is a paid API for AI agents from x402.tzkt.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns the total count of Tezos delegates (bakers), optionally filtered by active status

## Facts

- Endpoint: GET https://x402.tzkt.io/v1/delegates/count
- 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/tzkt-delegates-count-294df829
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BoGYGmT_Agsp0IZn0CWrK

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 tzkt-delegates-count-294df829
```

Example prompt: How many active delegates are currently registered on the Tezos blockchain right now?

## When to prefer this

Use this endpoint when you need a quick scalar count of Tezos delegates without needing full delegate details. Ideal for dashboards, monitoring scripts, or decentralization analysis where only the aggregate number matters. Prefer this over listing all delegates when you only need the count to avoid large payload overhead.

## Known failure modes

- Invalid boolean value for 'active' parameter returns a 400 Bad Request
- Network connectivity issues may result in timeout errors
- Service unavailability returns 5xx errors

## How this service works

TzKT is a comprehensive Tezos blockchain indexer API. Access blocks, operations, accounts, contracts, bigmaps, delegates, tokens and network stats through a fast REST API. No signup or API key required.

## Output

A single integer representing the number of Tezos delegates matching the filter criteria (active, inactive, or all). If no filter is applied, returns the total count of all delegates ever registered.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "active": {
   "type": "boolean",
   "description": "Filter by active status"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "integer"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tzkt-delegates-count-294df829/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.tzkt.io](https://www.zero.xyz/host/x402.tzkt.io/llms.txt)
