Skip to main content

Betting odds — Polymarket read APIs (gamma-api, clob + the US gateway)

sportsdataverse.odds — 14 endpoints.

polymarket_gamma_events​

Events -- groups of related markets -- on the Gamma metadata host.

Endpoint URL: GET https://gamma-api.polymarket.com/events

Valid URL: https://gamma-api.polymarket.com/events?limit=3&closed=false&tag_slug=sports

API ParameterPythonPatternRequiredNullableDescription
limitlimitYPage size.
closedclosedYFilter closed markets/events (true/false).
tag_slugtag_slugYFilter events by tag slug (e.g. sports; see /tags).
offsetoffsetYRow offset; offset=1 shifts the first row by one (verified 2026-10-06).

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
idString
tickerString
slugString
titleString
descriptionString
resolution_sourceString
start_dateString
creation_dateString
end_dateString
imageString
iconString
activeBoolean
closedBoolean
archivedBoolean
newBoolean
featuredBoolean
restrictedBoolean
liquidityFloat64
volumeFloat64
open_interestFloat64
sort_byString
created_atString
updated_atString
competitiveFloat64
volume24hrFloat64
volume1wkFloat64
volume1moFloat64
volume1yrFloat64
enable_order_bookBoolean
liquidity_clobFloat64
neg_riskBoolean
neg_risk_market_idString
comment_countInt64
marketsString
tagsString
cyomBoolean
show_all_outcomesBoolean
show_market_imagesBoolean
enable_neg_riskBoolean
automatically_activeBoolean
gmp_chart_modeString
neg_risk_augmentedBoolean
featured_orderFloat64
estimate_valueBoolean
cumulative_marketsBoolean
pending_deploymentBoolean
deployingBoolean
deploying_timestampString
versionString
event_metadata_context_requires_regenBoolean

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_gamma_events(closed='false', limit='3', tag_slug='sports')

polymarket_gamma_market​

One market by its Gamma id.

Endpoint URL: GET https://gamma-api.polymarket.com/markets/{id}

Valid URL: https://gamma-api.polymarket.com/markets/608565

API ParameterPythonPatternRequiredNullableDescription
ididYGamma market id (from /markets).

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
idString
questionString
condition_idString
slugString
resolution_sourceString
end_dateString
liquidityString
start_dateString
imageString
iconString
descriptionString
outcomesString
outcome_pricesString
volumeString
activeBoolean
closedBoolean
market_maker_addressString
created_atString
updated_atString
newBoolean
featuredBoolean
submitted_byString
archivedBoolean
resolved_byString
restrictedBoolean
group_item_titleString
group_item_thresholdString
question_idString
enable_order_bookBoolean
order_price_min_tick_sizeFloat64
order_min_sizeInt64
volume_numFloat64
liquidity_numFloat64
end_date_isoString
start_date_isoString
has_reviewed_datesBoolean
volume24hrFloat64
volume1wkFloat64
volume1moFloat64
volume1yrFloat64
clob_token_idsString
combo_statusString
uma_bondString
uma_rewardString
volume24hr_clobFloat64
volume1wk_clobFloat64
volume1mo_clobFloat64
volume1yr_clobFloat64
volume_clobFloat64
liquidity_clobFloat64
maker_base_feeInt64
taker_base_feeInt64
custom_livenessInt64
accepting_ordersBoolean
neg_riskBoolean
neg_risk_market_idString
neg_risk_request_idString
readyBoolean
fundedBoolean
accepting_orders_timestampString
cyomBoolean
competitiveFloat64
approvedBoolean
rewards_min_sizeInt64
rewards_max_spreadFloat64
spreadFloat64
one_day_price_changeFloat64
one_hour_price_changeFloat64
one_week_price_changeFloat64
one_month_price_changeFloat64
last_trade_priceFloat64
best_bidFloat64
best_askFloat64
automatically_activeBoolean
clear_book_on_startBoolean
series_colorString
show_gmp_seriesBoolean
show_gmp_outcomeBoolean
manual_activationBoolean
neg_risk_otherBoolean
uma_resolution_statusesString
pending_deploymentBoolean
deployingBoolean
deploying_timestampString
rfq_enabledBoolean
holding_rewards_enabledBoolean
fees_enabledBoolean
fee_typeString
versionString
fee_schedule_exponentInt64
fee_schedule_rateFloat64
fee_schedule_taker_onlyBoolean
fee_schedule_rebate_rateFloat64

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_gamma_market(id='608565')

