GET /api/v1/markets/{id}/chart
Returns price history chart data for a single market. Each data point represents the YES probability at a given timestamp, suitable for rendering a price line chart.
Authentication​
None required. This is a public endpoint.
Request​
Path Parameters​
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The market ID |
Example​
curl https://intotes.com/api/v1/markets/101/chart
Response​
200 OK​
Returns an array of data points ordered chronologically. Each point contains a timestamp and the YES probability at that moment.
[
{
"timestamp": "2026-04-04T12:00:00Z",
"probability": 0.40
},
{
"timestamp": "2026-04-04T13:00:00Z",
"probability": 0.42
},
{
"timestamp": "2026-04-04T14:00:00Z",
"probability": 0.38
},
{
"timestamp": "2026-04-04T15:00:00Z",
"probability": 0.45
},
{
"timestamp": "2026-04-04T16:00:00Z",
"probability": 0.44
}
]
Errors​
| Status | Code | Description |
|---|---|---|
| 400 | invalid_market_id | The market ID is not a valid integer |
| 404 | market_not_found | No market exists with the given ID |
| 500 | internal_error | Unexpected server error |