{"slug":"predict-vigilix-fr-v1-markets-id-history-e02120","title":"Price history of a market (bid/ask/mid/last) at 5m, 1h or 1d resolution","host":"predict.vigilix.fr","method":"GET","resource":"https://predict.vigilix.fr/v1/markets/:id/history","category":"market","description":"Price history of a market (bid/ask/mid/last) at 5m, 1h or 1d resolution. Delayed >= 24 h. Not charged on errors.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":1052,"reported_calls_30d":3,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","pathParams":{"id":"6977205"},"queryParams":{"from":"2026-11-20T00:00:00Z","interval":"1h","to":"2026-11-21T00:00:00Z"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"pathParams":{"properties":{"id":{"description":"Market id: numeric Polymarket id (e.g. 559651) or Kalshi ticker (e.g. KXELONMARS-99); 'polymarket:<id>' / 'kalshi:<ticker>' also accepted","type":"string"}},"required":["id"],"type":"object"},"queryParams":{"properties":{"from":{"description":"Start of the range: ISO-8601 date-time in UTC ('Z') or with an offset (2026-11-20T12:00:00Z, 2026-11-20T13:00:00+01:00), a plain date (2026-11-20 = midnight UTC) or Unix epoch seconds (1795132800). Points start at the first interval boundary after it, and never before the market was first recorded. Default: 'to' minus 1 day (interval=5m), 7 days (1h) or 90 days (1d). Must be before 'to'.","type":"string"},"interval":{"default":"1h","description":"Spacing of the points: 5m (5 minutes), 1h (1 hour) or 1d (1 day). Default: 1h. Each point is the last quote recorded at or before its time; at most 2000 points per page, then follow next_from.","enum":["5m","1h","1d"],"type":"string"},"platform":{"description":"Platform: polymarket or kalshi (lower case). Optional, default: inferred from the id (numeric id = polymarket, otherwise kalshi); ignored when the id is prefixed with 'polymarket:' or 'kalshi:'.","enum":["polymarket","kalshi"],"type":"string"},"to":{"description":"End of the range (inclusive), same formats as 'from'. Default and maximum: the data cutoff (now minus 24 h); later values are clamped to it.","type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"collection_gaps":{"type":"array"},"data_cutoff":{"format":"date-time","type":"string"},"data_delay_hours":{"type":"number"},"disclaimer":{"type":"string"},"interval":{"type":"string"},"market":{"properties":{"category":{"type":["string","null"]},"end_date":{"type":["string","null"]},"id":{"type":"string"},"platform":{"enum":["polymarket","kalshi"],"type":"string"},"priced_outcome":{"type":"string"},"question":{"type":"string"},"source":{"enum":["Polymarket","Kalshi"],"type":"string"},"status":{"enum":["open","closed","resolved"],"type":"string"},"url":{"format":"uri","type":["string","null"]}},"required":["platform","id","source","url"],"type":"object"},"next_from":{"type":["string","null"]},"points":{"items":{"properties":{"ask":{"type":["number","null"]},"bid":{"type":["number","null"]},"last":{"type":["number","null"]},"mid":{"type":["number","null"]},"observed_at":{"type":"string"},"t":{"type":"string"},"volume":{"type":["number","null"]}},"type":"object"},"type":"array"}},"required":["market","points","disclaimer"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":904,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1052,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1087,"error":null}],"description_full":"Price history of a market (bid/ask/mid/last) at 5m, 1h or 1d resolution. Delayed >= 24 h. Not charged on errors.","last_updated":"2026-11-24T16:49:59.441Z","schemes":["exact"]}