Skip to main content
Fetches a paginated list of all available prediction markets with optional filtering.

Endpoint

Query Parameters

string
default:"active"
Filter by market status: active, resolved, cancelled, paused, refunded, all. Defaults to active, so resolved markets are excluded unless you request them. Use all to fetch the full active + resolved set in one pass.
boolean
Convenience filter that overrides status when present: active=true returns active markets, active=false returns resolved markets. Omit to keep the status default.
number
Epoch-second lower bound on resolution time. Applies when the result set includes resolved markets (active=false, status=resolved, or status=all) — use it to slice a large resolved archive by date.
number
Epoch-second upper bound on resolution time. Applies when the result set includes resolved markets (active=false, status=resolved, or status=all).
string
Filter by category (e.g., politics, crypto, sports)
string
Filter to only markets in a specific thread (UUID). Also accepts thread_id for backward compatibility.
string
Filter to markets belonging to a specific organization (UUID)
string
Filter to markets belonging to a specific partner (UUID)
string
Filter to markets in a specific chapter
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_time
string
default:"desc"
Sort direction: asc, desc

Response

array
Array of market objects
object
Pagination metadata

Rate Limit

100 requests per minute per IP address

Example Request

Example Response

200 - Success

GET /api/markets/trending

Get trending markets based on recent activity and momentum.

Endpoint

Query Parameters

string
default:"24h"
Trending timeframe: 1h, 24h, 7d
number
default:"50"
Maximum results (max: 200)
string
Filter by category

Rate Limit

100 requests per minute per IP address

Example Request

cURL

Example Response

200 - Success

GET /api/markets/featured

Get featured high-volume markets curated by Kash.

Endpoint

Rate Limit

100 requests per minute per IP address

Example Request

cURL

Example Response

200 - Success

Common Use Cases

Fetch high-volume markets

Filter by category

Fetch the full set (active + resolved) in one pass

The endpoint returns only active markets by default. Pass status=all to include resolved markets, then page through with offset/limit (pagination.total and pagination.hasMore tell you when to stop).

Fetch only resolved markets

Slice the resolved archive by date

resolvedAfter/resolvedBefore are epoch seconds, applied to each market’s resolution time — handy for analysing a large resolved set without pulling it all at once.

Get markets from a specific thread

Get markets for an organization

To show only your organization’s markets on your own site, you can also use the dedicated GET /api/organizations/:id/markets endpoint, or drop in the organization iframe for a ready-made branded grid.

Get markets for a partner

Get markets in a specific chapter

Build a dynamic market feed


GET /api/organizations/:id/markets

List a single organization’s markets (scoped sub-resource)

Embedding Organization Iframes

Drop your markets onto your site with one iframe

GET /api/organizations/:id

Get organization metadata for filtering

GET /api/partners/:id

Get partner metadata for filtering

GET /api/threads/:id/chapters

List chapters to filter markets by

GET /api/threads

List all threads