Get recent or bounded historical Coinbase Exchange OHLCV candles for a crypto pa
Get recent or bounded historical Coinbase Exchange OHLCV candles for a crypto pair. Returns timestamp, low, high, open, close and volume. Supports 1m, 5m, 15m, 1h, 6h and 1d bars with at most 300 candles.
Answeringour last check, 2026-10-01
1 of 1checks answered this week
882 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402-gateway-production-1f21.up.railway.app/crypto/candles
| Category | Market data |
|---|---|
| Provider host | x402-gateway-production-1f21.up.railway.app |
| Networks | eip155:137, eip155:42161, eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-01 | valid payment request | 402 | $0.005 | 882 ms |
Example input (from the provider)
{
"body": {
"granularity": 3600,
"limit": 48,
"product_id": "BTC-USD"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"end": {
"description": "Optional Unix end timestamp in seconds.",
"minimum": 0,
"type": "integer"
},
"granularity": {
"description": "Candle width in seconds.",
"enum": [
60,
300,
900,
3600,
21600,
86400
],
"type": "integer"
},
"limit": {
"description": "When start/end are omitted, target this many recent bars; default 100.",
"maximum": 300,
"minimum": 1,
"type": "integer"
},
"product_id": {
"description": "Coinbase Exchange product such as BTC-USD, ETH-USD, SOL-USD or ETH-USDC.",
"pattern": "^[A-Za-z0-9]{2,15}-[A-Za-z0-9]{2,15}$",
"type": "string"
},
"start": {
"description": "Optional Unix start timestamp in seconds.",
"minimum": 0,
"type": "integer"
}
},
"required": [
"product_id"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}