Skip to content

Browse All Markets

GET /markets

Server: https://gamma.openfish.fun

Tags: Markets


NameInTypeDefaultDescription
limitqueryinteger25Cap on the number of items returned (upper bound: 500)
offsetqueryinteger0Number of records to skip for pagination
orderquerystringvolume_numField used for sorting. Accepted values: volume_num, liquidity_num, start_date, end_date, created_at
ascendingquerybooleanfalseWhether to sort in ascending order
closedquerybooleanNarrow results to closed or open markets
tag_slugquerystringOnly include markets that carry this tag slug
activequerybooleanfalseWhen true, restricts to markets that are not closed and whose end_date is in the future
qquerystringFree-text search against the market question (case-insensitive partial match)
idquerystringComma-separated market IDs for batch lookup
slugquerystringComma-separated slugs for batch lookup
condition_idsquerystringComma-separated condition IDs
clob_token_idsquerystringComma-separated CLOB token IDs
liquidity_num_minquerynumberMinimum liquidity
liquidity_num_maxquerynumberMaximum liquidity
volume_num_minquerynumberMinimum volume
volume_num_maxquerynumberMaximum volume
start_date_minquerystringEarliest allowable start date (ISO 8601)
start_date_maxquerystringLatest allowable start date (ISO 8601)
end_date_minquerystringEarliest allowable end date (ISO 8601)
end_date_maxquerystringLatest allowable end date (ISO 8601)
game_idquerystringRestrict to a specific sports game
sports_market_typesquerystringComma-separated sports market type identifiers
cyomquerybooleanNarrow results to community-created markets
statusquerystringLifecycle stage filter (PROPOSED, LIVE, RESOLVING, RESOLVED)

200 — The response body is a JSON array where each element is a Market object.

[
{
"id": "12345",
"question": "Will BTC exceed $100k by end of 2026?",
"slug": "will-btc-exceed-100k",
"conditionId": "0xabc...",
"outcomePrices": "[\"0.65\",\"0.35\"]",
"volume": "50000",
"active": true,
"closed": false
}
]

Terminal window
curl "https://gamma.openfish.fun/markets?limit=10&active=true&tag_slug=crypto"