x402 (machine-payable)
24h odds history for one tracked Polymarket market, paid per call via x402
One tracked Polymarket market's odds series: [ts, yesUsd, noUsd] points sampled ~1/min (dense recent hour, 5-min buckets older, ~24h horizon) into a normalized ready-to-chart array. History begins when HostDeFi first observes a market. Charge-on-success: an untracked market answers an uncharged 404.
get/v1/x402/predict/history
Request
- Base URL: https://hostdefi.com/api
- URL: https://hostdefi.com/api/v1/x402/predict/history
- Auth: none required
Query parameters
marketIdstring required
Polymarket market id (conditionId, as listed by /v1/x402/predict/markets).
Response
The odds series. Settled payment is confirmed by the X-PAYMENT-RESPONSE header and meta.x402.
Changes
No recorded changes to this operation across all 1 revision of this API.