Skip to main content

Module gamma

Module gamma 

Source
Expand description

Provides the HTTP client for the Polymarket Gamma API.

Gamma keyset constraints honored by the paginators and load_ids chunker:

  • /markets/keyset accepts at most 100 items per page.
  • /events/keyset accepts at most 500 items per page.
  • Keyset endpoints reject offset; the paginators apply a requested initial offset locally for compatibility.
  • next_cursor is absent on the final page.
  • condition_ids= accepts at most 100 IDs per request, so load_ids for larger sets chunks the request and unions the responses.

Structsยง

PolymarketGammaHttpClient
Provides a domain HTTP client for Polymarket instrument fetching.
PolymarketGammaRawHttpClient
Provides a raw HTTP client for the Polymarket Gamma API.