Skip to main content

Get Your API Key

1

Create an account

Connect your Solana wallet at pmx.trade
2

Generate API key

Navigate to Settings → API Keys → Create New Key
3

Save securely

Copy your key immediately. It won’t be shown again.

Make Your First Request

curl https://api.pmx.trade/v2/markets?status=live&limit=5 \
  -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "success": true,
  "data": {
    "markets": [
      {
        "slug": "btc-100k-march",
        "title": "Will BTC reach $100k by March 2026?",
        "status": "live",
        "yes_price": 0.72,
        "no_price": 0.28,
        "volume": 125000
      }
    ]
  }
}

Next Steps