Polymarket

Get Polymarket market

Get a Polymarket market's prices, volume, rules and resolution state.

GET/v1/polymarket/markets/{marketIdSlugOrConditionId}
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
marketIdSlugOrConditionIdstringrequiredpath

Market id (digits), slug, or condition id (0x and 64 hex digits).

min 1 chars · max 300 chars · pattern: ^(?:0x[0-9a-fA-F]{64}|[A-Za-z0-9_]+(?:-[A-Za-z0-9_]+)*)$

localestringoptionalquery

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
80

Endpoint-specific response payload.

datalookupStatus
string

`not_found` when no market has this id, slug or condition id.

one of: found, not_found

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

datamarketid
string

Market id.

datamarketslug
string

Market slug.

datamarketquestion
string

The question the market asks.

datamarketdescription
stringnullable

Full resolution rules.

datamarketconditionId
stringnullable

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

datamarketeventId
stringnullable

Id of the event the market belongs to.

datamarketeventSlug
stringnullable

Slug of the event the market belongs to.

datamarketstatus
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

datamarketarchived
boolean

Whether Polymarket archived the market.

datamarketgroupTitle
stringnullable

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

datamarketimage
stringnullable

Image URL.

datamarketicon
stringnullable

Icon URL.

The outcomes, in order, with their current prices.

datamarketoutcomes[]name
string

Outcome name, for example `Yes`.

datamarketoutcomes[]tokenId
stringnullable

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

datamarketoutcomes[]price
numbernullable

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

datamarketwinningOutcome
stringnullable

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

datamarketlastTradePrice
numbernullable

Price of the last trade.

datamarketbestBid
numbernullable

Highest buy price on the book.

datamarketbestAsk
numbernullable

Lowest sell price on the book.

datamarketspread
numbernullable

Gap between best ask and best bid.

Change of the leading outcome price over several windows.

datamarketpriceChangehour
numbernullable

Price change over the last hour (probability points).

datamarketpriceChangeday
numbernullable

Price change over the last 24 hours.

datamarketpriceChangeweek
numbernullable

Price change over the last 7 days.

datamarketpriceChangemonth
numbernullable

Price change over the last 30 days.

datamarketpriceChangeyear
numbernullable

Price change over the last 365 days.

Traded volume in US dollars over several windows.

datamarketvolumetotal

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.

datamarketvolumeday

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

datamarketvolumeweek

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

datamarketvolumemonth

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

datamarketvolumeyear

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

datamarketliquidity

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.

datamarketstartsAt
stringnullable

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

datamarketendsAt
stringnullable

Scheduled end (ISO-8601, UTC).

datamarketclosedAt
stringnullable

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

datamarketcreatedAt
stringnullable

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

datamarketupdatedAt
stringnullable

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

How and where the market resolves.

datamarketresolutionsource
stringnullable

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

datamarketresolutionumaStatus
stringnullable

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

datamarketresolutionresolvedBy
stringnullable

Address of the resolver contract.

datamarketnegRisk
booleannullable

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

datamarketnegRiskMarketId
stringnullable

Id of the winner-takes-all group.

datamarketminOrderSize
numbernullable

Smallest order size in shares.

datamarkettickSize
numbernullable

Smallest price step.

Trading fees on a market.

datamarketfeesenabled
booleannullable

Whether trading fees apply.

datamarketfeestype
stringnullable

Fee family, for example `politics_fees`.

datamarketfeesmakerBaseFee
numbernullable

Base fee for makers, in basis points.

datamarketfeestakerBaseFee
numbernullable

Base fee for takers, in basis points.

datamarketfeesmakerRebatesFeeShareBps
numbernullable

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

How trading fees are worked out on a market.

datamarketfeesschedulerate
numbernullable

Fee rate applied to the notional of a trade.

datamarketfeesscheduleexponent
numbernullable

Exponent of the fee curve.

datamarketfeesscheduletakerOnly
booleannullable

Whether only takers pay the fee.

datamarketfeesschedulerebateRate
numbernullable

Share of the fee returned to makers.

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

datamarketcryptoMarketConfigid
stringnullable

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

datamarketcryptoMarketConfigasset
stringnullable

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

datamarketcryptoMarketConfigduration
stringnullable

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

datamarketcryptoMarketConfigtwapEnabled
booleannullable

Whether the settlement price is a time-weighted average.

datamarketcryptoMarketConfigtwapLookbackSeconds
integernullable

Seconds the average looks back.

datamarketacceptingOrders
booleannullable

Whether the order book accepts orders.

datamarketisUserCreated
boolean

Whether a user rather than Polymarket created it.

datamarketsportsMarketType
stringnullable

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

datamarketline
numbernullable

Spread or total line for a sports market.

datamarketgameStartTime
stringnullable

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

Liquidity rewards offered on a market.

datamarketrewardsdailyRate
numbernullable

Liquidity rewards paid per day, in US dollars.

datamarketrewardsminSize
numbernullable

Smallest order size that earns rewards, in shares.

datamarketrewardsmaxSpread
numbernullable

Widest spread from the midpoint that earns rewards.

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/0x0f49db97f71c68b1e42a6d16e3de93d85dbf7d4148e3f018eb79e88554be9f75" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Polymarket market.