Skip to main content
client.gamma.search.publicSearch powers discovery in the Polymarket app. Query events, tags, and user profiles with sophisticated filters.

Request

Parameters

NameTypeRequiredDefaultNotes
qstringQuery string.
cachebooleanEnable cached responses.
events_statusstringFilter events by status.
limit_per_typenumber (≥ 0)Result cap per section.
pagenumber (≥ 0)Pagination control.
events_tagstring[]Include events with these tag slugs.
keep_closed_marketsnumber (≥ 0)Retain closed markets.
sortstringSorting expression.
ascendingbooleanSort direction.
search_tagsbooleanToggle tag section.
search_profilesbooleanToggle profile section.
recurrencestringFilter by recurrence (e.g., daily).
exclude_tag_idnumber[]Tag IDs to exclude.
optimizedbooleanRequest optimised payload.

Response

Each section contains rich metadata—titles, imagery, volume stats, chat info, and more. Check for null/undefined before iterating.

Usage example

Failure modes

  • Missing q → validation error.
  • Negative pagination values → validation error.