Get prediction event
get_prediction_eventOne Polymarket event (all its outcomes) by event slug, event id, market slug or condition_id: each outcome's price, bid/ask and price history, plus live game state for sports. Prices are YES probabilities 0..1. interval is the history's lookback window (1h, 6h, 1d, 1w, 1m, max), not a bar size; keep it short (default 1d) on many-outcome events.
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": {
"key": "<key>"
},
"name": "get_prediction_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Event slug, Gamma event id, market slug or condition id. | |
| interval | No | Price-history window (default 1d). | |
| include_no_history | No | Add binary outcomes' NO-side series (default false). It is always `1 - p` of `history`, so it only doubles the payload. |