# CoinCap Total Crypto Market-Cap History

> CoinCap Total Crypto Market-Cap History 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 capped historical data points for the total cryptocurrency market capitalization over time.

## Facts

- Endpoint: GET https://rest.coincap.io/v3/agentFriendly/total_market_cap_history
- 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-total-crypto-market-cap-history-af1fac13
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__WDYN6Y3mA2Ps7mdsL_K0

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-total-crypto-market-cap-history-af1fac13
```

Example prompt: Pull the full historical total crypto market cap series from CoinCap so I can see how the aggregate size of the entire cryptocurrency market has changed over time.

## When to prefer this

Use this endpoint when you need the aggregate total cryptocurrency market capitalization across all assets over time, rather than the market cap of a single asset. Prefer this over the per-asset historical market-cap endpoint when the goal is macro-level analysis of the entire crypto market. Ideal for charting overall market trends, identifying crypto market cycles, or providing broad context for portfolio or economic analysis.

## Known failure modes

- API key or payment not provided — returns 402 Payment Required
- Rate limit exceeded — returns 429 Too Many Requests
- Service unavailable — returns 503 with no data
- Empty or truncated response if market data is temporarily unavailable
- Data points are capped, so very granular or very long historical windows may not be fully represented

## How this service works

Total crypto market-cap history (capped data points).

## Output

A time series of capped historical data points representing the total cryptocurrency market capitalization, each with a timestamp and a corresponding total market cap value in USD. The number of returned data points is capped per the endpoint's design.

## 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",
     "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-total-crypto-market-cap-history-af1fac13/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)
