Prepare a Polymarket price-to-beat call ($0.004)
polymarket_prepareReturns the x402 payment request for Polymarket crypto Up/Down data (BTC, ETH, SOL, XRP; 5m and 15m; $0.004 USDC on Base, Polygon or Arc): the OFFICIAL price to beat for the live 5m or 15m window (matched to the cent against Polymarket's results), the live Chainlink price and its distance from the price to beat, seconds left, token ids and market prices. Pass start (unix) for a past window's official outcome. First call free: add ?free=1 to the URL for one live answer at no charge (one per agent). Pay it with your own x402 client. This tool does not pay.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Optional unix start of a past window. | |
| market | Yes | Which market: <asset>-<timeframe>. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to call with the PAYMENT-SIGNATURE header | |
| body | No | JSON body to send, for POST | |
| note | No | Notes | |
| x402 | No | The x402 payment request (scheme, network, asset, payTo, amount, EIP-712 domain) | |
| method | No | HTTP method | |
| howToPay | No | Step-by-step signing instructions | |
| alternatives | No | Other accepted networks |