# Kaspa Network Historical Timeseries API

> Kaspa Network Historical Timeseries API is a paid API for AI agents from api.carbon-cashmere.de, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-30).

Returns server-side aggregated historical timeseries data (up to 1000 points) for Kaspa blockchain metrics such as hashrate, difficulty, DAG block rate, mempool depth, circulating supply, and more.

## Facts

- Endpoint: GET https://api.carbon-cashmere.de/v1/kaspa-derivatives/timeseries?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kaspa-network-historical-timeseries-api-d0d637e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_npe3ZbYx68jvEb8P-sG62

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-network-historical-timeseries-api-d0d637e5
```

Example prompt: Pull me the daily Kaspa hashrate from January 1 2024 to June 30 2024 using 1-day intervals so I can chart how mining power has changed over that period.

## When to prefer this

Choose this endpoint when you need pre-aggregated historical Kaspa blockchain network metrics (hashrate, difficulty, block rate, mempool, supply, etc.) as a clean timeseries without running your own node. It is especially useful for research, charting, and trend analysis where you need up to 1000 evenly-spaced data points across a custom date range and interval. Prefer it over raw Kaspa APIs when you want server-side aggregation and consistent formatting.

## Known failure modes

- Missing required parameters (metric, from, to) returns a validation error
- Requesting peer_count for dates after 2026-08-10 may return nulls or empty data (data collection ended)
- Date ranges that would produce more than 1000 points at fine granularity may be truncated or require a coarser interval
- Invalid metric enum value returns an error
- from datetime after to datetime returns an error
- Payment failure (x402) results in 402 response without data

## How this service works

Historical Kaspa network metrics as server-side aggregated timeseries (max 1000 points): hashrate, difficulty, DAG block rate, mempool depth, DAA score, tip count, circulating supply, percent mined; peer count only until 2026-08-10. Collected continuously by our own infrastructure (own Kaspa node until 2026-08-10, since then snapshots of the public api.kaspa.org). Informational research data — not investment advice.

## Output

A JSON object containing the requested metric name, unit, interval, an array of timestamped data points (each with a 'ts' ISO datetime and 'value' that may be null for gaps), plus coverage and freshness metadata. Up to 1000 points are returned per call.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "metric",
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "format": "date-time"
      },
      "from": {
       "type": "string",
       "format": "date-time"
      },
      "metric": {
       "enum": [
        "hashrate",
        "difficulty",
        "block_rate",
        "mempool_tx_count",
        "peer_count",
        "daa_score",
        "tip_count",
        "node_hashrate",
        "circulating_supply",
        "pct_mined"
       ],
       "type": "string"
      },
      "interval": {
       "enum": [
        "5m",
        "1h",
        "1d"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "unit": {
       "type": "string"
      },
      "metric": {
       "type": "string"
      },
      "points": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "ts": {
          "type": "string"
         },
         "value": {
          "type": [
           "number",
           "null"
          ]
         }
        }
       }
      },
      "coverage": {
       "type": "object"
      },
      "interval": {
       "type": "string"
      },
      "freshness": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kaspa-network-historical-timeseries-api-d0d637e5/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)
