# TzKT Staking Operations API

> TzKT Staking Operations API 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-15).

Retrieves a filtered list of Tezos staking operations from the TzKT blockchain indexer, supporting filtering by baker, sender, action type, block level, and timestamp.

## Facts

- Endpoint: GET https://x402.tzkt.io/v1/operations/staking
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tzkt-staking-operations-api-5e0ea6c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aTq3xh2uxvY-DeuFvxafw

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-staking-operations-api-5e0ea6c7
```

Example prompt: Pull the last 50 staking operations on Tezos for baker tz1aRoaRhSpRYvFdyvgWLL6TGyRoGF51wDjM, filtering by 'stake' action type.

## When to prefer this

Use this endpoint when you need to query Tezos staking operation history with flexible filters (by baker, sender, action, block level, or timestamp) without needing an API key. Prefer this over generic Tezos RPC nodes when you want indexed, paginated, and filterable staking data. It is especially useful for monitoring delegator activity, auditing staking flows, or building analytics around Tezos staking events.

## Known failure modes

- Invalid baker or sender address format returns empty array or 400 error
- Unsupported action type string may return empty results
- Very large limit values may be capped by the API
- Future timestamps or out-of-range block levels return empty arrays
- Payment failure via x402 protocol results in 402 response before data is returned

## 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

Returns an array of staking operation objects from the Tezos blockchain, each containing details such as the sender address, baker address, action type (e.g. stake, unstake), block level, timestamp, and other operation metadata. The response is paginated and supports filtering.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "baker": {
   "type": "string",
   "description": "Filter by baker address"
  },
  "level": {
   "type": "string",
   "description": "Filter by block level"
  },
  "limit": {
   "type": "integer",
   "description": "Max items to return"
  },
  "action": {
   "enum": [
    "stake",
    "unstake",
    "finalizeUnstake",
    "setDelegateParameters"
   ],
   "type": "string",
   "description": "Filter by action type"
  },
  "offset": {
   "type": "integer",
   "description": "Pagination offset"
  },
  "sender": {
   "type": "string",
   "description": "Filter by sender address"
  },
  "timestamp": {
   "type": "string",
   "description": "Filter by timestamp"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "array",
 "items": {
  "type": "object"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tzkt-staking-operations-api-5e0ea6c7/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)