polymarket_gamma_markets​

Markets on the Gamma metadata host, orderable by volume or liquidity.

Endpoint URL: GET https://gamma-api.polymarket.com/markets

Valid URL: https://gamma-api.polymarket.com/markets?limit=3&closed=false&order=volume24hr&ascending=false

API ParameterPythonPatternRequiredNullableDescription
limitlimitYPage size.
closedclosedYFilter closed markets/events (true/false).
orderorderYSort field, e.g. volume24hr, liquidity, startDate.
ascendingascendingYSort direction (true/false).
offsetoffsetYRow offset; offset=1 shifts the first row by one (verified 2026-10-06).

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
idString
questionString
condition_idString
slugString
resolution_sourceString
end_dateString
liquidityString
start_dateString
imageString
iconString
descriptionString
outcomesString
outcome_pricesString
volumeString
activeBoolean
closedBoolean
market_maker_addressString
created_atString
updated_atString
newBoolean
featuredBoolean
submitted_byString
archivedBoolean
resolved_byString
restrictedBoolean
question_idString
enable_order_bookBoolean
order_price_min_tick_sizeFloat64
order_min_sizeInt64
uma_resolution_statusString
volume_numFloat64
liquidity_numFloat64
end_date_isoString
start_date_isoString
has_reviewed_datesBoolean
volume24hrFloat64
volume1wkFloat64
volume1moFloat64
volume1yrFloat64
clob_token_idsString
combo_statusString
uma_bondString
uma_rewardString
volume24hr_clobFloat64
volume1wk_clobFloat64
volume1mo_clobFloat64
volume1yr_clobFloat64
volume_clobFloat64
liquidity_clobFloat64
maker_base_feeInt64
taker_base_feeInt64
custom_livenessInt64
accepting_ordersBoolean
neg_riskBoolean
eventsString
readyBoolean
fundedBoolean
accepting_orders_timestampString
cyomBoolean
competitiveFloat64
approvedBoolean
rewards_min_sizeInt64
rewards_max_spreadFloat64
spreadFloat64
one_day_price_changeFloat64
last_trade_priceFloat64
best_bidFloat64
best_askFloat64
automatically_activeBoolean
clear_book_on_startBoolean
manual_activationBoolean
neg_risk_otherBoolean
uma_resolution_statusesString
pending_deploymentBoolean
deployingBoolean
deploying_timestampString
rfq_enabledBoolean
event_start_timeString
holding_rewards_enabledBoolean
fees_enabledBoolean
fee_typeString
versionString
fee_schedule_exponentInt64
fee_schedule_rateFloat64
fee_schedule_taker_onlyBoolean
fee_schedule_rebate_rateFloat64
group_item_titleString
group_item_thresholdString
neg_risk_market_idString
neg_risk_request_idString
clob_rewardsString
one_week_price_changeFloat64
one_month_price_changeFloat64
one_year_price_changeFloat64
series_colorString
show_gmp_seriesBoolean
show_gmp_outcomeBoolean
one_hour_price_changeFloat64

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_gamma_markets(ascending='false', closed='false', limit='3', order='volume24hr')

polymarket_gamma_tags​

Tags used to categorise Gamma events and markets.

Endpoint URL: GET https://gamma-api.polymarket.com/tags

Valid URL: https://gamma-api.polymarket.com/tags?limit=3

API ParameterPythonPatternRequiredNullableDescription
limitlimitYPage size.
offsetoffsetYRow offset; offset=1 shifts the first row by one (verified 2026-10-06).

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
idString
labelString
slugString
created_atString
updated_atString
published_atString

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_gamma_tags(limit='3')

polymarket_clob_book​

Full order book, bids and asks, for one outcome token.

Endpoint URL: GET https://clob.polymarket.com/book

