crypto
ohlc
candles
technical-analysis
backtesting
market-data
trading
bitcoin
Crypto OHLC Candles ($0.005/call)
Historical OHLC candles for a crypto pair (e.g. BTC-USD) — for technical analysis and backtesting. Query: pair; granularity (1m, 5m, 15m, 1h, 6h, 1d — default 1h); limit (1-300, default 100) for the latest window, OR start & end (ISO8601 or unix secs) for a backtest range paginated server-side up to 3000 candles — months of history in one call. Returns candles oldest->newest, each {t, o, h, l, c, v}. Real-time from Coinbase.
Paid endpoint: $0.005 per call via the x402 protocol (USDC on Base). An unpaid request returns 402 with payment requirements in the PAYMENT-REQUIRED response header; attach payment and retry.
get/candles
Request
- Base URL: https://x402.shizu.me
- URL: https://x402.shizu.me/candles
- Auth: none declared
Query parameters
pairstring
granularitystring
startstring
endstring
Response
Paid result (JSON)
Changes
No recorded changes to this operation across all 1 revision of this API.