GET /api/markets?organizationId=:id, scoped to a single organization so you only ever get back that organization’s markets.
Endpoint
Path Parameters
string
required
The unique organization identifier (UUID format)
Query Parameters
string
default:"active"
Filter by market status:
active, resolved, cancelled, paused, refunded, allstring
Filter by category (e.g.,
politics, crypto, sports)number
default:"50"
Maximum number of results per page (max: 100)
number
default:"0"
Pagination offset for fetching subsequent pages
string
default:"created_at"
Field to sort by:
created_at, total_volume, current_probability, title, end_timestring
default:"desc"
Sort direction:
asc, descResponse
array
Array of market objects (same shape as
GET /api/markets)object
Pagination metadata
object
Request metadata
Rate Limit
100 requests per minute per IP address
Example Request
Example Response
200 - Success
404 - Organization Not Found
Showing only your organization’s markets
Because the organization is fixed by the path, every market returned belongs to that organization — there is no way for another organization’s markets to appear in the response. This is the recommended endpoint for powering an “our markets” feed on your own website. If you prefer the flat endpoint, the equivalent call is:Related Endpoints
Embedding Organization Iframes
Drop your markets onto your site with a single iframe
GET /api/organizations/:id
Get organization metadata (name, logo, branding)
GET /api/markets
List all markets with the equivalent organizationId filter
GET /api/markets/:id/twitter-link
Generate a Twitter deep link to post & trade a market