Valid URL: https://clob.polymarket.com/book?token_id=14940935985254400645996902276818598247231942791302218826999289776538227075176

API ParameterPythonPatternRequiredNullableDescription
token_idtoken_idYRequired. CLOB token id (uint256 as a decimal string) = one entry of a Gamma market's clobTokenIds.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
marketString
asset_idString
timestampString
hashString
min_order_sizeString
tick_sizeString
neg_riskBoolean
last_trade_priceString
sideString
priceString
sizeString

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_clob_book(token_id='14940935985254400645996902276818598247231942791302218826999289776538227075176')

polymarket_clob_markets​

Markets on the CLOB host, cursor-paged.

Endpoint URL: GET https://clob.polymarket.com/markets

Valid URL: https://clob.polymarket.com/markets?next_cursor=MA%3D%3D

API ParameterPythonPatternRequiredNullableDescription
next_cursornext_cursorYPage cursor from the previous response; MA== (base64 0) or empty is the first page, LTE= means no more pages.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
enable_order_bookBoolean
activeBoolean
closedBoolean
archivedBoolean
accepting_ordersBoolean
accepting_order_timestampString
minimum_order_sizeInt64
minimum_tick_sizeFloat64
condition_idString
question_idString
questionString
descriptionString
market_slugString
end_date_isoString
game_start_timeString
seconds_delayInt64
fpmmString
maker_base_feeInt64
taker_base_feeInt64
notifications_enabledBoolean
neg_riskBoolean
neg_risk_market_idString
neg_risk_request_idString
iconString
imageString
is_50_50_outcomeBoolean
tokensString
tagsString
versionString
rewards_ratesString
rewards_min_sizeInt64
rewards_max_spreadInt64

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_clob_markets(next_cursor='MA==')

polymarket_clob_midpoint​

Midpoint between the best bid and the best ask for one outcome token.

Endpoint URL: GET https://clob.polymarket.com/midpoint

Valid URL: https://clob.polymarket.com/midpoint?token_id=14940935985254400645996902276818598247231942791302218826999289776538227075176

API ParameterPythonPatternRequiredNullableDescription
token_idtoken_idYRequired. CLOB token id (uint256 as a decimal string) = one entry of a Gamma market's clobTokenIds.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
midString

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_clob_midpoint(token_id='14940935985254400645996902276818598247231942791302218826999289776538227075176')

polymarket_clob_price​

Best price on one side of the book for one outcome token.

Endpoint URL: GET https://clob.polymarket.com/price

Valid URL: https://clob.polymarket.com/price?token_id=14940935985254400645996902276818598247231942791302218826999289776538227075176&side=buy

API ParameterPythonPatternRequiredNullableDescription
token_idtoken_idYRequired. CLOB token id (uint256 as a decimal string) = one entry of a Gamma market's clobTokenIds.
sidesideYRequired. buy or sell.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
priceString

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_clob_price(side='buy', token_id='14940935985254400645996902276818598247231942791302218826999289776538227075176')

polymarket_us_market_bbo​

Best bid and offer, last trade and volume for one Polymarket US market slug.

Endpoint URL: GET https://gateway.polymarket.us/v1/markets/{slug}/bbo

Valid URL: https://gateway.polymarket.us/v1/markets/tec-mls-winner-2026-11-07-sea/bbo

