GET /api/v1/pools/{id}/charts
Returns comprehensive chart data for a pool across multiple time scales. This endpoint provides pre-aggregated data suitable for rendering probability and volume charts on pool detail pages.
Authentication​
None required. This is a public endpoint.
Request​
Path Parameters​
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The pool ID |
Example​
curl https://intotes.com/api/v1/pools/42/charts
Response​
200 OK​
Returns chart data organized by time scale. Each scale contains an array of data points with timestamps and probability values for each market outcome.
{
"1h": [
{
"timestamp": "2026-04-04T14:00:00Z",
"values": [0.55, 0.45]
},
{
"timestamp": "2026-04-04T15:00:00Z",
"values": [0.58, 0.42]
}
],
"1d": [
{
"timestamp": "2026-04-03T00:00:00Z",
"values": [0.50, 0.50]
},
{
"timestamp": "2026-04-04T00:00:00Z",
"values": [0.55, 0.45]
}
],
"1w": [
{
"timestamp": "2026-03-28T00:00:00Z",
"values": [0.48, 0.52]
},
{
"timestamp": "2026-04-04T00:00:00Z",
"values": [0.55, 0.45]
}
],
"1m": [
{
"timestamp": "2026-03-04T00:00:00Z",
"values": [0.45, 0.55]
},
{
"timestamp": "2026-04-04T00:00:00Z",
"values": [0.55, 0.45]
}
]
}
Errors​
| Status | Code | Description |
|---|---|---|
| 400 | invalid_pool_id | The pool ID is not a valid integer |
| 404 | pool_not_found | No pool exists with the given ID |
| 500 | internal_error | Unexpected server error |