x402 (machine-payable)

Tracked Polymarket prediction markets with latest odds, paid per call via x402

The Polymarket prediction markets HostDeFi tracks (top ~100 by 24h volume, sampled ~1/min by HostDeFi's own recorder from Polymarket's public Gamma API): market ids (conditionId), questions, slugs, end dates, 24h volume and the latest yes/no odds with sampling stats, most recently active first. Machine-payable: first call returns HTTP 402 with payment options; pay and retry with the X-PAYMENT header. Kill switch: when the lane is disabled server-side the route is absent (404) and never advertised in the catalog.

get/v1/x402/predict/markets

Request

  • Base URL: https://hostdefi.com/api
  • URL: https://hostdefi.com/api/v1/x402/predict/markets
  • Auth: none required

Query parameters

limitinteger

Max markets returned (default 100).

Response

The tracked-market list. Settled payment is confirmed by the X-PAYMENT-RESPONSE header and meta.x402.

okboolean
sourcestring
totalinteger
countinteger
metaobject

Changes

No recorded changes to this operation across all 1 revision of this API.