Polymarket

Get several Polymarket markets

Get up to 100 Polymarket markets by condition id or token id.

GET/v1/polymarket/markets/batch
x-api-keystringheader

API key (`sfk_...`)

Parameters
3
conditionIdsarrayquery

Condition ids to look up. Repeat the parameter or separate ids with commas.

tokenIdsarrayquery

Outcome token ids to look up. Repeat the parameter or separate ids with commas.

localestringquery

Translate titles and market questions into this language. Descriptions stay in English.

one of: es, fr, de, ja, zh, ko, ru, hi, th, tr, vi, pt, it, pl, id, bn, uk, zh-hant, tl

Response fields
87

Endpoint-specific response payload.

One entry per requested id, in request order.

dataresults[]idType
string

Which kind of id was requested.

one of: conditionId, tokenId

dataresults[]id
string

The id as requested.

dataresults[]lookupStatus
string

`not_found` when no market has this id.

one of: found, not_found

A yes/no (or multi-outcome) market with its prices and rules.

dataresults[]marketid
string

Market id.

dataresults[]marketslug
string

Market slug.

dataresults[]marketquestion
string

The question the market asks.

dataresults[]marketdescription
stringnullable

Full resolution rules.

dataresults[]marketconditionId
stringnullable

Condition id (0x and 64 hex digits). Null for a market without an order book.

dataresults[]marketeventId
stringnullable

Id of the event the market belongs to.

dataresults[]marketeventSlug
stringnullable

Slug of the event the market belongs to.

dataresults[]marketstatus
string

Polymarket's own state: `open`, `closed` or `inactive`. An open event or market can carry an end date in the past.

one of: open, closed, inactive

dataresults[]marketarchived
boolean

Whether Polymarket archived the market.

dataresults[]marketgroupTitle
stringnullable

Label inside a multi-market event, for example a candidate name.

dataresults[]marketimage
stringnullable

Image URL.

dataresults[]marketicon
stringnullable

Icon URL.

The outcomes, in order, with their current prices.

dataresults[]marketoutcomes[]name
string

Outcome name, for example `Yes`.

dataresults[]marketoutcomes[]tokenId
stringnullable

Outcome token id, used for order books, prices and price history. A decimal string.

dataresults[]marketoutcomes[]price
numbernullable

Current price as a probability between 0 and 1. Null when the market is not trading.

dataresults[]marketwinningOutcome
stringnullable

Name of the outcome that won, once the market has closed with a clear winner.

dataresults[]marketlastTradePrice
numbernullable

Price of the last trade.

dataresults[]marketbestBid
numbernullable

Highest buy price on the book.

dataresults[]marketbestAsk
numbernullable

Lowest sell price on the book.

dataresults[]marketspread
numbernullable

Gap between best ask and best bid.

Change of the leading outcome price over several windows.

dataresults[]marketpriceChangehour
numbernullable

Price change over the last hour (probability points).

dataresults[]marketpriceChangeday
numbernullable

Price change over the last 24 hours.

dataresults[]marketpriceChangeweek
numbernullable

Price change over the last 7 days.

dataresults[]marketpriceChangemonth
numbernullable

Price change over the last 30 days.

dataresults[]marketpriceChangeyear
numbernullable

Price change over the last 365 days.

Traded volume in US dollars over several windows.

dataresults[]marketvolumetotal

All-time traded volume in US dollars. A number, or an exact decimal string when the value has more digits than a number can hold.

dataresults[]marketvolumeday

Volume in the last 24 hours. A number, or an exact decimal string when the value has more digits than a number can hold.

dataresults[]marketvolumeweek

Volume in the last 7 days. A number, or an exact decimal string when the value has more digits than a number can hold.

dataresults[]marketvolumemonth

Volume in the last 30 days. A number, or an exact decimal string when the value has more digits than a number can hold.

dataresults[]marketvolumeyear

Volume in the last 365 days. A number, or an exact decimal string when the value has more digits than a number can hold.

dataresults[]marketliquidity

Current order book liquidity in US dollars. A number, or an exact decimal string when the value has more digits than a number can hold.

