GET /market-pages/{id}/markets
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/limitless/market-pages/{id}/marketsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freePaginated markets belonging to one market page.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | path | str | required | Market page UUID from /market-pages/by-path. example: 5e76699e-8763-4c91-85de-3efeb064efec |
page | query | int | optional | One-based page number. example: 1 |
limit | query | int | optional | Rows per page (server caps vary by route; 100 is the widest documented). example: 5 |
sort | query | str | optional | Sort field; prefix with `-` for descending. example: -updatedAt |
includeNextMarket | query | bool | optional | Include the upfront-scheduled successor market in the payload. default: Falseexample: True |
Response
type: object
pagination: none
sample: {
"data": "array[5]",
"pagination": "object"
}
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/market-pages/5e76699e-8763-4c91-85de-3efeb064efec/markets?page=1&limit=5&sort=-updatedAt&includeNextMarket=True"