API ParameterPythonPatternRequiredNullableDescription
slugslugYExact Polymarket US market slug: the slug field of a /v1/markets row. A game's game-winner (moneyline) market is "aec-" + the Gamma event's usId (aec-nba-sa-sac-2026-11-06) and futures have their own (tec-mls-winner-2026-11-07-sea), so pass the listing's slug rather than building one.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
market_slugStringMarket slug the quote is for (the slug argument).
shares_tradedStringContracts traded over the market's life, as a decimal string.
open_interestStringContracts currently held open, as a decimal string; "0.0000" once the market has settled.
ask_depthInt64Number of price levels on the ask side of the book.
bid_depthInt64Number of price levels on the bid side of the book.
stateStringMarket state code (e.g. "MARKET_STATE_OPEN", "MARKET_STATE_EXPIRED").
bid_sharesStringContracts resting on the bid side of the book, as a decimal string.
ask_sharesStringContracts resting on the ask side of the book, as a decimal string.
current_px_valueStringCurrent price, in dollars per contract (0 to 1), as a decimal string.
current_px_currencyStringCurrency of current_px_value (e.g. "USD").
last_trade_px_valueStringPrice of the last trade, in dollars per contract, as a decimal string.
last_trade_px_currencyStringCurrency of last_trade_px_value (e.g. "USD").
settlement_px_valueStringSettlement price, in dollars per contract, as a decimal string; "1.0000" or "0.0000" once the market has resolved.
settlement_px_currencyStringCurrency of settlement_px_value (e.g. "USD").
best_ask_valueStringLowest ask, in dollars per contract, as a decimal string. Absent from an expired market, whose bestAsk is null.
best_ask_currencyStringCurrency of best_ask_value (e.g. "USD").
best_bid_valueStringHighest bid, in dollars per contract, as a decimal string. Absent from an expired market, whose bestBid is null.
best_bid_currencyStringCurrency of best_bid_value (e.g. "USD").
last_price_sample_long_px_valueStringLong-side (Yes) price in the latest price sample, as a decimal string.
last_price_sample_long_px_currencyStringCurrency of last_price_sample_long_px_value (e.g. "USD").
last_price_sample_short_px_valueStringShort-side (No) price in the latest price sample, as a decimal string.
last_price_sample_short_px_currencyStringCurrency of last_price_sample_short_px_value (e.g. "USD").
last_price_sample_tsStringISO-8601 UTC time of the latest price sample, to the nanosecond.
long_quote_valueStringPrice to buy the long (Yes) side now, as a decimal string; only on an open market.
long_quote_currencyStringCurrency of long_quote_value (e.g. "USD").
short_quote_valueStringPrice to buy the short (No) side now, as a decimal string; only on an open market.
short_quote_currencyStringCurrency of short_quote_value (e.g. "USD").

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_us_market_bbo(slug='tec-mls-winner-2026-11-07-sea')

polymarket_us_market_book​

Order book for one Polymarket US market slug, one row per bid or offer level.

Endpoint URL: GET https://gateway.polymarket.us/v1/markets/{slug}/book

Valid URL: https://gateway.polymarket.us/v1/markets/tec-mls-winner-2026-11-07-sea/book

API ParameterPythonPatternRequiredNullableDescription
slugslugYExact Polymarket US market slug: the slug field of a /v1/markets row. A game's game-winner (moneyline) market is "aec-" + the Gamma event's usId (aec-nba-sa-sac-2026-11-06) and futures have their own (tec-mls-winner-2026-11-07-sea), so pass the listing's slug rather than building one.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
market_slugStringMarket slug the book is for (the slug argument), repeated on every level.
stateStringMarket state code (e.g. "MARKET_STATE_OPEN"), repeated on every level; an expired market's book has no levels, so it is zero rows.
transact_timeStringISO-8601 UTC time of the book snapshot, to the nanosecond.
sideString"bid" or "ask" (Polymarket US names its asks offers; "ask" matches polymarket_clob_book).
qtyStringContracts resting at this price level, as a decimal string.
px_valueStringPrice of the level, in dollars per contract (0 to 1), as a decimal string.
px_currencyStringCurrency of px_value (e.g. "USD").

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_us_market_book(slug='tec-mls-winner-2026-11-07-sea')

polymarket_us_market_by_id​

One Polymarket US market by its gateway id.

Endpoint URL: GET https://gateway.polymarket.us/v1/market/id/{id}

Valid URL: https://gateway.polymarket.us/v1/market/id/7984

