GET /public-search
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/public-searchCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeSearch markets, events, tags and public profiles.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
q | query | str | required | Search query for markets, events, tags or profiles example: eth |
limit_per_type | query | int | optional | default: 10 |
page | query | int | optional | default: 0 |
Response
type: object
data key: events
pagination: none
sample: {
"events": "array[1]",
"pagination": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/polymarket/public-search?q=eth"