GET /api/v1/events/{id}
Возвращает одно событие со всеми подробностями, включая все пулы и их рынки.
Аутентификация
Не требуется.
Запрос
| Параметр | Тип | В | Описание |
|---|---|---|---|
id | int64 | path | Обязательно. Числовой ID события |
Пример
curl "https://api.intotes.com/api/v1/events/1"
Ответ
200 OK
{
"id": 1,
"name": "Will ETH reach $5000 by June?",
"name_ru": "ETH достигнет $5000 к июню?",
"tags": ["crypto", "ethereum"],
"image_url": "https://images.intotes.com/events/eth-5000.png",
"status": "started",
"is_active": true,
"created_at": "2026-03-15T12:00:00Z",
"versus_names": ["Yes", "No"],
"versus_images": [],
"has_draw": false,
"pools": [
{
"id": 10,
"name": "Main Pool",
"name_ru": "Основной пул",
"margin": 0,
"finish_at": "2026-06-30T23:59:59Z",
"live_at": "2026-03-15T12:00:00Z",
"rules": "Resolves YES if ETH spot price on Coinbase reaches $5000 at any point before the deadline.",
"markets": [
{
"id": 101,
"pool_id": 10,
"name": "Yes",
"yes_probability": 0.38,
"market_type": "lmsr",
"volume": 150000,
"b": 1000000,
"q_yes": 5000,
"q_no": 4500,
"paused": false,
"resolved": false,
"outcome_index": 0
},
{
"id": 102,
"pool_id": 10,
"name": "No",
"yes_probability": 0.62,
"market_type": "lmsr",
"volume": 120000,
"b": 1000000,
"q_yes": 4500,
"q_no": 5000,
"paused": false,
"resolved": false,
"outcome_index": 1
}
]
}
]
}
404 Not Found
{
"error": "event not found"
}