{"slug":"agent-commerce-factory-jm-austriaeast-cloudapp-azure-com-v1-b34eb0","title":"Historical crypto price candles (OHLC)","host":"agent-commerce-factory-jm.austriaeast.cloudapp.azure.com","method":"POST","resource":"https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/crypto/history","category":"market","description":"Historical crypto price candles (OHLC). Given a coin id or ticker (e.g. bitcoin, eth, sol) and a window of days (1, 7, 14, 30, 90, 180 or 365) returns open/high/low/close candles with ISO timestamps. For charting, technical analysis, backtesting and trend-detection agents.","price_listed":0.006,"price_asked":0.006,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":913,"reported_calls_30d":5,"reported_payers_30d":4,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"coin":"bitcoin","days":7,"vsCurrency":"usd"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"coin":{"default":"bitcoin","description":"CoinGecko id or common ticker (e.g. bitcoin, eth, sol).","type":"string"},"days":{"default":7,"description":"History window in days.","enum":[1,7,14,30,90,180,365],"type":"integer"},"vsCurrency":{"default":"usd","type":"string"}},"required":[],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"candles":{"items":{"properties":{"close":{"type":["number","null"]},"high":{"type":["number","null"]},"low":{"type":["number","null"]},"open":{"type":["number","null"]},"time":{"type":["string","null"]}},"type":"object"},"type":"array"},"coin":{"type":"string"},"count":{"type":"integer"},"days":{"type":"integer"},"economics":{"properties":{"sellPriceUsd":{"type":"number"},"upstreamCostUsdActual":{"type":["number","null"]}},"type":"object"},"machine":{"type":"string"},"route":{"type":"string"},"vsCurrency":{"type":"string"}},"required":["machine","route","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.006,"price_match":true,"latency_ms":913,"error":null}],"description_full":"Historical crypto price candles (OHLC). Given a coin id or ticker (e.g. bitcoin, eth, sol) and a window of days (1, 7, 14, 30, 90, 180 or 365) returns open/high/low/close candles with ISO timestamps. For charting, technical analysis, backtesting and trend-detection agents.","last_updated":"2026-09-05T00:16:15.891Z","schemes":["exact"]}