dataresults[]marketstartsAt
stringnullable

When the market opens (ISO-8601, UTC).

dataresults[]marketendsAt
stringnullable

Scheduled end (ISO-8601, UTC).

dataresults[]marketclosedAt
stringnullable

When the market closed (ISO-8601, UTC).

dataresults[]marketcreatedAt
stringnullable

When the market was created (ISO-8601, UTC).

dataresults[]marketupdatedAt
stringnullable

When the market was last changed (ISO-8601, UTC).

How and where the market resolves.

dataresults[]marketresolutionsource
stringnullable

Where the outcome is decided, as written in the rules.

dataresults[]marketresolutionumaStatus
stringnullable

Oracle state: `proposed`, `disputed`, `resolved` and so on. Null before any proposal.

dataresults[]marketresolutionresolvedBy
stringnullable

Address of the resolver contract.

dataresults[]marketnegRisk
booleannullable

Whether the market is part of a winner-takes-all group whose prices sum to about 100 percent.

dataresults[]marketnegRiskMarketId
stringnullable

Id of the winner-takes-all group.

dataresults[]marketminOrderSize
numbernullable

Smallest order size in shares.

dataresults[]markettickSize
numbernullable

Smallest price step.

Trading fees on a market.

dataresults[]marketfeesenabled
booleannullable

Whether trading fees apply.

dataresults[]marketfeestype
stringnullable

Fee family, for example `politics_fees`.

dataresults[]marketfeesmakerBaseFee
numbernullable

Base fee for makers, in basis points.

dataresults[]marketfeestakerBaseFee
numbernullable

Base fee for takers, in basis points.

dataresults[]marketfeesmakerRebatesFeeShareBps
numbernullable

Share of fees paid back to makers, in basis points.

How trading fees are worked out on a market.

dataresults[]marketfeesschedulerate
numbernullable

Fee rate applied to the notional of a trade.

dataresults[]marketfeesscheduleexponent
numbernullable

Exponent of the fee curve.

dataresults[]marketfeesscheduletakerOnly
booleannullable

Whether only takers pay the fee.

dataresults[]marketfeesschedulerebateRate
numbernullable

Share of the fee returned to makers.

Settings of a short-lived up-or-down market on a crypto or commodity price.

dataresults[]marketcryptoMarketConfigid
stringnullable

Configuration id, for example `xau-15m`.

dataresults[]marketcryptoMarketConfigasset
stringnullable

Asset the market tracks, for example `btc` or `xau`.

dataresults[]marketcryptoMarketConfigduration
stringnullable

Length of each window, for example `15m`.

dataresults[]marketcryptoMarketConfigtwapEnabled
booleannullable

Whether the settlement price is a time-weighted average.

dataresults[]marketcryptoMarketConfigtwapLookbackSeconds
integernullable

Seconds the average looks back.

dataresults[]marketacceptingOrders
booleannullable

Whether the order book accepts orders.

dataresults[]marketisUserCreated
boolean

Whether a user rather than Polymarket created it.

dataresults[]marketsportsMarketType
stringnullable

Kind of sports market, for example `moneyline`. Null for other markets.

dataresults[]marketline
numbernullable

Spread or total line for a sports market.

dataresults[]marketgameStartTime
stringnullable

Kickoff of the game a sports market covers (ISO-8601, UTC).

Liquidity rewards offered on a market.

dataresults[]marketrewardsdailyRate
numbernullable

Liquidity rewards paid per day, in US dollars.

dataresults[]marketrewardsminSize
numbernullable

Smallest order size that earns rewards, in shares.

dataresults[]marketrewardsmaxSpread
numbernullable

Widest spread from the midpoint that earns rewards.

Counts across the batch.

datasummaryrequested
integer

Ids requested.

datasummaryfound
integer

Ids that matched a market.

datasummarynotFound
integer

Ids that matched no market.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/polymarket/markets/batch?conditionIds=0x0f49db97f71c68b1e42a6d16e3de93d85dbf7d4148e3f018eb79e88554be9f75" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Polymarket markets batch.