Endpoint
Query parameters
string
default:"active"
active, resolved or all. active includes markets that have passed their end time but are still waiting to resolve. all returns every market. cancelled, paused and refunded are accepted but currently return the same set as active.string
true/1 or false/0. A shortcut that overrides status: true returns active markets and false returns resolved markets.boolean
default:"false"
Applies to the active set only. When
true, frozen and expired markets are left out, so every result can still be traded.string
Matches against market titles and descriptions. Every word must match. 1 to 120 characters.
string
A category slug, such as
football or business. /api/markets/category-stats lists the slugs.string
Only markets in this thread (UUID).
thread_id is also accepted.string
Only markets in this chapter.
string
A comma-separated list of up to 100 market UUIDs.
boolean
default:"false"
When
true, returns only markets created by creators rather than by Kash.string
true or false. Filters on whether the market has an active fan-token redemption option.integer
Earliest resolution time, in epoch seconds. Use it with
status=resolved or status=all.integer
Latest resolution time, in epoch seconds.
string
default:"created_at"
created_at, total_volume, current_probability, current_implied_chance, title or end_time.string
default:"desc"
asc or desc.integer
default:"100"
1 to 500.
integer
default:"0"
0 to 10,000.
Response
Market[]
Each market object has the fields below. Markets carry more fields than this list, but those extra fields are internal and may change.
object
{ offset, limit, total, hasMore }object
{ requestedAt, cached, computed }Rate limit
Market reads group, rate-limited per IP (see Rate limits). Responses may be served from a short-lived cache.Example request
Example response
200 (trimmed)
400
Related
GET /api/markets/:id
One market in full
GET /api/markets/state
Refresh prices for many markets