{"uid":"cap_qtRzSuDB7YRzr-LwHL04k","slug":"genexxis-ohlcv-candles-1c23c35a","name":"Genexxis OHLCV Candles","description":"Spot OHLCV candles (1m to 1w, up to 1000) for a coin against USDT from Binance (fallback OKX), with window open/high/low/close, change % and exact traded VWAP.","url":"https://prices.genexxis.com/ohlcv?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":"string","description":"Number of candles, 1-1000 (default 100)"},"symbol":{"type":"string","description":"Coin ticker, e.g. BTC, ETH, SOL"},"interval":{"type":"string","description":"1m, 5m, 15m, 30m, 1h (default), 4h, 1d, 1w"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"pair":"ETHUSDT","count":24,"venue":"binance","symbol":"ETH","candles":[[1792814400000,2331.5,2335.2,2325.1,2330.8,3900.2]],"columns":["openTimeMs","open","high","low","close","volumeBase"],"summary":{"low":2318.4,"high":2362.1,"open":2331.5,"vwap":2341.86,"close":2346.7,"changePct":0.65,"volumeBase":98000.5,"volumeQuote":229500000},"interval":"1h"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AFwdvLpUSymJZuF8h0SWm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 (open, high, low, close, volume) for a crypto coin against USDT across intervals from 1 minute to 1 week, sourced from Binance with OKX fallback, including VWAP and change %.","exampleAgentPrompt":"Can you pull the last 100 hourly OHLCV candles for ETH, including its VWAP and percent change over that window?","exampleUseCases":[{"title":"Intraday trading signal analysis","prompt":"Get me the last 200 five-minute candles for BTC so I can check the VWAP and recent price action."},{"title":"Daily crypto portfolio review","prompt":"Pull the past 30 daily candles for SOL against USDT — I want to see the high, low, close and volume traded each day plus the overall change percent."},{"title":"Weekly trend check for altcoin","prompt":"Fetch the last 52 weekly candles for LINK so I can spot longer-term price trends and see where the VWAP sits."}],"resultDescription":"A JSON object containing the trading pair, number of candles returned, venue (binance or okx), the symbol, an array of candles (each with openTimeMs, open, high, low, close, volumeBase), column labels, the candle interval, and a summary with overall open, high, low, close, VWAP, change percent, base volume, and quote volume across the requested window.","failureModes":["Unknown or unsupported symbol returns an error or empty result","Interval not in the allowed enum (1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w) returns a validation error","Limit outside 1-1000 range returns a validation error","Binance and OKX both unavailable results in a service error","Missing required symbol parameter returns a 400-level error","Payment not included or insufficient returns HTTP 402"],"whenToPreferThis":"Choose this endpoint when you need historical candlestick data (OHLCV) for a specific crypto coin against USDT at a defined interval, especially when you also need VWAP, volume in both base and quote currency, and aggregate change percentage in a single call. Prefer it over generic price endpoints when technical analysis or charting data is needed rather than just the current spot price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:45.206Z","isFirstParty":false,"canonicalSlug":"genexxis-ohlcv-candles-1c23c35a"}