{"slug":"marketdata-use-x402atlas-com-aggregates-692617","title":"Market data OHLC candlestick bars for stocks, crypto, forex and options — histor","host":"marketdata.use.x402atlas.com","method":"GET","resource":"https://marketdata.use.x402atlas.com/aggregates","category":"market","description":"Market data OHLC candlestick bars for stocks, crypto, forex and options — historical aggregates over any window by ticker.","price_listed":0.015,"price_asked":0.015,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":600,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"adjusted":true,"from":"2026-06-01","limit":10,"multiplier":1,"sort":"desc","ticker":"X:BTCUSD","timespan":"day","to":"2026-06-30"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"adjusted":{"default":true,"description":"Adjust for splits","type":"boolean"},"from":{"description":"Window start: YYYY-MM-DD or millisecond epoch. Historical depth is limited (~2 years); prefer recent windows","type":"string"},"limit":{"description":"Max base aggregates returned","maximum":50000,"minimum":1,"type":"integer"},"multiplier":{"description":"Size of the timespan multiplier (e.g. 5 for 5-minute bars)","maximum":50000,"minimum":1,"type":"integer"},"sort":{"description":"Result ordering","enum":["asc","desc"],"type":"string"},"ticker":{"description":"Asset-prefixed ticker, e.g. AAPL, X:BTCUSD, C:EURUSD","type":"string"},"timespan":{"description":"Aggregate window unit","enum":["minute","hour","day","week","month","quarter","year"],"type":"string"},"to":{"description":"Window end: YYYY-MM-DD or millisecond epoch","type":"string"}},"required":["ticker","multiplier","timespan","from","to"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"adjusted":{"description":"Whether prices are split-adjusted.","type":"boolean"},"candles":{"description":"Normalized OHLCV bars for the requested window.","items":{"properties":{"close":{"type":"number"},"high":{"type":"number"},"low":{"type":"number"},"open":{"type":"number"},"time":{"description":"Bar start timestamp.","format":"date-time","type":"string"},"transactions":{"description":"Number of upstream transactions in the bar.","type":"integer"},"volume":{"type":"number"},"vwap":{"description":"Volume-weighted average price.","type":"number"}},"required":["time","open","high","low","close","volume","vwap","transactions"],"type":"object"},"type":"array"},"from":{"description":"Echo of the requested window start.","type":"string"},"multiplier":{"description":"Echo of the requested timespan multiplier.","type":"integer"},"queried_at":{"description":"UTC timestamp when this bridge queried the upstream.","format":"date-time","type":"string"},"ticker":{"description":"Echo of the requested ticker.","type":"string"},"timespan":{"description":"Echo of the requested timespan unit.","type":"string"},"to":{"description":"Echo of the requested window end.","type":"string"}},"required":["queried_at","ticker","multiplier","timespan","from","to","adjusted","candles"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.015,"price_match":true,"latency_ms":600,"error":null}],"description_full":"Market data OHLC candlestick bars for stocks, crypto, forex and options — historical aggregates over any window by ticker.","last_updated":"2026-09-15T06:31:10.381Z","schemes":["exact"]}