Skip to main content
GET
Get Market by Slug
Returns one market selected by its slug. Base URL: https://api.dexbuilder.com Authentication: This is a public market-data endpoint and does not require authentication.

Request

slug is the URL-safe market identifier. The OpenAPI panel below is the source of truth for required parameters, types, enum values, and request-body fields. Timestamps are Unix timestamps unless the field description states otherwise.

Response

Returns the market definition, including condition ID, event ID, outcomes, token IDs, prices, status, resolution data, and trading constraints. A successful response uses HTTP 200. Invalid parameters or request bodies return HTTP 400. Private endpoints can return HTTP 401 when authentication fails, and temporary upstream failures can return HTTP 503. The error response contains a machine-readable label and message. For order, position, claim, transfer, and account operations, treat the response as the current server result and query the resource again when the operation is asynchronous.

Path Parameters

slug
string
required

Response

Request succeeded

Response object.

accepting_orders
boolean | null
best_ask
string
best_bid
string
category
string | null
closed
boolean
condition_id
string
description
object | null
enable_order_book
boolean | null
end_date
integer | null
event_id
string
icon
string | null
image
string | null
last_trade_price
string
limit_buy_min_shares
string
market_id
string
min_order_size
string | null
neg_risk
boolean | null
outcomes
object[]
question
object | null
resolution_source
string | null
resolved_at
integer | null
slug
string
start_date
integer | null
status
string
tags
object[]
tick_size
string | null
uma_end_date
string | null
uma_end_date_iso
string | null
uma_resolution_status
string | null
uma_resolution_statuses
string | null
volume
string | null
volume_24hr
string
winning_outcome
string | null
winning_token_id
string | null