Skip to main content
GET
/
v2
/
clob
/
markets
/
{marketId}
curl https://api.pmx.trade/v2/clob/markets/550e8400-e29b-41d4-a716-446655440000
{
  "market": {
    "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...",
    "createdAt": "2025-01-01T00:00:00.000Z",
    "updatedAt": "2025-01-10T00:00:00.000Z"
  },
  "bestBid": { "yes": 5500, "no": 4200 },
  "bestAsk": { "yes": 5800, "no": 4500 },
  "lastPrice": { "yes": null, "no": null }
}
Returns market details with real-time best bid/ask from the orderbook.

Path parameters

marketId
string
required
The market UUID or slug.

Response

market
object
bestBid
object
Best bid prices: { yes, no } in bps.
bestAsk
object
Best ask prices: { yes, no } in bps.
lastPrice
object
Last trade prices (fallback): { yes, no } in bps.
curl https://api.pmx.trade/v2/clob/markets/550e8400-e29b-41d4-a716-446655440000
{
  "market": {
    "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...",
    "createdAt": "2025-01-01T00:00:00.000Z",
    "updatedAt": "2025-01-10T00:00:00.000Z"
  },
  "bestBid": { "yes": 5500, "no": 4200 },
  "bestAsk": { "yes": 5800, "no": 4500 },
  "lastPrice": { "yes": null, "no": null }
}