# Kaspa Recent Blocks Feed

> Kaspa Recent Blocks Feed is a paid API for AI agents from api.carbon-cashmere.de, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns up to 144 recent Kaspa BlockDAG blocks per call, with optional filtering to selected-parent chain blocks only

## Facts

- Endpoint: GET https://api.carbon-cashmere.de/v1/kaspa-derivatives/recent-blocks
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-carbon-cashmere-de-4c775d49
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bkuKo4WVcPQPframjBeUP

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 api-carbon-cashmere-de-4c775d49
```

Example prompt: Pull the last 144 recent Kaspa blocks from the BlockDAG — use the chain_only filter so I only get selected-parent chain blocks — I need this for my backtesting indexer.

## When to prefer this

Use this endpoint when you need live or near-live Kaspa block data directly from a full Rusty Kaspa node for backtesting, indexing, or chain analysis. Prefer the chain_only flag when you only care about the canonical chain rather than all DAG blocks.

## Known failure modes

- Requested count exceeds 144 block cap — returns error or truncates to max
- Invalid chain_only parameter value — returns 400 bad request
- Node temporarily unavailable — returns 503 or timeout
- Rate limiting or payment failure — returns 402 payment required

## How this service works

Recent Kaspa blocks (max 144 per call = $1.44 cap). Optional chain_only flag to filter selected-parent chain blocks. AI agent API for backtesters and indexers. Informational research data — not investment advice.

## Output

A list of up to 144 recent Kaspa blocks, each containing block header data and BlockDAG metadata. When chain_only is set, results are filtered to only include blocks on the selected-parent chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "limit": 60,
  "blocks": [
   {
    "tx_count": 58,
    "daa_score": 436119742,
    "block_hash": "...",
    "is_chain_block": true
   }
  ],
  "returned": 60
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-carbon-cashmere-de-4c775d49/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.carbon-cashmere.de](https://www.zero.xyz/host/api.carbon-cashmere.de/llms.txt)
