# Kaspa Throughput Metrics

> Kaspa Throughput Metrics is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-21).

Returns measured Kaspa BlockDAG throughput: blocks per second (BPS), estimated transactions per second (TPS), and DAG width (parallel blocks per blue score) computed from recent chain data.

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/crypto/kaspa-throughput?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kaspa-throughput-metrics-97149224
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T3qrnJZo9gYcgVlyawJaj

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 kaspa-throughput-metrics-97149224
```

Example prompt: What's Kaspa's current network throughput — how many blocks per second and transactions per second is it achieving right now, and what's the DAG width?

## When to prefer this

Use this endpoint when you need live, measured Kaspa network throughput rather than theoretical maximums — specifically BPS, TPS estimates, and DAG width derived from real recent chain data. Prefer this over the Kaspa block info or hashrate endpoints when your question is specifically about transaction/block processing speed and DAG parallelism.

## Known failure modes

- Upstream api.kaspa.org unavailable — returns 5xx or empty response
- Stale data if the Kaspa node is syncing or behind
- Payment not included or insufficient (x402 payment required, $0.005 USDC per call) — returns 402
- Network timeout if Kaspa node is slow to respond

## How this service works

Measured Kaspa throughput from api.kaspa.org: blocks per second over the last ~600 blue scores (DAA score delta / time delta between two chain blocks), estimated transactions per second (average transactions per block in a recent-block sample x measured BPS), and DAG width (parallel blocks per blue score, average merge set size) from that sample. Both windows are returned.

## Output

A JSON object containing: blocks per second (BPS) measured over the last ~600 blue scores (DAA score delta / time delta), estimated transactions per second (average transactions per block × BPS), and DAG width metrics (parallel blocks per blue score, average merge set size). Both short and long measurement windows are included.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kaspa-throughput-metrics-97149224/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
