Limitless API SDK for
Python & TypeScript
Trade binary and NegRisk multi-outcome markets on Limitless — the on-chain prediction market on Base. Three lines to connect, zero transaction boilerplate.
import pmxt
# Read Limitless via PMXT's hosted catalog — no Base wallet needed
client = pmxt.Limitless(pmxt_api_key="pmxt_live_...")
# Fetch live markets and prices
events = client.fetch_events(query="BTC above 100k")
market = events[0].markets[0]
print(f"{market.title}: Yes {market.yes.price}¢ / No {market.no.price}¢")Without pmxt
8 on-chain steps before your first trade
Limitless settles trades on-chain on Base L2. Every order requires wallet management, EIP-712 signing, gas estimation, and transaction submission. pmxt handles all of it.
- 1Configure Base L2 RPC endpoint
- 2Load wallet & manage private key
- 3Construct EIP-712 typed data for signing
- 4Build contract call data for the CLOB
- 5Estimate gas & set gas price on Base
- 6Sign and submit transaction on-chain
- 7Wait for block confirmation
- 8Parse on-chain event logs & decode response
With pmxt: read via hosted catalog, trade via self-hosted SDK.
client = pmxt.Limitless(pmxt_api_key="pmxt_live_...") # reads
exchange = pmxt.Limitless(private_key="0x...") # tradesTrading path: /docs/guides/self-hosted
How Limitless works
On-chain prediction markets on Coinbase's Base L2
Base L2 settlement
All trades settle on Base, Coinbase's Ethereum L2. Gas costs are a few cents per transaction. Collateral is held in USDC — every Yes + No pair is backed by $1.00.
NegRisk multi-outcome
Unique to Limitless: category markets where outcomes are mutually exclusive. "Who wins the election?" with 5+ candidates, each with its own orderbook, and linked No shares for arbitrage.
Hourly markets
30-minute and 60-minute markets on crypto prices, stocks, and commodities with instant on-chain resolution. Built for short-term strategies that no other platform offers.
How it compares
Limitless vs Polymarket vs Kalshi
Limitless | Polymarket | Kalshi | |
|---|---|---|---|
| Blockchain | Base (Coinbase L2) | Polygon | None (centralized) |
| Settlement | USDC on-chain | USDC on-chain | USD (fiat) |
| Auth model | API key + EIP-712 | EIP-712 + CLOB headers | RSA-PSS signing |
| Market types | Binary + NegRisk multi-outcome | Binary + multi-outcome | Binary event contracts |
| Hourly markets | 30 & 60 min resolution | No | No |
| Trading model | CLOB (on-chain settlement) | CLOB (hybrid) | Orderbook (centralized) |
| Native token | LMTS (fee discounts, governance) | None | None |
| US access | Unrestricted | Limited beta | Most states |
pmxt supports all three exchanges with a single unified API. Switch between them by changing one line.
Why pmxt
One SDK for every prediction market
Zero on-chain boilerplate
Base RPC, wallet management, EIP-712 signing, gas estimation — all handled. You call create_order(), pmxt submits the transaction.
Multi-exchange
Switch from Limitless to Polymarket or Kalshi by changing one line. Same methods, same types, different exchange.
Type-safe
Full TypeScript definitions and Pydantic models in Python. NegRisk markets, hourly markets, and standard binaries all have dedicated types.
WebSocket streaming
Subscribe to Limitless price changes and orderbook updates in real-time via wss://ws.limitless.exchange.
Same fetch_events() across every exchange
Limitless API FAQ
Common questions about using pmxt with Limitless Exchange.
Start building with Limitless
Connect to Base L2 and place your first on-chain trade in under a minute.