{"uid":"cap_tpiD3AZibtgqbLEKdNs4E","slug":"crypto-candlestick-ohlcv-indicators-api-29685afd","name":"Crypto Candlestick OHLCV + Indicators API","description":"Crypto market data and web tools for autonomous agents: read web pages, PDFs and YouTube transcripts, check domains and tokens. Every `/api/v1/*` call is paid per call: **$0.003** for simple reads, **$0.005-$0.01** for aggregates, **$0.02-$0.03** for token risk checks and reports (USDC or USDT). Each route's price is in `x-payment-info`.\n\n**x402 agents:** pay automatically. The 402 response carries a standard `PAYMENT-REQUIRED` header (x402 v2, USDC on Base or Solana, USDT on Solana); retry with `PAYMENT-SIGNATURE`.\n\n**Manual (legacy) flow:** call the endpoint, read the HTTP 402 JSON (`pay_to`, `asset`, `price`), send the USDT transfer, then repeat the call with header `X-Payment-Tx: <signature>`. One signature pays for one call; signatures older than the `max_tx_age_seconds` value are rejected.\n\nMachine-readable spec: `/openapi.json`. LLM summary: `/llms.txt`. MCP server: `POST /mcp`.","url":"https://194-28-85-99.sslip.io/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":"down","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_oXfzHj3d4WEWPcflP4eAO","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 OHLCV candlestick data with technical indicators (RSI, SMA, ATR, trend) for a given crypto trading pair and interval","exampleAgentPrompt":"Can you pull the last 100 hourly candles for ETHUSDT, including RSI, SMA, and trend direction so I can see if ETH is currently bullish?","exampleUseCases":[{"title":"Crypto trading bot signal generation","prompt":"Get me the last 50 four-hour candles for BTCUSDT with RSI-14, SMA-20, SMA-50, and trend — I want to decide whether to open a long position."},{"title":"Portfolio momentum check","prompt":"Pull the daily candles for SOLUSDT for the last 30 days and tell me what the trend, RSI signal, and ATR percentage are right now."},{"title":"Intraday scalping setup","prompt":"Fetch the last 200 one-minute candles for ETHUSDT — I need to see the volume, high, low, and whether RSI is overbought or neutral."}],"resultDescription":"Returns a JSON object with the trading symbol, the requested interval, an array of OHLCV candles (open, high, low, close, volume, open_time), and a computed indicators block containing RSI-14 value and signal, SMA-20, SMA-50, ATR-14 as a percentage, and overall trend direction (up/down/neutral).","failureModes":["Missing required 'symbol' parameter returns HTTP 400","Unsupported interval value returns validation error","Symbol not found on exchange returns empty or error response","Payment not provided or invalid signature returns HTTP 402 with payment details","Stale payment signature older than max_tx_age_seconds is rejected","Limit exceeding 200 or below 1 returns validation error"],"whenToPreferThis":"Choose this endpoint when you need candlestick OHLCV data bundled with pre-computed technical indicators (RSI, SMA, ATR, trend) in a single pay-per-call request via x402 micropayments, avoiding the need to run your own indicator calculations. It is especially well-suited for autonomous trading agents that need fast, cheap technical analysis without maintaining a data pipeline or exchange API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-15T19:26:05.544Z","isFirstParty":false,"canonicalSlug":"crypto-candlestick-ohlcv-indicators-api-29685afd"}