Skip to main content
GET
/
v2
/
clob
/
markets
curl https://api.pmx.trade/v2/clob/markets
{
  "markets": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "marketId": "btc-100k-2025",
      "marketPubkey": "7xKXabc123...",
      "status": "active",
      "outcome": null,
      "title": "Will BTC hit $100k by end of 2025?",
      "description": "Resolves YES if Bitcoin reaches $100,000 USD...",
      "resolutionRules": "Based on CoinGecko BTC/USD price",
      "category": "crypto",
      "endDate": "2025-12-31T23:59:59.000Z",
      "imageUrl": "https://...",
      "yesTicker": "YES",
      "noTicker": "NO",
      "creatorAddress": "7xKXabc123...",
      "bestBid": { "yes": 5500, "no": 4200 },
      "bestAsk": { "yes": 5800, "no": 4500 },
      "lastPrice": { "yes": null, "no": null },
      "createdAt": "2025-01-01T00:00:00.000Z",
      "updatedAt": "2025-01-10T00:00:00.000Z"
    }
  ]
}
Returns all markets with real-time pricing data from the orderbook.

Response

markets
array
curl https://api.pmx.trade/v2/clob/markets
{
  "markets": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "marketId": "btc-100k-2025",
      "marketPubkey": "7xKXabc123...",
      "status": "active",
      "outcome": null,
      "title": "Will BTC hit $100k by end of 2025?",
      "description": "Resolves YES if Bitcoin reaches $100,000 USD...",
      "resolutionRules": "Based on CoinGecko BTC/USD price",
      "category": "crypto",
      "endDate": "2025-12-31T23:59:59.000Z",
      "imageUrl": "https://...",
      "yesTicker": "YES",
      "noTicker": "NO",
      "creatorAddress": "7xKXabc123...",
      "bestBid": { "yes": 5500, "no": 4200 },
      "bestAsk": { "yes": 5800, "no": 4500 },
      "lastPrice": { "yes": null, "no": null },
      "createdAt": "2025-01-01T00:00:00.000Z",
      "updatedAt": "2025-01-10T00:00:00.000Z"
    }
  ]
}
Prices are in basis points (bps). 5500 bps = $0.55. When bestBid/bestAsk are null, lastPrice provides the most recent trade price as a fallback.