Skip to main content
POST
/
api
/
polymarket
/
events
/
search
/polymarket/events/search
curl --request POST \
  --url https://api.anysite.io/api/polymarket/events/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "keyword": "<string>",
  "status": "active",
  "tag": "politics",
  "ascending": false,
  "featured": true
}
'
[
  {
    "id": "<string>",
    "title": "<string>",
    "@type": "@polymarket_event",
    "alias": "<string>",
    "ticker": "<string>",
    "description": "<string>",
    "image": "<string>",
    "icon": "<string>",
    "tags": [],
    "markets": [],
    "volume": 123,
    "volume_24hr": 123,
    "volume_1wk": 123,
    "volume_1mo": 123,
    "volume_1yr": 123,
    "liquidity": 123,
    "open_interest": 123,
    "competitive": 123,
    "comment_count": 123,
    "is_active": true,
    "is_closed": true,
    "is_archived": true,
    "is_new": true,
    "is_featured": true,
    "is_restricted": true,
    "is_neg_risk": true,
    "enable_order_book": true,
    "comments_enabled": true,
    "resolution_source": "<string>",
    "start_at": "<string>",
    "end_at": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "closed_at": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of events to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
keyword
string | null

Keyword to match against event titles

Minimum string length: 1
status
enum<string>
default:active

Filter by resolution status

Available options:
active,
resolved,
all
tag
string | null

Filter by category tag slug (ignored when keyword is set)

Example:

"politics"

order
enum<string> | null

Sort field (ignored when keyword is set)

Available options:
volume,
volume24hr,
liquidity,
startDate,
endDate,
competitive
ascending
boolean
default:false

Sort ascending instead of descending

Return only featured events (ignored when keyword is set)

Response

Successful Response

id
string
required
title
string
required
@type
string
default:@polymarket_event
alias
string | null
ticker
string | null
description
string | null
image
string | null
icon
string | null
tags
PolymarketEventTag · object[]
markets
PolymarketMarket · object[]
volume
number | null
volume_24hr
number | null
volume_1wk
number | null
volume_1mo
number | null
volume_1yr
number | null
liquidity
number | null
open_interest
number | null
competitive
number | null
comment_count
integer | null
is_active
boolean | null
is_closed
boolean | null
is_archived
boolean | null
is_new
boolean | null
is_restricted
boolean | null
is_neg_risk
boolean | null
enable_order_book
boolean | null
comments_enabled
boolean | null
resolution_source
string | null
start_at
string | null
end_at
string | null
created_at
string | null
updated_at
string | null
closed_at
string | null