Skip to main content
GET
https://api.pmx.trade
/
v2
/
markets
/
{slug}
/
details
curl "https://api.pmx.trade/v2/markets/btc-100k-march/details" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "success": true,
  "data": {
    "slug": "btc-100k-march",
    "name": "Will BTC reach $100k by March 2026?",
    "description": "This market resolves to YES if the price of Bitcoin reaches $100,000 USD on any major exchange by March 31, 2026.",
    "status": "live",
    "outcome": null,
    "options": ["Yes", "No"],
    "endDate": "2026-03-31T23:59:59Z",
    "createdAt": "2026-01-15T10:00:00Z",
    "resolvedAt": null,
    "tags": ["crypto", "bitcoin", "price"],
    "imageUrls": ["https://example.com/btc-market.png"],
    "category": "crypto",
    "paid": true,
    "resolved": false,
    "cas": {
      "Yes": "YesTokenMintAddress123...",
      "No": "NoTokenMintAddress456..."
    },
    "metadata": {
      "target_price": 0.0005,
      "option_wallets": {
        "Yes": "YesOptionWalletPubkey...",
        "No": "NoOptionWalletPubkey..."
      }
    }
  }
}
slug
string
required
The unique identifier of the market (e.g., btc-100k-march)
curl "https://api.pmx.trade/v2/markets/btc-100k-march/details" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "success": true,
  "data": {
    "slug": "btc-100k-march",
    "name": "Will BTC reach $100k by March 2026?",
    "description": "This market resolves to YES if the price of Bitcoin reaches $100,000 USD on any major exchange by March 31, 2026.",
    "status": "live",
    "outcome": null,
    "options": ["Yes", "No"],
    "endDate": "2026-03-31T23:59:59Z",
    "createdAt": "2026-01-15T10:00:00Z",
    "resolvedAt": null,
    "tags": ["crypto", "bitcoin", "price"],
    "imageUrls": ["https://example.com/btc-market.png"],
    "category": "crypto",
    "paid": true,
    "resolved": false,
    "cas": {
      "Yes": "YesTokenMintAddress123...",
      "No": "NoTokenMintAddress456..."
    },
    "metadata": {
      "target_price": 0.0005,
      "option_wallets": {
        "Yes": "YesOptionWalletPubkey...",
        "No": "NoOptionWalletPubkey..."
      }
    }
  }
}
slug
string
Unique market identifier used in URLs
name
string
Market title/question
description
string
Detailed market description and resolution criteria
status
string
Current status: live, active, resolved, pending
outcome
string | null
Winning outcome if market is resolved, null otherwise
options
array
Array of option names (typically ["Yes", "No"])
endDate
string
ISO 8601 resolution date
cas
object
Token mint addresses for each option (YES/NO shares)
metadata.target_price
number
Price per token in USDC (e.g., 0.0005 = $0.0005 per token)
metadata.option_wallets
object
Platform wallet addresses for each option (where to send payments/tokens)