---
title: "Market probability history"
method: GET
path: "/prediction/markets/{market_id}/history"
tags: ["prediction"]
---

# Market probability history

`GET /prediction/markets/{market_id}/history`

## Request

- Base URL: `https://kresmion.com/v1`
- URL: `https://kresmion.com/v1/prediction/markets/{market_id}/history`
- Auth: HTTP bearer

Time series of YES probability + volume for one market, oldest-first for charting. Provide either `hours` or `days` to bound the window; the most recent points within that window are returned (capped by `limit`). Source: polymarket_history.

## Path parameters

- `market_id` string, required

## Query parameters

- `hours` integer, nullable: Look-back window in hours (mutually exclusive with days).
- `days` integer, nullable: Look-back window in days (mutually exclusive with hours).
- `limit` integer

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kresmion/apis/kresmion-api.md) · [All operations](https://skmtc.dev/kresmion/apis/kresmion-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kresmion/apis/kresmion-api/revisions/a94962dddccb?raw)
