{"slug":"agents-x402stock-xyz-api-v1-aggregates-ticker-e0e00b","title":"The stock price history endpoint","host":"agents.x402stock.xyz","method":"GET","resource":"https://agents.x402stock.xyz/api/v1/aggregates/:ticker","category":"market","description":"The stock price history endpoint. Returns historical OHLCV bars at the requested multiplier and timespan (minute, hour, day, week, month) between `from` and `to`. Use for price history, charting, backtesting, and trend analysis over any date range. From x402stock, a pay-per-call market & economic da","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":460,"reported_calls_30d":7,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","pathParams":{"ticker":"AAPL"},"queryParams":{},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"ticker":{"type":"string"},"type":"object"},"queryParams":{"properties":{"adjusted":{"default":true,"type":"boolean"},"from":{"default":"2025-07-31","minLength":1,"type":"string"},"limit":{"default":5000,"exclusiveMinimum":0,"maximum":50000,"type":"integer"},"multiplier":{"default":1,"exclusiveMinimum":0,"maximum":50000,"type":"integer"},"sort":{"default":"asc","enum":["asc","desc"],"type":"string"},"timespan":{"default":"day","enum":["minute","hour","day","week","month","quarter","year"],"type":"string"},"to":{"default":"2026-07-31","minLength":1,"type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":460,"error":null}],"description_full":"The stock price history endpoint. Returns historical OHLCV bars at the requested multiplier and timespan (minute, hour, day, week, month) between `from` and `to`. Use for price history, charting, backtesting, and trend analysis over any date range. From x402stock, a pay-per-call market & economic data API for AI agents. No API key or account; pay in USDC via x402.","last_updated":"2026-09-22T15:52:39.864Z","schemes":["exact"]}