Polymarket — List markets (keyset pagination)

Use the Polymarket Markets List API to discover prediction markets and filter by status, liquidity, or trading volume. Use after_cursor to page through markets and date filters to narrow the results. Build prediction-market discovery tools, market dashboards, and scheduled data syncs. The GET request schema also lists limit, order, ascending. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.

Selected price
$0 / callPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (30)
Maximum number of results to return (max 100)
Comma-separated list of JSON field names to order by, e.g. volume_num,liquidity_num
Sort direction. Only used when order is set.
Opaque cursor token from a previous response's next_cursor
Not allowed. Returns 422 if provided.
id
slug
Filter by closed state. Omitted or false returns open markets; true returns closed markets. Use any (case-insensitive) to include both states in an identifier lookup. Requires at least one of id, slug, clob_token_ids, position_ids, condition_ids, request_ids, onchain_event_ids, or question_ids when any is used. Each identifier filter accepts at most 100 values. Missing an identifier with any, or an invalid closed value, returns 422. Import profile accepts the boolean branch only; other union branches are not exposed.
decimalized
clob_token_ids
condition_ids
question_ids
liquidity_num_min
liquidity_num_max
volume_num_min
volume_num_max
start_date_min
start_date_max
end_date_min
end_date_max
tag_id
related_tags
tag_match
cyom
rfq_enabled
uma_resolution_status
game_id
sports_market_types
When true, includes Tags relation on each market
locale

Sample response

"$schema": "https://gamma-api.polymarket.com/schemas/MarketsKeysetListResponse.json"
markets [2]
[0] {}
"conditionId": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7"
descriptionString · text preview
markets[0].description
This market will resolve to "Yes" if China's General Secretary of the Communist Party, Xi Jinping, is removed from power for any length of time between July 3, 2025, and December 31, 2026, 11:59 PM ET. Otherwise, this market will resolve to "No".

CCP General Secretary Xi Jinping will be considered removed from power if he announces his resignation from his role as General Secretary, or is otherwise dismissed, detained, disqualified, or otherwise loses his position or is prevented from fulfilling his duties as General Secretary within this market's timeframe.

The primary resolution source for
"endDate": "2027-01-01T04:59:00Z"
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/xi-jinping-out-in-2025-EjF4SM20eaa3.jpg"
"id": "559651"
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/xi-jinping-out-in-2025-EjF4SM20eaa3.jpg"
"liquidity": "376789.27736"
outcomesJSON string · parsed preview
markets[0].outcomes
[
  "Yes",
  "No"
]
"question": "Xi Jinping out before 2027?"
"resolutionSource": ""
"slug": "xi-jinping-out-before-2027"
"startDate": "2025-07-03T20:37:00.228Z"
[1] {}
"conditionId": "0x0f49db97f71c68b1e42a6d16e3de93d85dbf7d4148e3f018eb79e88554be9f75"
descriptionString · text preview
markets[1].description
This market will resolve to “Yes” if the named individual wins and accepts the 2028 nomination of the Democratic Party for U.S. president. Otherwise, this market will resolve to “No”.

The resolution source for this market will be a consensus of official Democratic Party sources.

Any replacement of the democratic nominee before election day will not change the resolution of the market.
"endDate": "2028-11-08T04:59:00Z"
"icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-gavin-newsom-win-the-2028-us-presidential-election-x9lPL7_gXn--.png"
"id": "559652"
"image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-gavin-newsom-win-the-2028-us-presidential-election-x9lPL7_gXn--.png"
"liquidity": "556617.52098"
outcomesJSON string · parsed preview
markets[1].outcomes
[
  "Yes",
  "No"
]
"question": "Will Gavin Newsom win the 2028 Democratic presidential nomination?"
"resolutionSource": ""
"slug": "will-gavin-newsom-win-the-2028-democratic-presidential-nomination-568"
"startDate": "2025-07-11T18:35:56.805Z"
"next_cursor": "bjZlbp--Id8uILt2O_myoOvX-CNl-MzVGdWQ_udL8nt7InYiOjEsImsiOiJtYXJrZXRzIiwib2giOiI0ZjUzY2RhMThjMmJhYTBjMDM1NGJiNWY5YTNlY2JlNWVkMTJhYjRkOGUxMWJhODczYzJmMTExNjEyMDJiOTQ1Iiwia2V5cyI6W3sidCI6InN0cmluZyIsInYiOiI1NTk2NTIifV19"

Response result

Response structure

Inferred from examples
  • $schemastring
  • marketsobject[]
    • conditionIdstring
    • descriptionstring
    • endDatestring
    • iconstring
    • idstring
    • imagestring
    • liquiditystring
    • outcomesstring
    • questionstring
    • resolutionSourcestring
    • slugstring
    • startDatestring
  • next_cursorstring

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Polymarket — List markets (keyset pagination) with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.