# Cortex Cloud Crypto Price History API

> Cortex Cloud Crypto Price History API is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Retrieves historical price data for cryptocurrencies, payable per-call in USDC on Base via x402

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/crypto/history
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortex-cloud-crypto-price-history-api-5948ac42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SR6zY6HWLbVM19OsZa4rR

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 cortex-cloud-crypto-price-history-api-5948ac42
```

Example prompt: Can you pull the historical price data for Bitcoin over the last 30 days so I can see how it's been trending?

## When to prefer this

Choose this endpoint when you need cryptocurrency historical price data and prefer a pay-per-call model over subscription APIs, especially in agent workflows using x402 micropayments on Base. Suitable for lightweight, infrequent lookups where avoiding API key management matters. Not ideal for high-frequency or bulk data ingestion due to per-call pricing.

## Known failure modes

- Invalid or unrecognized cryptocurrency symbol returns an error
- Date range exceeds available historical data
- Missing required query parameters results in a 400-level error
- Payment failure via x402 returns a 402 Payment Required response
- Rate limiting or server overload returns a 429 or 503 error

## How this service works

OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.

## Output

Returns a JSON object containing historical price data for the requested cryptocurrency, likely including timestamps and price values (open, high, low, close, and/or volume) over the specified period. Exact schema fields are not documented but follow typical OHLCV conventions.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cortex-cloud-crypto-price-history-api-5948ac42/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cortexcloud.org](https://www.zero.xyz/host/api.cortexcloud.org/llms.txt)
