Embed real-time event markets into your trading platform with one institution-grade API. Politics, finance, sports, and more—global coverage, sub-50ms execution.
Real-time probability data streaming from global event markets. Trade politics, finance, sports, and more.
Built for developer happiness. Our SDKs handle WebSocket subscriptions, order book management, and secure authentication out of the box.
Integrate a fully regulated prediction market trading interface into your existing fintech product in minutes, not months. RESTful endpoints and real-time WebSocket streams.
from xo_markets import XO
client = XO.Client('pk_live_8392...')
# 1. Subscribe to US Election market
market = await client.market('us-election-2028')
# 2. Place a limit buy order on "Vance"
order = await market.buy(
outcome='Vance',
amount_usd=5000,
limit_price=0.35, # 35% probability
type='GTC'
)
print(f"Order Filled: {order.id} @ {order.avg_price}")
# > Order Filled: ord_992837 @ 0.35
// Response
{
"id": "ord_992837",
"client_order_id": "clt_1eebf13e0308",
"market_id": "us-election-2028",
"outcome": "Vance",
"side": "buy",
"status": "filled",
"amount_usd": 5000.00,
"limit_price": 0.35,
"avg_price": 0.35,
"filled_at": "PLACEHOLDER_TIMESTAMP",
"filled_qty": 14285.71,
"type": "GTC"
}
Built for institutional scale with SOC 2 Type II, ISO 27001, and GDPR compliance. Multi-jurisdiction regulatory framework support.
"Prediction markets are rapidly shedding their image as a fringe curiosity and emerging as a serious new arena in finance. Probably the largest market ever."
— a16z
Common questions about integrating the XO Markets API.
You can go live within days of having your API key.
Global, excluding the US.
No, currently we offer no sports or recreational markets.
Yes, absolutely, we work with partners to create markets and give you the infrastructure to create your own markets.