GET /api/v1/pools/batch
Returns multiple pools by their IDs in a single request. Useful for fetching pools across different events without making individual calls.
Authentication
None required. This is a public endpoint.
Request
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ids | string | Yes | Comma-separated list of pool IDs (e.g., 1,2,3) |
Example
curl "https://intotes.com/api/v1/pools/batch?ids=1,2,3"
Response
200 OK
[
{
"id": 1,
"name": "Will BTC reach $100k?",
"name_ru": "BTC достигнет $100k?",
"rules": "Resolves YES if BTC spot price exceeds $100,000 before the finish time.",
"won_side": null,
"margin": 0,
"finish_at": "2026-04-15T00:00:00Z",
"live_at": "2026-04-01T00:00:00Z",
"markets": [],
"metadata": {}
},
{
"id": 2,
"name": "Will SOL reach $200?",
"name_ru": "SOL достигнет $200?",
"rules": "Resolves YES if SOL spot price exceeds $200 before the finish time.",
"won_side": null,
"margin": 0,
"finish_at": "2026-04-15T00:00:00Z",
"live_at": "2026-04-01T00:00:00Z",
"markets": [],
"metadata": {}
},
{
"id": 3,
"name": "Champions League Winner",
"name_ru": "Победитель Лиги Чемпионов",
"rules": "Resolves to the team that wins the 2025-26 Champions League final.",
"won_side": null,
"margin": 0,
"finish_at": "2026-05-30T00:00:00Z",
"live_at": "2026-03-01T00:00:00Z",
"markets": [],
"metadata": {}
}
]
Errors
| Status | Code | Description |
|---|---|---|
| 400 | invalid_ids | The ids parameter is missing or contains non-integer values |
| 500 | internal_error | Unexpected server error |