Betfair Exchange API Integration
Access Betfair Exchange back/lay odds and market depth via the Krok Odds API — real-time exchange pricing across AFL, NRL, racing and more.
Real-time
Update Speed
140+
Sport Keys
Full order book
Market Depth
Exchange Feed
Bookmaker Status
Overview
Betfair is the world's largest betting exchange, offering back and lay odds on sports and racing. Krok Odds provides programmatic access to Betfair Exchange prices, including back/lay odds, market depth, traded volume and BSP (Betfair Starting Price) for racing. Exchange odds update in real-time with sub-second latency.
Quick Start
cURL
curl -s "https://krokodds.com.au/api/v1/odds-feed/betfair?sport_key=aussierules_afl" -H "x-api-key: YOUR_API_KEY" | jq '.data[] | {event: .event_name, back: .back_price, lay: .lay_price}'Replace YOUR_API_KEY with your API key from /api-access. Free tier includes 50 credits/month.
Available Endpoints
What You Get
- Back and lay odds with market depth
- Real-time exchange price updates
- Betfair Starting Price (BSP) for racing
- Traded volume and liquidity data
- Cross-exchange arbitrage detection
- Exchange vs fixed-odds comparison
- Historical exchange odds archive
Frequently Asked Questions
Related Pages
Ready to Get Started?
Free tier — no credit card. 50 credits/month to explore every live endpoint. API plan at A$49/mo with 50,000 credits, historical archives and bulk export.