Historical OHLC candles for any major crypto asset — hourly or daily, up to 300 candles…
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 a…
by netintel.dev · discovered, not yet claimed by its owner · updated 2026-10-13
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: ohlc · candles · price history · bitcoin history · backtest data · bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-13
{
"days": 7,
"interval": "1d",
"symbol": "BTC"
}{
"cache_age_seconds": 0,
"candle_count": 7,
"candles": [
{
"close": 65341.07,
"high": 65511.36,
"low": 64229.6,
"open": 64295.61,
"time": "2026-07-26T00:00:00.000Z",
"volume": 2390.56790196
},
{
"close": 63694.43,
"high": 65705.08,
"low": 63545,
"open": 65341.07,
"time": "2026-07-27T00:00:00.000Z",
"volume": 5069.45269918
},
{
"close": 63847.12,
"high": 64041.02,
"low": 62645.39,
"open": 63693.44,
"time": "2026-07-28T00:00:00.000Z",
"volume": 6232.18054403
},
{
"close": 63896.14,
"high": 64665.3,
"low": 63194.45,
"open": 63847.12,
"time": "2026-07-29T00:00:00.000Z",
"volume": 8092.70552294
},
{
"close": 64721.9,
"high": 65118.08,
"low": 63502.91,
"open": 63896.14,
"time": "2026-07-30T00:00:00.000Z",
"volume": 8025.87127027
},
{
"close": 62825.9,
"high": 65360,
"low": 62358.96,
"open": 64721.9,
"time": "2026-07-31T00:00:00.000Z",
"volume": 8260.37090197
},
{
"close": 62445.14,
"high": 63093,
"low": 62209.81,
"open": 62826.69,
"time": "2026-08-01T00:00:00.000Z",
"volume": 2472.01120363
}
],
"end": "2026-08-01",
"findings": [],
"interval": "1d",
"source": "coinbase",
"stale": false,
"start": "2026-07-26",
"stats": {
"avg_volume": 5791.88,
"change_pct": -2.88,
"close": 62445.14,
"open": 64295.61,
"period_high": 65705.08,
"period_low": 62209.81
},
"symbol": "BTC",
"vs": "USD"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/29558.jsonfor the price and payment options. - Pay. Call
GET https://netintel.dev/crypto/ohlc. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.02 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 3 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.02 | 0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.02 | 8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"cache_age_seconds": {
"type": "number"
},
"candle_count": {
"type": "number"
},
"candles": {
"items": {
"properties": {
"close": {
"type": "number"
},
"high": {
"type": "number"
},
"low": {
"type": "number"
},
"open": {
"type": "number"
},
"time": {
"type": "string"
},
"volume": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"end": {
"type": "string"
},
"findings": {
"type": "array"
},
"interval": {
"type": "string"
},
"price": {
"type": [
"number",
"null"
]
},
"source": {
"description": "coinbase | kraken",
"type": "string"
},
"stale": {
"type": "boolean"
},
"start": {
"type": "string"
},
"stats": {
"properties": {
"avg_volume": {
"type": "number"
},
"change_pct": {
"type": [
"number",
"null"
]
},
"close": {
"type": "number"
},
"open": {
"type": "number"
},
"period_high": {
"type": "number"
},
"period_low": {
"type": "number"
}
},
"type": "object"
},
"symbol": {
"type": "string"
},
"vs": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"cache_age_seconds": 0,
"candle_count": 0,
"candles": [
{
"close": 0,
"high": 0,
"low": 0,
"open": 0,
"time": "string",
"volume": 0
}
],
"end": "string",
"findings": [
"value"
],
"interval": "string",
"price": 0,
"source": "string",
"stale": true,
"start": "string",
"stats": {
"avg_volume": 0,
"change_pct": 0,
"close": 0,
"open": 0,
"period_high": 0,
"period_low": 0
},
"symbol": "string",
"vs": "string"
},
"type": "string"
}Examples
curl -X GET 'https://netintel.dev/crypto/ohlc'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://netintel.dev/crypto/ohlc", {
"method": "GET"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.request("GET", "https://netintel.dev/crypto/ohlc")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- netintel.dev
- Endpoint
- https://netintel.dev/crypto/ohlc
- Machine-readable
/resources/29558.json