API ParameterPythonPatternRequiredNullableDescription
ididYPolymarket US market id: the id field of a /v1/markets row (its own namespace, not a Gamma id).

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
idStringPolymarket US market id, a numeric string (the id argument); its own namespace, not a Gamma market id.
questionStringMarket title as Polymarket US displays it (e.g. "Los Angeles vs. Tennessee").
slugStringMarket slug, the key for polymarket_us_market_bbo, _book, _settlement and _by_slug. A game-winner (moneyline) market's is "aec-" plus the Gamma event's usId (e.g. "aec-nfl-lac-ten-2025-11-02"); futures have their own ("tec-"), so pass the listing's slug rather than building one.
end_dateStringISO-8601 UTC time the market is scheduled to close.
categoryStringTop-level market category (e.g. "sports").
start_dateStringISO-8601 UTC time the market opened for trading.
imageStringURL of the market's subject image (a team logo) on an open market.
descriptionStringResolution rules in prose, including what happens if the game is postponed or canceled.
activeBooleanWhether the market is active; the active filter matches on it.
market_typeStringMarket type (e.g. "moneyline", "futures").
closedBooleanWhether the market is closed to trading; the closed filter matches on it.
created_atStringISO-8601 UTC time the market record was created.
updated_atStringISO-8601 UTC time the market record was last updated.
archivedBooleanWhether the market is archived.
order_price_min_tick_sizeFloat64Smallest price increment an order may use, in dollars per contract (e.g. 0.001).
game_start_timeStringISO-8601 UTC scheduled start of the game the market is on; null for markets not tied to one game.
manual_activationBooleanWhether the market is opened for trading by hand rather than on a schedule.
sports_market_typeStringSports market type (e.g. "moneyline", "futures").
market_sidesStringJSON-encoded list of the market's two sides, each with its id, description, price, long flag and team (name, abbreviation, league, record, logos, colors and provider ids).
outcomesStringJSON array serialised inside a string naming the outcomes (e.g. "["Chargers","Titans"]").
outcome_pricesStringJSON array serialised inside a string of each outcome's price, in the order of outcomes; a resolved market reads "1" for the winner and "0" for the loser.
ep3_statusStringStatus code from Polymarket US's EP3 system (e.g. "EXPIRED"); the API does not document EP3.
statusStringMarket status code (e.g. "MARKET_STATUS_RESOLVED").
asset_price_termsStringJSON-encoded price terms for markets on an asset price; null for sports markets.
sports_market_type_v2StringSports market type as an enum code (e.g. "SPORTS_MARKET_TYPE_MONEYLINE").
hiddenBooleanWhether the market is hidden from the Polymarket US front end.
tagsStringJSON-encoded list of the market's tags; empty on the captured sports markets.
titleStringDisplay title of the market's subject on an open market (e.g. "Vancouver Whitecaps FC" on an MLS Cup future); closed game markets omit it, like the other open-market display fields.
subtitleStringSecondary display line on an open market, such as the team's record ("10-2-2").
colorStringHex display color of the market's subject on an open market (e.g. "#00245E").
fee_coefficientFloat64Coefficient of the exchange's trading-fee formula for this market (e.g. 0.095).
title_shortStringShort display title of the market's subject on an open market.
ep3_synced_atStringISO-8601 UTC time the market last synced with Polymarket US's EP3 system.
minimum_trade_qtyFloat64Smallest number of contracts a single trade may be for, as Float64 (1 on most markets; 0.01 = 1% of a contract).
combo_enabledBooleanWhether the market can be used as a leg of a combination (parlay) order.
politicsStringJSON-encoded politics metadata; null for sports markets.
event_subcategoryStringSport subcategory of the market's event on an open market (e.g. "SOCCER").
best_bid_quote_valueStringHighest bid in dollars per contract, as a decimal string. Present on an open market only.
best_bid_quote_currencyStringCurrency of best_bid_quote_value (e.g. "USD").
best_ask_quote_valueStringLowest ask in dollars per contract, as a decimal string. Present on an open market only.
best_ask_quote_currencyStringCurrency of best_ask_quote_value (e.g. "USD").
singles_rfq_config_enabledBooleanWhether single-market request-for-quote trading is enabled.
singles_rfq_config_midpoint_deviationFloat64Largest deviation from the midpoint a request-for-quote reply may have.
singles_rfq_config_min_order_value_usdInt64Smallest order value, in US dollars, accepted by request for quote.
singles_rfq_config_max_quote_age_secondsInt64Longest a request-for-quote reply stays valid, in seconds.
singles_rfq_config_quote_windowsStringJSON-encoded list of the time windows in which request for quote is open.
singles_rfq_config_rule_nameStringName of the request-for-quote rule set applied (e.g. "default").
singles_rfq_config_versionStringVersion label of the request-for-quote configuration (e.g. "singles-half-markets-v2").

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_us_market_by_id(id='7984')

