Skip to main content
POST
/
api
/
polymarket
/
markets
/polymarket/markets
curl --request POST \
  --url https://api.anysite.io/api/polymarket/markets \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "market": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "question": "<string>",
    "@type": "@polymarket_market",
    "alias": "<string>",
    "description": "<string>",
    "condition_id": "<string>",
    "question_id": "<string>",
    "image": "<string>",
    "icon": "<string>",
    "outcomes": [],
    "clob_token_ids": [],
    "best_bid": 123,
    "best_ask": 123,
    "spread": 123,
    "last_trade_price": 123,
    "one_hour_price_change": 123,
    "one_day_price_change": 123,
    "one_week_price_change": 123,
    "one_month_price_change": 123,
    "one_year_price_change": 123,
    "volume": 123,
    "volume_24hr": 123,
    "volume_1wk": 123,
    "volume_1mo": 123,
    "volume_1yr": 123,
    "liquidity": 123,
    "competitive": 123,
    "order_min_size": 123,
    "order_price_min_tick_size": 123,
    "is_active": true,
    "is_closed": true,
    "is_archived": true,
    "is_new": true,
    "is_featured": true,
    "is_restricted": true,
    "accepting_orders": true,
    "enable_order_book": true,
    "neg_risk": true,
    "market_type": "<string>",
    "resolution_source": "<string>",
    "uma_resolution_status": "<string>",
    "group_item_title": "<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
market
string
required

Market id (numeric) or slug

Minimum string length: 1
Examples:

"253591"

"will-donald-trump-win-the-2024-us-presidential-election"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
question
string
required
@type
string
default:@polymarket_market
alias
string | null
description
string | null
condition_id
string | null
question_id
string | null
image
string | null
icon
string | null
outcomes
PolymarketMarketOutcome · object[]
clob_token_ids
string[]
best_bid
number | null
best_ask
number | null
spread
number | null
last_trade_price
number | null
one_hour_price_change
number | null
one_day_price_change
number | null
one_week_price_change
number | null
one_month_price_change
number | null
one_year_price_change
number | null
volume
number | null
volume_24hr
number | null
volume_1wk
number | null
volume_1mo
number | null
volume_1yr
number | null
liquidity
number | null
competitive
number | null
order_min_size
number | null
order_price_min_tick_size
number | null
is_active
boolean | null
is_closed
boolean | null
is_archived
boolean | null
is_new
boolean | null
is_restricted
boolean | null
accepting_orders
boolean | null
enable_order_book
boolean | null
neg_risk
boolean | null
market_type
string | null
resolution_source
string | null
uma_resolution_status
string | null
group_item_title
string | null
start_at
string | null
end_at
string | null
created_at
string | null
updated_at
string | null
closed_at
string | null