# CRYPTYX Market History – Daily OHLCV

> CRYPTYX Market History – Daily OHLCV is a paid API for AI agents from www.cryptyx.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns daily OHLCV (open, high, low, close, volume) price history for a crypto asset, up to 365 days back, sourced from CoinMarketCap.

## Facts

- Endpoint: GET https://www.cryptyx.ai/api/market-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/cryptyx-market-history-daily-ohlcv-17a4992a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HI0So01HR94slGIkGCnZe

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 cryptyx-market-history-daily-ohlcv-17a4992a
```

Example prompt: Can you pull the daily OHLCV price history for BTC from CRYPTYX for the last 90 days so I can see open, high, low, close, and volume for each day?

## When to prefer this

Use this endpoint when you need raw daily OHLCV price data for a crypto asset as the canonical spot price feed for CRYPTYX-based analysis — especially when computing or verifying CRYPTYX factor scores, regime classifications, or signal metrics, since all CRYPTYX analytics are derived from this same underlying dataset.

## Known failure modes

- Invalid or unrecognized asset symbol returns an error or empty dataset
- Requesting more than 365 days exceeds the maximum lookback and may return an error
- Missing required asset parameter causes a 400-level error
- Payment not received (x402) results in a 402 Payment Required response
- Network or upstream CoinMarketCap data unavailability causes a 503 or empty response

## How this service works

CRYPTYX | institutional-grade crypto intelligence: 150+ signals, 440+ metrics, 200+ assets. | Daily OHLCV bars for a single asset over a configurable lookback (1-1825 days, default 90), anchored to the latest pipeline day. Response is a bare JSON array of rows with keys asof_day, asset, open_px, high_px, low_px, close_px, volume_usd, sourced from api.v_daily_ohlcv. UTC-1 canonical anchor, ~200-asset universe, up to 5 years of backfilled history. Use as the grounded spot price tape feeding all CRYPTYX factor scores and signals.

## Output

A JSON array of daily OHLCV records for the requested asset, each containing date (UTC-1 anchor), open, high, low, close, and volume fields, covering up to 365 days of lookback.

## 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"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "asset"
     ],
     "properties": {
      "days": {
       "type": "number",
       "description": "Lookback window in days (1-1825, default 90). Anchored to the latest pipeline day."
      },
      "asset": {
       "type": "string",
       "description": "Asset ticker (uppercased, trimmed). Required. e.g. BTC, ETH, SOL"
      }
     }
    }
   },
   "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/cryptyx-market-history-daily-ohlcv-17a4992a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.cryptyx.ai](https://www.zero.xyz/host/www.cryptyx.ai/llms.txt)
