{"uid":"cap_qelgnDxeKe_5hI8JvplC9","slug":"speraxos-binance-klines-ohlcv-candlestick-api-0bd93c51","name":"SperaxOS Binance Klines (OHLCV Candlestick) API","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/tools/binance-market/getKlines?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"number","default":100,"description":"Number of candles to return (1–500)."},"symbol":{"type":"string","description":"Trading pair in any common form: \"BTCUSDT\", \"BTC/USDT\" or a bare \"BTC\" (a USDT quote is assumed)."},"interval":{"type":"string","default":"1h","description":"Candle interval: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w or 1M."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mytqnilLxg_a725LolnSK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches historical OHLCV candlestick (kline) data for a given trading pair from Binance, payable per-request via x402/USDC.","exampleAgentPrompt":"Pull the last 200 hourly OHLCV candles for BTC/USDT from Binance so I can run a technical analysis.","exampleUseCases":[{"title":"Technical indicator calculation for trading bot","prompt":"Get me the last 50 four-hour candles for ETH/USDT so I can calculate RSI and MACD for my trading strategy."},{"title":"Daily price history review for portfolio","prompt":"Fetch the past 30 daily candles for SOL so I can see how its price and volume have trended over the last month."},{"title":"Intraday scalping data for alert system","prompt":"Give me the last 100 one-minute candles for BNBUSDT — I need the highs and lows to set up price alert thresholds."}],"resultDescription":"Returns an ordered array of OHLCV (open, high, low, close, volume) candlestick records for the requested trading pair and interval, up to the requested limit (max 500). Each record includes timestamp, open, high, low, close, and volume fields sourced from Binance.","failureModes":["Invalid or unrecognized trading pair symbol returns an error","Interval value outside supported options (e.g. typo) returns a validation error","Limit outside 1–500 range may return an error or be clamped","Payment via x402/USDC fails if wallet has insufficient USDC balance on Base","Network or Binance upstream outage causes timeout or 5xx error"],"whenToPreferThis":"Use this endpoint when you need Binance OHLCV candlestick data payable per-call without an API key, especially in AI agent or DeFi workflows using the x402 payment protocol on Base. Prefer it over self-managed Binance API integrations when you want pay-as-you-go access without key management overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:51:14.211Z","isFirstParty":false,"canonicalSlug":"speraxos-binance-klines-ohlcv-candlestick-api-0bd93c51"}