# Xynaptic Crypto Historical

> Xynaptic Crypto Historical is a paid API for AI agents from api.xynaptic.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-02).

Returns daily OHLCV (open, high, low, close, volume) candlestick history for a cryptocurrency over 30, 90, or 365 days, sourced from CoinGecko.

## Facts

- Endpoint: GET https://api.xynaptic.io/v1/crypto-historical?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xynaptic-crypto-historical-bcd48560
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SMNAd6b8t-FUiJSBE6kYV

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 xynaptic-crypto-historical-bcd48560
```

Example prompt: Can you pull the daily open, high, low, and close price history for bitcoin over the last 365 days so I can run a backtest on it?

## When to prefer this

Choose this endpoint when you need daily OHLCV candlestick history for a specific cryptocurrency over a fixed window of 30, 90, or 365 days, especially for backtesting trading strategies or analyzing historical price behavior. It is best suited for structured quantitative analysis where timestamped open/high/low/close arrays are required. Prefer it over live price endpoints when historical context is needed rather than real-time quotes.

## Known failure modes

- Unsupported coin ID returns an error or empty result
- Days parameter outside allowed values (30, 90, 365) may return an error
- Rate limiting or payment failure results in 402 or 429 response
- CoinGecko data unavailable or delayed causes stale or missing candles
- Malformed query parameters (e.g. missing 'coin') return a 400 bad request

## How this service works

Xynaptic Crypto Historical — OHLCV history for backtests: 30, 90 or 365 days, daily candles from CoinGecko. GET ?coin=bitcoin&days=365. Returns timestamped [open, high, low, close] arrays.

## Output

An array of timestamped daily candlestick entries, each containing open, high, low, and close prices for the requested cryptocurrency, covering the specified number of days (30, 90, or 365).

## 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",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "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/xynaptic-crypto-historical-bcd48560/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.xynaptic.io](https://www.zero.xyz/host/api.xynaptic.io/llms.txt)
