One market
get_marketOne market by its ref: outcomes and prices, status and result. include adds sections, each costing one more request: book (the order book), whales (the traders behind the whale money, counted as rows), call (Rivo's read of which side has the most behind it), history (price history; range sets 1h, 1d or 7d), trades (recent whale trades, counted as rows).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ref": "<ref>"
},
"name": "get_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The market ref. | |
| range | No | ||
| include | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |