Skip to main content
GET
Get market by contract address or condition id

Path Parameters

contractAddress
string
required

Either a 20-byte wrapper contract address (LMSR / V2 CLOB) or a 32-byte 0x-prefixed conditionId (V3 CLOB via XOClobMarketManager).

Response

Market metadata.

Canonical market metadata. Identifiers MMs care about:

  • id — backend numeric id (used in /markets/{id}).
  • conditionId0x-prefixed 32-byte ConditionalTokens condition id. CLOB orderbook routes treat this as market_id.
  • marketContractAddress — on-chain contract to target for transactions (settlement, pause/resolve, etc.). For V3 CLOB this is the unified XOClobMarketManager.
id
integer
Example:

482

contractMarketId
string

Canonical indexer key. For LMSR / V2 CLOB this is the wrapper contract address; for V3 CLOB this equals conditionId.

conditionId
string | null

0x-prefixed bytes32 ConditionalTokens condition id.

marketContractAddress
string | null
versionId
integer | null

2 = V2 (LMSR / CLOB wrapper), 3 = V3 (XOClobMarketManager).

title
string
slug
string
description
string
rules
object
category
object[]
tags
string[]
type
enum<integer>

0=STANDARD, 1=PULSE, 2=CLOB, 3=CLOB_PULSE.

Available options:
0,
1,
2,
3
status
enum<string>
Available options:
PENDING,
ACTIVE,
PAUSED,
CLOSED,
RESOLVED,
VOIDED,
CANCELLED
startsAt
string<date-time> | null
expiresAt
string<date-time>
resolvedAt
string<date-time> | null
totalVolume
string

Total volume in WEI (collateral token base units).

totalVolumeInUSD
string

Total volume in USD with 2-decimal precision.

collateralTokenId
integer
Example:

3

imageUrl
string
metadataUri
string
winningOutcomeId
integer | null
outcomes
object[]
visible
boolean