polymarket_us_market_by_slug​

One Polymarket US market by its slug.

Endpoint URL: GET https://gateway.polymarket.us/v1/market/slug/{slug}

Valid URL: https://gateway.polymarket.us/v1/market/slug/tec-mls-winner-2026-11-07-sea

API ParameterPythonPatternRequiredNullableDescription
slugslugYExact Polymarket US market slug: the slug field of a /v1/markets row. A game's game-winner (moneyline) market is "aec-" + the Gamma event's usId (aec-nba-sa-sac-2026-11-06) and futures have their own (tec-mls-winner-2026-11-07-sea), so pass the listing's slug rather than building one.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
idStringPolymarket US market id, a numeric string and the key for polymarket_us_market_by_id; not a Gamma market id.
questionStringMarket title as Polymarket US displays it (e.g. "Los Angeles vs. Tennessee").
slugStringMarket slug, the key for polymarket_us_market_bbo, _book, _settlement and _by_slug. A game-winner (moneyline) market's is "aec-" plus the Gamma event's usId (e.g. "aec-nfl-lac-ten-2025-11-02"); futures have their own ("tec-"), so pass the listing's slug rather than building one.
end_dateStringISO-8601 UTC time the market is scheduled to close.
categoryStringTop-level market category (e.g. "sports").
start_dateStringISO-8601 UTC time the market opened for trading.
imageStringURL of the market's subject image (a team logo) on an open market.
descriptionStringResolution rules in prose, including what happens if the game is postponed or canceled.
activeBooleanWhether the market is active; the active filter matches on it.
market_typeStringMarket type (e.g. "moneyline", "futures").
closedBooleanWhether the market is closed to trading; the closed filter matches on it.
created_atStringISO-8601 UTC time the market record was created.
updated_atStringISO-8601 UTC time the market record was last updated.
archivedBooleanWhether the market is archived.
order_price_min_tick_sizeFloat64Smallest price increment an order may use, in dollars per contract (e.g. 0.001).
game_start_timeStringISO-8601 UTC scheduled start of the game the market is on; null for markets not tied to one game.
manual_activationBooleanWhether the market is opened for trading by hand rather than on a schedule.
sports_market_typeStringSports market type (e.g. "moneyline", "futures").
market_sidesStringJSON-encoded list of the market's two sides, each with its id, description, price, long flag and team (name, abbreviation, league, record, logos, colors and provider ids).
outcomesStringJSON array serialised inside a string naming the outcomes (e.g. "["Chargers","Titans"]").
outcome_pricesStringJSON array serialised inside a string of each outcome's price, in the order of outcomes; a resolved market reads "1" for the winner and "0" for the loser.
ep3_statusStringStatus code from Polymarket US's EP3 system (e.g. "EXPIRED"); the API does not document EP3.
statusStringMarket status code (e.g. "MARKET_STATUS_RESOLVED").
asset_price_termsStringJSON-encoded price terms for markets on an asset price; null for sports markets.
sports_market_type_v2StringSports market type as an enum code (e.g. "SPORTS_MARKET_TYPE_MONEYLINE").
hiddenBooleanWhether the market is hidden from the Polymarket US front end.
tagsStringJSON-encoded list of the market's tags; empty on the captured sports markets.
titleStringDisplay title of the market's subject on an open market (e.g. "Vancouver Whitecaps FC" on an MLS Cup future); closed game markets omit it, like the other open-market display fields.
subtitleStringSecondary display line on an open market, such as the team's record ("10-2-2").
colorStringHex display color of the market's subject on an open market (e.g. "#00245E").
fee_coefficientFloat64Coefficient of the exchange's trading-fee formula for this market (e.g. 0.095).
title_shortStringShort display title of the market's subject on an open market.
ep3_synced_atStringISO-8601 UTC time the market last synced with Polymarket US's EP3 system.
minimum_trade_qtyFloat64Smallest number of contracts a single trade may be for, as Float64 (1 on most markets; 0.01 = 1% of a contract).
combo_enabledBooleanWhether the market can be used as a leg of a combination (parlay) order.
politicsStringJSON-encoded politics metadata; null for sports markets.
event_subcategoryStringSport subcategory of the market's event on an open market (e.g. "SOCCER").
best_bid_quote_valueStringHighest bid in dollars per contract, as a decimal string. Present on an open market only.
best_bid_quote_currencyStringCurrency of best_bid_quote_value (e.g. "USD").
best_ask_quote_valueStringLowest ask in dollars per contract, as a decimal string. Present on an open market only.
best_ask_quote_currencyStringCurrency of best_ask_quote_value (e.g. "USD").
singles_rfq_config_enabledBooleanWhether single-market request-for-quote trading is enabled.
singles_rfq_config_midpoint_deviationFloat64Largest deviation from the midpoint a request-for-quote reply may have.
singles_rfq_config_min_order_value_usdInt64Smallest order value, in US dollars, accepted by request for quote.
singles_rfq_config_max_quote_age_secondsInt64Longest a request-for-quote reply stays valid, in seconds.
singles_rfq_config_quote_windowsStringJSON-encoded list of the time windows in which request for quote is open.
singles_rfq_config_rule_nameStringName of the request-for-quote rule set applied (e.g. "default").
singles_rfq_config_versionStringVersion label of the request-for-quote configuration (e.g. "singles-half-markets-v2").

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_us_market_by_slug(slug='tec-mls-winner-2026-11-07-sea')

