Skip to main content

1. Get an API key

Go to pmxt.dev/dashboard and create a key. It starts with pmxt_live_ and works immediately.

2. Query a venue

Pick a venue and start pulling data. The SDK gives you a unified interface — same methods, same response shape, regardless of which venue you’re talking to.
pip install pmxt
import pmxt

poly = pmxt.Polymarket(pmxt_api_key="pmxt_live_...")
markets = poly.fetch_markets(query="election", limit=3)

for m in markets:
    print(m.title, m.outcomes[0].price)
Switch venues by swapping the class — pmxt.Kalshi(...), pmxt.Limitless(...), etc. The methods and response shapes are identical.

3. Search across every venue

The Router is PMXT’s cross-venue search layer — and the foundation for a full smart order router for prediction markets. One query fans out across every venue PMXT ingests and returns ranked, unified results.
curl "https://api.pmxt.dev/v0/markets?query=election&limit=3" \
  -H "Authorization: Bearer pmxt_live_..."
{
  "data": [
    {
      "marketId": "d35bc8c6-5602-477d-af21-e9513af9d696",
      "title": "US forces enter Iran by April 30?",
      "volume24h": 89757605.08,
      "outcomes": [
        { "outcomeId": "...", "label": "April 30",     "price": 0.9985 },
        { "outcomeId": "...", "label": "Not April 30", "price": 0.0015 }
      ]
    }
  ],
  "meta": { "count": 3, "limit": 3, "offset": 0 }
}
The same marketId, title, outcomes shape whether the row came from Polymarket, Kalshi, Limitless, or anywhere else. Filter by venue with &exchange=kalshi, by category with &category=Politics, or just search everything.
Router support is coming to the Python and TypeScript SDKs. Today, the /v0/events and /v0/markets endpoints are available via HTTP.

4. Go further

Router

/v0/events and /v0/markets — cross-venue search and the beginning of a smart order router for prediction markets.

Full venue API

Order books, trades, OHLCV, positions, balances, and trading — all via POST /api/:exchange/:method.

Unified schema

Event / Market / Outcome — the shape that works everywhere.

Supported venues

Every venue PMXT speaks, and what each supports.