Skip to main content

List Events

Authentication: Public Query parameters: When sortBy=liquidity, send minLiquidity or maxLiquidity. For public callers, nested markets with status=DRAFT are omitted. Pagination totals are capped server-side; when the real count exceeds the cap, total contains the cap and totalCapped is true. Response type: Pagination<Event>.

Get Event

Authentication: Public Path parameters: Query parameters: AUTO uses a recent bounded window for series-layout events and otherwise returns all public markets in one response. Public responses omit DRAFT markets under every scope. With marketScope=ALL, the response carries at most 50 markets, newest first (latest startDate first, then createdAt, then id), and a nextMarketCursor field. Pass its value back unchanged as marketCursor to get the next page; when nextMarketCursor is null there are no more markets. Do not parse or modify the cursor. nextMarketCursor is absent under the other scopes. Sending marketCursor without marketScope=ALL, or a value that is not a well-formed cursor, returns 400. Response type: Event.

Get Event Volume

Authentication: Public Path parameters: Response type: number.

Get Event Positions by User

Authentication: Public with optional user authentication Returns public-safe positions in one event for up to 50 users. Users without positions in the event are omitted. The backend reads at most 10,000 matching position rows across the request and does not include a truncation marker. Path parameters: Query parameters: Response type: EventUserPositions[]. EventUserPosition:

Event

Market

On GET /api/v1/events/{id_or_slug}, a started CLOSE_PRICE market using the PYTH price source can have an empty stored target derived from the live price feed at read time. The event-list endpoint does not perform this live derivation. If the source price is unavailable, the target remains null. When the derived market is also the market selected for the event’s compatibility metadata, the value can populate metadata.cryptoPairTargetPrice. MarketReward uses the same current-period shape documented in Rewards, including rewardStatus, accrual-window fields and boost information.

Tag

Category