Skip to main content
GET
/
v2
/
markets
# All active markets
curl "https://api.pmx.trade/v2/markets?status=active"

# All markets
curl "https://api.pmx.trade/v2/markets"
{
  "success": true,
  "data": [
    {
      "id": 1,
      "title": "BTC above $95000 by Mar 1 12:00 UTC",
      "description": "Will BTC be above $95,000 at the resolution time?",
      "status": "active",
      "marketType": "amm",
      "winningOutcome": "unresolved",
      "yesTicker": "YES",
      "noTicker": "NO",
      "yesMint": "8xK3...abc",
      "noMint": "9yL4...def",
      "yesReserve": 3500000,
      "noReserve": 6500000,
      "odds": { "yes": 0.65, "no": 0.35 },
      "tradeFeeBps": 200,
      "creator": "7xKX...abc",
      "createdAt": 1717200000,
      "resolutionTime": 1735689600,
      "mintsInitialized": true
    }
  ]
}

Query parameters

status
string
Filter by market status: active, resolved, or cancelled. Omit to return all markets.
creator
string
Filter by creator wallet address. Returns only markets created by this wallet.
expired
boolean
If true, returns only markets where the resolution time has passed but the market is still active (not yet resolved).
limit
integer
Maximum number of markets to return. Used for pagination.
offset
integer
Number of markets to skip. Used for pagination. Combine with limit to page through results.
includeBroken
boolean
If true, includes markets with uninitialized mints in results. These markets have _broken: true and cannot be traded. Defaults to false.

Response

success
boolean
pagination
object
Present when limit or offset query params are used.
data
array
Array of market objects. Markets with uninitialized mints are automatically filtered out.
# All active markets
curl "https://api.pmx.trade/v2/markets?status=active"

# All markets
curl "https://api.pmx.trade/v2/markets"
{
  "success": true,
  "data": [
    {
      "id": 1,
      "title": "BTC above $95000 by Mar 1 12:00 UTC",
      "description": "Will BTC be above $95,000 at the resolution time?",
      "status": "active",
      "marketType": "amm",
      "winningOutcome": "unresolved",
      "yesTicker": "YES",
      "noTicker": "NO",
      "yesMint": "8xK3...abc",
      "noMint": "9yL4...def",
      "yesReserve": 3500000,
      "noReserve": 6500000,
      "odds": { "yes": 0.65, "no": 0.35 },
      "tradeFeeBps": 200,
      "creator": "7xKX...abc",
      "createdAt": 1717200000,
      "resolutionTime": 1735689600,
      "mintsInitialized": true
    }
  ]
}
Markets with uninitialized mints (where yesMint or noMint is 11111111111111111111111111111111) are automatically excluded from list results. These are broken markets where the init-mints step was never completed.