get_midpoint
Retrieve the midpoint price for a prediction market token from Polymarket's order book to analyze real-time pricing and implied probabilities.
Instructions
Get midpoint price via CLOB /midpoint. Source: clobTokenIds from list_active_markets or get_market_details. If token has no active CLOB/order book, returns 404. Example: token_id=clobTokenIds[0].
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": {
"token_id": "<token_id>"
},
"name": "get_midpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes | The token ID to get midpoint price for |