polymarket_us_market_settlement​

Settlement price of one Polymarket US market slug, once the market has settled.

Endpoint URL: GET https://gateway.polymarket.us/v1/markets/{slug}/settlement

Valid URL: https://gateway.polymarket.us/v1/markets/aec-nba-sa-sac-2026-11-06/settlement

API ParameterPythonPatternRequiredNullableDescription
slugslugYExact Polymarket US market slug: the slug field of a /v1/markets row. A game's game-winner (moneyline) market is "aec-" + the Gamma event's usId (aec-nba-sa-sac-2026-11-06) and futures have their own (tec-mls-winner-2026-11-07-sea), so pass the listing's slug rather than building one.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
slugStringMarket slug the settlement is for (the slug argument).
settlementFloat64Price per contract the market settled at, in dollars, as Float64 (the captured expired game settled at 1, its book's settlementPx). Polymarket's own schema declares a 404 for this route, answered for a market that has not settled (probed 2026-11-18) and raised as NoDataError.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_us_market_settlement(slug='aec-nba-sa-sac-2026-11-06')

polymarket_us_markets​

Markets on the Polymarket US exchange, offset-paged and filterable by active or closed.

Endpoint URL: GET https://gateway.polymarket.us/v1/markets

Valid URL: https://gateway.polymarket.us/v1/markets?limit=3&closed=false&active=true

API ParameterPythonPatternRequiredNullableDescription
limitlimitYPage size.
closedclosedYFilter closed markets/events (true/false).
activeactiveYFilter active markets (true/false).
offsetoffsetYRow offset; offset=1 shifts the page (verified 2026-11-18).

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
idStringPolymarket US market id, a numeric string and the key for polymarket_us_market_by_id (the captured unfiltered page started at "1"); not a Gamma market id.
questionStringMarket title as Polymarket US displays it (e.g. "Los Angeles vs. Tennessee").
slugStringMarket slug, the key for polymarket_us_market_bbo, _book, _settlement and _by_slug. A game-winner (moneyline) market's is "aec-" plus the Gamma event's usId (e.g. "aec-nfl-lac-ten-2025-11-02"); futures have their own ("tec-"), so pass the listing's slug rather than building one.
end_dateStringISO-8601 UTC time the market is scheduled to close.
categoryStringTop-level market category (e.g. "sports").
start_dateStringISO-8601 UTC time the market opened for trading.
imageStringURL of the market's subject image (a team logo) on an open market.
descriptionStringResolution rules in prose, including what happens if the game is postponed or canceled.
activeBooleanWhether the market is active; the active filter matches on it.
market_typeStringMarket type (e.g. "moneyline", "futures").
closedBooleanWhether the market is closed to trading; the closed filter matches on it.
created_atStringISO-8601 UTC time the market record was created.
updated_atStringISO-8601 UTC time the market record was last updated.
archivedBooleanWhether the market is archived.
order_price_min_tick_sizeFloat64Smallest price increment an order may use, in dollars per contract (e.g. 0.001).
game_start_timeStringISO-8601 UTC scheduled start of the game the market is on; null for markets not tied to one game.
manual_activationBooleanWhether the market is opened for trading by hand rather than on a schedule.
sports_market_typeStringSports market type (e.g. "moneyline", "futures").
market_sidesStringJSON-encoded list of the market's two sides, each with its id, description, price, long flag and team (name, abbreviation, league, record, logos, colors and provider ids).
outcomesStringJSON array serialised inside a string naming the outcomes (e.g. "["Chargers","Titans"]").
outcome_pricesStringJSON array serialised inside a string of each outcome's price, in the order of outcomes; a resolved market reads "1" for the winner and "0" for the loser.
ep3_statusStringStatus code from Polymarket US's EP3 system (e.g. "EXPIRED"); the API does not document EP3.
statusStringMarket status code (e.g. "MARKET_STATUS_RESOLVED").
asset_price_termsStringJSON-encoded price terms for markets on an asset price; null for sports markets.
sports_market_type_v2StringSports market type as an enum code (e.g. "SPORTS_MARKET_TYPE_MONEYLINE").
hiddenBooleanWhether the market is hidden from the Polymarket US front end.
tagsStringJSON-encoded list of the market's tags; empty on the captured sports markets.
titleStringDisplay title of the market's subject on an open market (e.g. "Vancouver Whitecaps FC" on an MLS Cup future); closed game markets omit it, like the other open-market display fields.
subtitleStringSecondary display line on an open market, such as the team's record ("10-2-2").
colorStringHex display color of the market's subject on an open market (e.g. "#00245E").
fee_coefficientFloat64Coefficient of the exchange's trading-fee formula for this market (e.g. 0.095).
title_shortStringShort display title of the market's subject on an open market.
ep3_synced_atStringISO-8601 UTC time the market last synced with Polymarket US's EP3 system.
minimum_trade_qtyFloat64Smallest number of contracts a single trade may be for, as Float64 (1 on most markets; 0.01 = 1% of a contract).
combo_enabledBooleanWhether the market can be used as a leg of a combination (parlay) order.
politicsStringJSON-encoded politics metadata; null for sports markets.
event_subcategoryStringSport subcategory of the market's event on an open market (e.g. "SOCCER").
best_bid_quote_valueStringHighest bid in dollars per contract, as a decimal string. Present on an open market only.
best_bid_quote_currencyStringCurrency of best_bid_quote_value (e.g. "USD").
best_ask_quote_valueStringLowest ask in dollars per contract, as a decimal string. Present on an open market only.
best_ask_quote_currencyStringCurrency of best_ask_quote_value (e.g. "USD").
singles_rfq_config_enabledBooleanWhether single-market request-for-quote trading is enabled.
singles_rfq_config_midpoint_deviationFloat64Largest deviation from the midpoint a request-for-quote reply may have.
singles_rfq_config_min_order_value_usdInt64Smallest order value, in US dollars, accepted by request for quote.
singles_rfq_config_max_quote_age_secondsInt64Longest a request-for-quote reply stays valid, in seconds.
singles_rfq_config_quote_windowsStringJSON-encoded list of the time windows in which request for quote is open.
singles_rfq_config_rule_nameStringName of the request-for-quote rule set applied (e.g. "default").
singles_rfq_config_versionStringVersion label of the request-for-quote configuration (e.g. "singles-half-markets-v2").

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist. Polymarket answered 404 (unknown market id, token id or market slug, or a Polymarket US market that has not settled yet).
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

polymarket_us_markets(active='true', closed='false', limit='3')