Unified search (events / tags / profiles)

/v4/data/prediction/search

50 credits per API call

Unified search across events, tags and trader profiles. One query returns all three result types in a single response — pick the branches you care about with searchTags and searchProfiles. Designed for discovery surfaces (autocomplete, top-of-page search) where a single query needs to surface the most relevant entities of any kind.

Platform support

  • Polymarket only.

Filtering and pagination

  • q is the required search string — 2..128 characters. Single-character queries are rejected with 400 because they match an unhelpfully wide slice of the dataset.
  • limitPerType caps the number of results returned per branch (events, tags, profiles) — defaults to 10.
  • searchTags toggles the tags branch — defaults to true. searchProfiles toggles the profiles branch — defaults to false because most callers don't need it.
  • eventsStatus narrows the events branch by a free-text status (e.g. active); eventsTag is a comma-separated list of tag slugs (up to 50 entries). keepClosedMarkets overrides the default behaviour of hiding closed markets from the events branch.
  • sort is a free-text sort key forwarded to the upstream; ascending sets sort direction.
  • Pagination is page-based (not cursor-based) — advance via ?page=N+1. The response body carries data.pagination.hasMore and data.pagination.totalResults for paging decisions.

Other notes

  • Branches are populated independently — an empty tags array means no tag matches were found, not that the search failed.
  • events share the same shape as the /events listing endpoint, so the same client-side rendering can be reused.
  • profiles rows include only proxyWallet, name and pseudonym — additional profile fields (image, bio) are not exposed here.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required
length between 2 and 128

Search string (required). 2..128 characters. Single-character queries are rejected with 400.

integer
1 to 1000
Defaults to 1

1-indexed page number for paging through results. Defaults to 1.

integer
1 to 50
Defaults to 10

Maximum number of results per branch (events / tags / profiles). Defaults to 10.

boolean
Defaults to true

Toggle the tags branch. Defaults to true.

boolean
Defaults to false

Toggle the profiles branch. Defaults to false — most callers don't need profile results.

string
length ≤ 32

Narrow the events branch by status (free-text — accepts any value the upstream supports, e.g. active).

string

Narrow the events branch to a comma-separated list of tag slugs. Up to 50 entries.

boolean

Include closed markets in the events branch. Defaults to the upstream's behaviour (closed markets are hidden).

string
length ≤ 128

Sort key forwarded to the upstream (free-text — accepts comma-separated field names).

boolean

Sort direction.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json