Predict.fun Market Book
predictfun_market_bookThe newest recorded order book of one Predict.fun market, priced on its first outcome (Yes): bids highest first and asks lowest first as [price, quantity], orders matched but not yet settled (pending_*), the last settled order, ts (Predict.fun's time) and recorded_ts (ours), epoch ms. Books are recorded for the ~1,000 most active open markets; none in 30 days is an error.
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": {
"market_id": "<market_id>"
},
"name": "predictfun_market_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market_id | Yes | The Predict.fun market id (`market_id` from predictfun_markets). Required. |