Polymarket price to beat (paid, $0.004)
polymarket_price_to_beatPAID over x402 inside this tool call ($0.004 USDC on Base, Polygon or Arc): the OFFICIAL Polymarket price to beat for the live BTC, ETH, SOL or XRP 5m/15m Up/Down window (matched to every decimal against Polymarket), the live Chainlink price and its distance, seconds left, token ids and market prices. Call it once without payment to get the x402 PaymentRequired; your x402 wallet signs it and you call again with the payment in _meta["x402/payment"]. Set free=true for one free answer per agent.
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": "<market>"
},
"name": "polymarket_price_to_beat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| free | No | Use your one free call (per agent) instead of paying. | |
| start | No | Optional unix start of a past window (official outcome). | |
| market | Yes | Which market: <asset>-<timeframe>. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _paid | No | x402 receipt | |
| market | No | Market, e.g. btc-5m | |
| tokens | No | Up and Down token ids and market prices | |
| window | No | Window start and end | |
| outcome | No | Outcome of a past window | |
| chainlink | No | Live Chainlink price and distance from the price to beat | |
| priceToBeat | No | Official price to beat for the window | |
| secondsLeft | No | Seconds left in the window |