Polymarket API reference / Gamma API
GET/events/keyset

List events (keyset pagination)

Returns events using cursor-based (keyset) pagination for stable, efficient paging through large result sets. Use `next_cursor` from each response as `after_cursor` in the next request. The `offset` parameter is explicitly rejected; use `after_cursor` instead.

Base URL
https://gamma-api.polymarket.com
Auth
Public, no key
Rate limit
500 req / 10s (50 per second)
Limit applies to
/events

Parameters

NameInTypeRequiredDescription
limitqueryintegernoMaximum number of results to return (max 100)
orderquerystringnoComma-separated list of JSON field names to order by
ascendingquerybooleannoSort direction. Only used when order is set.
after_cursorquerystringnoOpaque cursor token from a previous response's next_cursor
offsetqueryintegernoNot allowed. Returns 422 if provided.
idqueryinteger[]no
slugquerystring[]no
closedquerybooleanno
livequerybooleanno
featuredquerybooleanno
cyomquerybooleanno
title_searchquerystringno
liquidity_minquerynumberno
liquidity_maxquerynumberno
volume_minquerynumberno
volume_maxquerynumberno
start_date_minquerystringno
start_date_maxquerystringno
end_date_minquerystringno
end_date_maxquerystringno
start_time_minquerystringno
start_time_maxquerystringno
tag_idqueryinteger[]no
tag_slugquerystringno
exclude_tag_idqueryinteger[]noTag IDs to exclude. Cannot overlap with tag_id.
related_tagsquerybooleanno
tag_matchquerystringno
series_idqueryinteger[]no
game_idqueryinteger[]no
event_datequerystringno
event_weekqueryintegerno
featured_orderquerybooleanno
recurrencequerystringno
created_byquerystring[]no
parent_event_idqueryintegerno
include_childrenquerybooleanno
partner_slugquerystringnoWhen set, external_partners are attached to matching events
include_chatquerybooleannoWhen true, includes Chats and Series.Chats relations
include_templatequerybooleannoWhen true, includes Templates relation
include_best_linesquerybooleannoWhen true, includes BestLines relation
localequerystringno

Example

curl -X GET "https://gamma-api.polymarket.com/events/keyset"

Response fields

FieldTypeDescription
eventsobject[]Array of Event objects. Empty array if none found.
next_cursorstringOpaque cursor token for fetching the next page. Present only when the number of returned events equals the effective limit. Omitted on the last page.

Responses

StatusMeaning
200Paginated list of events. Always includes Series, Tags, Markets, and EventCreators relations. Chats/Series.Chats, Templates, and BestLines are optional via their respective include_ flags.
422Validation error. Returned when offset is provided, cursor is invalid, order fields are not valid, tag_id overlaps with exclude_tag_id, invalid recurrence, or other filter validation fails.
500Internal server error (DB failures, cursor encode failures)
503Service unavailable when keyset pagination is not configured

Related endpoints

Polymarket's API serves current state only, so it cannot show what a market's book looked like after it resolved. PolyTest records Up/Down markets while they run and keeps the snapshots. Try it free, or read the full rate limit reference.

From Polymarket's published OpenAPI spec and rate-limit tables, synced 2026-10-04.