# NetIntel Crypto OHLC Candles

> NetIntel Crypto OHLC Candles is a paid API for AI agents from netintel.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns historical OHLC candlestick data for major crypto assets — hourly or daily, up to 300 candles — with period stats, and supports a price-at-date lookup mode.

## Facts

- Endpoint: GET https://netintel.dev/crypto/ohlc
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-crypto-ohlc-candles-7f7c52e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K012q_c98g7mrYgHdMkna

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 netintel-crypto-ohlc-candles-7f7c52e9
```

Example prompt: Can you pull the daily OHLC candles for Bitcoin in USD for the last 60 days, including the period high, low, and change percentage?

## When to prefer this

Choose this endpoint when you need no-API-key OHLC candlestick history for major crypto assets with automatic Coinbase/Kraken fallback, especially for price-at-date lookups or period stats (change %, high, low) without building your own exchange integration. Best for agents needing quick historical crypto price data in USD, EUR, or GBP with a simple GET request.

## Known failure modes

- Unknown or unsupported symbol returns an error or empty candles
- Requesting more than 300 daily candles or 12 hourly candles (300 candles max) may be capped
- Invalid date format for date= parameter causes a parsing error
- Unavailable asset on Coinbase with Kraken also lacking data results in no candles returned
- stale=true flag indicates cached data may be older than 5 minutes due to upstream issues

## How this service works

Historical OHLC candles for any major crypto asset — hourly or daily, up to 300 candles, with period stats (change %, high, low) — from Coinbase Exchange with Kraken fallback, no API key. Also a price-at-date mode: pass date=YYYY-MM-DD for that day's candle and close. USD, EUR, or GBP quotes; 5min cache.

## Output

Returns a JSON object containing an array of OHLC candles (time, open, high, low, close, volume), period statistics (open, close, average volume, change %, period high and low), the data source (coinbase or kraken), quote currency, start/end timestamps, candle count, cache age in seconds, and optionally a single-day close price when using date mode.

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "vs": {
       "type": "string",
       "description": "Quote currency: USD (default), EUR or GBP. Aliases: currency, fiat, vs_currency"
      },
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD price-at-date mode: that day's single daily candle + its close as price. Mutually exclusive with days/limit"
      },
      "days": {
       "type": "number",
       "description": "Lookback window, default 30. Max 300 for 1d, 12 for 1h (300 candles). Alias: period"
      },
      "limit": {
       "type": "number",
       "description": "Number of most-recent candles (the usual candle-API param). Capped at 288 for 1h, 300 for 1d. Aliases: count, candles. Use instead of days."
      },
      "symbol": {
       "type": "string",
       "description": "One ticker or full name (\"BTC\" or \"bitcoin\"); a leading $ is fine. Aliases: coin, ticker, asset"
      },
      "interval": {
       "type": "string",
       "description": "1h or 1d (default 1d). hour/hourly and day/daily accepted. Aliases: granularity, timeframe"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "vs": {
       "type": "string"
      },
      "end": {
       "type": "string"
      },
      "price": {
       "type": [
        "number",
        "null"
       ]
      },
      "stale": {
       "type": "boolean"
      },
      "start": {
       "type": "string"
      },
      "stats": {
       "type": "object",
       "properties": {
        "open": {
         "type": "number"
        },
        "close": {
         "type": "number"
        },
        "avg_volume": {
         "type": "number"
        },
        "change_pct": {
         "type": [
          "number",
          "null"
         ]
        },
        "period_low": {
         "type": "number"
        },
        "period_high": {
         "type": "number"
        }
       }

… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "vs": "USD",
  "end": "2026-08-01",
  "stale": false,
  "start": "2026-07-26",
  "stats": {
   "open": 64295.61,
   "close": 62445.14,
   "avg_volume": 5791.88,
   "change_pct": -2.88,
   "period_low": 62209.81,
   "period_high": 65705.08
  },
  "source": "coinbase",
  "symbol": "BTC",
  "candles": [
   {
    "low": 64229.6,
    "high": 65511.36,
    "open": 64295.61,
    "time": "2026-07-26T00:00:00.000Z",
    "close": 65341.07,
    "volume": 2390.56790196
   },
   {
    "low": 63545,
    "high": 65705.08,
    "open": 65341.07,
    "time": "2026-07-27T00:00:00.000Z",
    "close": 63694.43,
    "volume": 5069.45269918
   },
   {
    "low": 62645.39,
    "high": 64041.02,
    "open": 63693.44,
    "time": "2026-07-28T00:00:00.000Z",
    "close": 63847.12,
    "volume": 6232.18054403
   },
   {
    "low": 63194.45,
    "high": 64665.3,
    "open": 63847.12,
    "time": "2026-07-29T00:00:00.000Z",
    "close": 63896.14,
    "volume": 8092.70552294
   },
   {
    "low": 63502.91,
    "high": 65118.08,
    "open": 63896.14,
    "time": "2026-07-30T00:00:00.000Z",
    "close": 64721.9,
    "volume": 8025.87127027
   },
   {
    "low": 62358.96,
    "high": 65360,
    "open": 64721.9,
    "time": "2026-07-31T00:00:00.000Z",
    "close": 62825.9,
    "volume": 8260.37090197
   },
   {
    "low": 62209.81,
    "high": 63093,
    "open": 62826.69,
    "time": "2026-08-01T00:00:00.000Z",
    "close": 62445.14,
    "volume": 2472.01120363
   }
  ],
  "findings": [],
  "interval": "1d",
  "candle_count": 7,
  "cache_age_seconds": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-crypto-ohlc-candles-7f7c52e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel.dev](https://www.zero.xyz/host/netintel.dev/llms.txt)
