GET /api/v1/markets/{id}
Returns a single market by its unique identifier. A market represents one tradeable outcome within a pool.
Authentication
None required. This is a public endpoint.
Request
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The unique market ID |
Example
curl https://intotes.com/api/v1/markets/101
Response
200 OK
{
"id": 101,
"pool_id": 42,
"name": "Team A",
"name_ru": "Команда А",
"yes_probability": 0.40,
"market_type": "lmsr",
"volume": 250000,
"b": 10000,
"q_yes": 8500,
"q_no": 6200,
"paused": false,
"resolved": false,
"winning_outcome": null,
"outcome_index": 0,
"yes_name": "Yes",
"no_name": "No"
}
Market Fields
| Field | Type | Description |
|---|---|---|
id | integer | Unique market ID |
pool_id | integer | Parent pool ID |
name | string | Market outcome name in English |
name_ru | string | Market outcome name in Russian |
yes_probability | float | Current YES probability (0 to 1) |
market_type | string | Market type: "lmsr" or "orderbook" |
volume | integer | Total traded volume in kopecks |
b | integer | LMSR liquidity parameter |
q_yes | integer | Quantity of YES shares in the AMM |
q_no | integer | Quantity of NO shares in the AMM |
paused | boolean | Whether trading is currently paused |
resolved | boolean | Whether the market has been resolved |
winning_outcome | string or null | The winning outcome after resolution |
outcome_index | integer | Index of this outcome within the pool |
yes_name | string | Display name for the YES side |
no_name | string | Display name for the NO side |
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 |