Endpoints Overview
| Endpoint | Description |
|---|---|
GET /api/v2/events/{eventID}/markets/history | Full price history across all markets for an event |
GET /api/v2/events/{eventID}/markets/{marketID}/history | Price history for a specific market (ideal for charting) |
GET /api/v2/events/{eventID}/openers | Opening lines for a single event |
GET /api/v2/events/{eventID}/closing | Closing lines for a single event |
GET /api/v2/sports/{sportID}/openers/{date} | Opening lines for all events in a sport on a date |
GET /api/v2/sports/{sportID}/closing/{date} | Closing lines for all events in a sport on a date |
Full Market History
Use the full history endpoint to get every recorded price change for an event across all markets and sportsbooks.Query Parameters
| Parameter | Type | Description |
|---|---|---|
affiliate_ids | string | Comma-separated sportsbook IDs to include |
market_ids | string | Comma-separated market IDs to filter |
from | string | Start time in RFC 3339 format (e.g., 2026-02-10T00:00:00Z) |
to | string | End time in RFC 3339 format (e.g., 2026-02-12T23:59:59Z) |
Example Response
Single Market History (Chart Data)
For building a line movement chart, fetch history for a specific market. This returns a chart-optimized response withseries grouped by sportsbook (keyed by affiliate ID), where each data point uses shorthand fields: t (timestamp), p (price as a string), and c (closed_at).
Filtering by Time Range
Usefrom and to parameters in RFC 3339 format to scope history to a specific window. This is useful for showing line movement in the last 24 hours or during a specific period.
Opening Lines
The openers endpoints return the first price posted by each sportsbook for each market. The response uses the same V2 events structure (withmarkets, participants, lines, and prices).
Closing Lines
The closing endpoint returns the final price posted before game time. The response uses the same V2 events structure as openers. Closing lines are widely considered the most efficient odds and are useful for evaluating betting performance.Building a Line Movement Chart
Here is a complete example that fetches spread history and formats the data for a charting library. The chart endpoint returnsseries as a map keyed by affiliate ID, with each entry containing an affiliate_name and data array of {t, p, c} points.
Comparing Openers to Current Lines
A common use case is showing how far a line has moved from its opener. Fetch both the opener and current odds, then compute the difference. Both endpoints return the same V2 events structure withmarkets > participants > lines > prices.
Next Steps
Getting Live Odds
Fetch current odds for today’s games
Player Props
Historical data for prop markets too
Market IDs
Full list of market types
Sportsbook IDs
All tracked sportsbooks