GET /markets/active

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/limitless/markets/activeCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Active (unresolved) markets and groups, filterable by trade type and category.

Parameters

nameintypedescription
pagequeryintoptionalOne-based page number.
example: 1
limitqueryintoptionalRows per page (server caps vary by route; 100 is the widest documented).
example: 5
sortByquerystr
ending_soon | high_value | lp_rewards | newest | trending
optionalOrdering preset for the active-market feed.
default: trending
example: trending
tradeTypequerystr
amm | clob | group
optionalRestrict to AMM markets, CLOB markets or grouped (NegRisk) markets.
example: clob
automationTypequerystr
manual | lumy | sports
optionalRestrict to human-created, Lumy-generated or sports markets.
example: manual
includeNextMarketquerybooloptionalInclude the upfront-scheduled successor market in the payload.
default: False
example: True

Response

type: object
pagination: none
sample: {
  "data": "array[5]",
  "totalMarketsCount": "int"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/limitless/markets/active?page=1&limit=5&sortBy=trending&tradeType=clob&automationType=manual&includeNextMarket=True"