{"uid":"cap_BvBjQ3LGi27ZJPeulu0pc","slug":"binance-ohlcv-candles-with-pre-computed-technical-indicators-d5315783","name":"Binance OHLCV Candles with Pre-Computed Technical Indicators","description":"Binance OHLCV candles with ready indicators: RSI14, SMA20, SMA50, ATR14, volatility and a trend label. Intervals 1m to 1w. Use for technical analysis without computing anything.","url":"https://api.agent-data.workers.dev/api/v1/candles?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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","required":["symbol"],"properties":{"limit":{"type":"integer","maximum":200,"minimum":1},"symbol":{"type":"string"},"interval":{"enum":["1m","5m","15m","30m","1h","4h","1d","1w"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"symbol":"ETHUSDT","candles":[{"low":3495.2,"high":3530,"open":3500.1,"close":3521.4,"volume":1234.5,"open_time":1767225600}],"interval":"1h","indicators":{"rsi14":58.2,"sma20":3510.4,"sma50":3478.9,"trend":"up","atr14_pct":0.62,"rsi_signal":"neutral"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uyvctOLM0MlGWazibYKxa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Binance OHLCV candlestick data for a trading pair with pre-computed technical indicators (RSI14, SMA20, SMA50, ATR14, volatility, trend label) across intervals from 1m to 1w.","exampleAgentPrompt":"Can you pull the last 50 hourly candles for ETHUSDT with RSI14, SMA20, SMA50, ATR, and trend label — I want to see if it's currently in an uptrend and whether RSI is overbought?","exampleUseCases":[{"title":"Momentum check before entering trade","prompt":"Before I buy BTCUSDT, can you get me the last 20 candles on the 4h interval with RSI14 and the trend label so I can see if momentum supports a long entry?"},{"title":"Volatility sizing for options strategy","prompt":"I need the ATR14 percentage and recent 1d candles for SOLUSDT — grab 30 candles so I can estimate how much the price moves daily before sizing my position."},{"title":"Moving average crossover signal scan","prompt":"Fetch the last 100 daily candles for BNBUSDT with SMA20 and SMA50 so I can check whether the 20-day has crossed above the 50-day recently."}],"resultDescription":"Returns a JSON object with the trading symbol, interval, an array of OHLCV candles (open, high, low, close, volume, open_time), and a pre-computed indicators object containing RSI14 value, SMA20, SMA50, ATR14 as a percentage of price, a trend label (e.g. 'up', 'down'), and an RSI signal classification (e.g. 'neutral', 'overbought', 'oversold').","failureModes":["Invalid or unsupported symbol (e.g. delisted pair) returns error","Interval not in allowed enum values returns validation error","Limit exceeding 200 or below 1 returns validation error","Binance upstream outage may cause timeout or empty response","Missing required symbol parameter returns 400-level error"],"whenToPreferThis":"Choose this endpoint when an agent needs technical analysis indicators (RSI, SMAs, ATR, trend) alongside OHLCV data in a single call without running any calculations. It is ideal when speed matters and the agent should not implement its own indicator logic. Prefer over raw OHLCV endpoints when indicator values are needed immediately, and prefer over general financial data APIs when the focus is specifically Binance spot pairs with agentic-friendly JSON output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T18:36:04.037Z","isFirstParty":false,"canonicalSlug":"binance-ohlcv-candles-with-pre-computed-technical-indicators-d5315783"}