# CoinCap Historical Price Series

> CoinCap Historical Price Series is a paid API for AI agents from rest.coincap.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a capped historical price time series for a specific cryptocurrency asset slug (e.g. bitcoin).

## Facts

- Endpoint: GET https://rest.coincap.io/v3/agentFriendly/history/bitcoin
- 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/coincap-historical-price-series-c19d4e54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fxnzp5B7O8hyGER6zCt5p

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 coincap-historical-price-series-c19d4e54
```

Example prompt: Pull the historical price series for bitcoin from CoinCap so I can see how its USD price has changed over time.

## When to prefer this

Use this endpoint when you need a quick, agent-friendly historical price series for a specific cryptocurrency by slug (e.g. 'bitcoin', 'ethereum'). Prefer this over raw exchange APIs or full market data providers when you want a simple, pre-formatted time series with minimal overhead and a low per-call cost. If you need technical indicators like MACD or EMA, use the sibling indicator endpoints instead.

## Known failure modes

- Invalid or unknown asset slug returns an error or empty response
- Capped data points limit — only a maximum number of data points returned, not full granular history
- Payment failure (x402) if the $0.01 USDC call fee is not satisfied
- Network timeout or service unavailability from CoinCap servers

## How this service works

Historical price series for an asset slug (capped data points).

## Output

Returns a capped series of historical price data points for the specified cryptocurrency asset, including timestamps and USD price values, suitable for charting, analysis, or backtesting.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coincap-historical-price-series-c19d4e54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rest.coincap.io](https://www.zero.xyz/host/rest.coincap.io/llms.txt)
