v32

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-076085232.1 KB
Market Navigation

List markets for a page

Returns paginated list of markets for a specific market page with filtering and sorting

get/market-pages/{id}/markets

Path parameters

idstring required
Example:123e4567-e89b-12d3-a456-426614174000

Market page ID

Query parameters

{"stackTrail":"paths:/market-pages/{id}/markets:get:parameters:1:schema","oasType":"schema","type":"unknown"}

Cursor token for cursor-based pagination (cannot be used with page)

sortstring
Example:-updatedAt

Sort field with optional - prefix for descending (e.g., -updatedAt, createdAt, deadline)

{"stackTrail":"paths:/market-pages/{id}/markets:get:parameters:3:schema","oasType":"schema","type":"unknown","example":20}

Number of items per page (max 100)

{"stackTrail":"paths:/market-pages/{id}/markets:get:parameters:4:schema","oasType":"schema","type":"unknown","example":1}

Page number for offset pagination (cannot be used with cursor)

Response

Markets retrieved successfully

datastring[] required

Array of market/group data

countsobject

Counts per tab option for the active filter context

Example response

{
  "counts": {
    "matches": 45,
    "props": 3
  }
}