Introducing PreciseAPI: one schema for every book
Real-time odds from 36 sportsbooks, exchanges and DFS apps across 17 leagues — normalized into one schema over REST and WebSocket.
Today we are introducing PreciseAPI and making it generally available. PreciseAPI is a real-time odds API for sports data: it collects prices from 36 sportsbooks, exchanges and DFS pick'em apps across 17 leagues, normalizes all of them into one schema with stable ids, and delivers them over REST, a WebSocket stream and signed webhooks. It is built for the developers behind odds screens, research pipelines, alerting services, media widgets and trading dashboards.
This post covers what is included at launch, how the schema works, the endpoints, streaming and webhooks, pricing including the free Sandbox, and how we plan to evolve the API from here.
Why we built it
Anyone who has stitched together odds from more than two sources knows where the time goes. Every book names teams differently, labels markets differently, formats lines differently, and changes all of it without notice. A first-half spread is 1H Spread in one feed and a nested object three levels deep in another. Player names drift between abbreviations and full names. Ids change when a game goes live. The result is that teams spend most of their effort on mapping and very little on the product they set out to build.
PreciseAPI does that mapping once, for every source, and gives you the result as a single shape: one schema for every book. An outcome priced at 30 books is the same object with the same id at all 30, so comparing prices is a lookup rather than a matching problem.
Introducing PreciseAPI: what's included
36 sources in one feed
| Type | Count | Examples |
|---|---|---|
| Sportsbooks | 23 | Regulated US books such as FanDuel, DraftKings and BetMGM; sharp books such as Pinnacle and Circa; offshore and social books |
| Exchanges | 7 | Novig, ProphetX, 4CX, Kalshi, Polymarket, Polymarket US, Fanatics Markets |
| DFS pick'em apps | 6 | PrizePicks, Underdog, Sleeper, Dabble, Betr Picks and DraftKings Pick6 |
Exchange outcomes carry a liquidity field showing available size, and DFS lines carry a variant of standard, goblin or demon so you can compare like with like. The exchange odds API and DFS pick'em API pages go into the details.
17 leagues
Football (NFL, NCAAF, CFL), basketball (NBA, WNBA, NCAAB), MLB, NHL, soccer (EPL, La Liga, Serie A, Bundesliga, Ligue 1, MLS and the Champions League), tennis (ATP and WTA), PGA Tour golf, UFC, and five esports titles: League of Legends, Counter-Strike 2, Valorant, Dota 2 and Call of Duty.
Over 100 market keys
Markets are grouped into main lines (moneyline, spread and total for every supported period, including 3-way soccer moneylines), alternate spread and total ladders, team totals, player props, and futures and outrights. Periods include full game, first half, first quarter, first period and first five innings, depending on the sport. Player props cover every league except golf, from passing yards and pitcher strikeouts to tennis aces and esports kills. The full list is on the coverage page, and the free /v1/markets endpoint returns it in machine-readable form.
One schema, stable ids
Everything is built from five objects: events (evt_), teams, players (ids built from the name, such as nikola_jokic), markets (mkt_) and selections (sel_). Ids never change, including when a game goes in-play, so you can cache aggressively and join across books and across time. Here is one book's spread on an NBA game:
{
"id": "mkt_14ivq762bz0",
"key": "spread",
"period": "full_game",
"line": -4.5,
"outcomes": [
{ "id": "sel_1d92w0erhd2", "name": "Phoenix Suns", "side": "home", "point": -4.5, "price": -115 },
{ "id": "sel_1lhzilnwepp", "name": "San Antonio Spurs", "side": "away", "point": 4.5, "price": -105 }
],
"suspended": false,
"updated_at": "2026-10-14T23:33:15.863Z"
}
The same outcome at the same line shares a selection id at every source that prices it. Every market carries its own updated_at, and markets from a source that stops reporting are suspended automatically and excluded unless you ask for them with include_suspended=true. Prices come in American (default), decimal or implied probability via the format parameter. The data model docs describe every field.
The REST API
Version 1 ships with 16 REST endpoints under https://api.preciseapi.com/v1, each with a fixed credit cost:
| Endpoint | What it returns | Credits |
|---|---|---|
/v1/status, /v1/usage | API and source health; your balance and limits | Free |
/v1/leagues, /v1/sportsbooks, /v1/markets | Coverage reference data | Free |
/v1/teams, /v1/players | Competitors and players with stable ids | 1 |
/v1/events, /v1/events/{id}, /v1/scores | Schedules, status, scores and clock | 1 |
/v1/odds, /v1/events/{id}/odds | Current prices grouped by source | 2 |
/v1/futures | Championship, award and tournament boards | 2 |
/v1/props | Sportsbook props and DFS lines in one shape | 3 |
/v1/best-lines | Best price per outcome and the books offering it | 3 |
/v1/history | Opening, current and every timestamped move | 3 |
A request costs the same regardless of how many books or markets it returns, and /v1/odds accepts several leagues at once. Every response reports credits_used and credits_remaining, and requests that fail are never charged.
curl "https://api.preciseapi.com/v1/odds?league=nfl,nba&markets=moneyline,spread&books=pinnacle,draftkings" \
-H "Authorization: Bearer $PRECISEAPI_KEY"
Streaming
The WebSocket stream at wss://api.preciseapi.com/v1/stream pushes every price change as it happens. Subscribe to leagues or specific events, filter by books, markets and periods, and you receive a full snapshot in the same shape as /v1/odds, followed by deltas batched every 250 ms that contain only the markets that changed. Event status, score and clock changes arrive as their own messages.
{
"type": "subscribe",
"leagues": ["nba", "nfl"],
"books": ["pinnacle", "draftkings", "fanduel"],
"markets": ["moneyline", "spread", "total"],
"periods": ["full_game"]
}
Every snapshot, delta and event message carries a per-connection sequence number that increases by exactly one, and the server sends a heartbeat every 15 seconds. If your client sees a gap, it sends resync and gets a fresh snapshot. In-play prices update in under 500 ms and pre-match prices every 1 to 2 seconds. The stream and in-play prices (the live odds API) are on the Syndicate plan, where credits are unlimited; the stream is metered at one credit per connection-minute, no matter how many messages you receive. The streaming docs and our Node.js tutorial cover the protocol and a reconnecting client.
Webhooks and alerts
Not every product needs a socket open around the clock. Alert rules watch the feed for you and fire a line.moved event when a main-market price moves by at least a threshold you set in cents, or when a spread or total line changes. Rules can be narrowed to leagues, books and markets, and deliveries go to an HTTPS webhook, email, or both.
Webhook deliveries are signed with HMAC-SHA256 in a PreciseAPI-Signature header that includes a timestamp for replay protection. Failed deliveries are retried on a schedule of 30 seconds, 2 minutes, 10 minutes, 1 hour and 6 hours, and every delivery can be retried from the dashboard. Each delivered alert costs one credit. The webhooks docs include verification code for Node.js, Python and plain HMAC, and the odds alerts use case shows the pattern end to end.
Built for production
- Honest metering.
X-Credits-UsedandX-Credits-Remainingon every response; errors are never charged. - Predictable errors. Stable machine-readable codes, a human-readable message and a link to the fix.
- Key controls. Up to 10 active keys per account, each restrictable by IP allowlist, scope (REST or stream), expiry date and monthly credit cap.
- Teams. Invite teammates with admin, developer or viewer roles, with two-factor authentication on the dashboard.
- SDKs and spec. Official Node.js and Python SDKs with retries, streaming with gap recovery and webhook verification, plus an OpenAPI 3.1 spec for generating clients in other languages.
Pricing
Every paid plan includes all 36 sources and all 17 leagues. We never price per sport or per book.
| Plan | Price | Credits | Rate limit | Highlights |
|---|---|---|---|---|
| Sandbox | Free | 50 (one-time) | 20 / min | Sandbox chat and REST with a free key, pre-game lines and props |
| Edge | $49.99 / month | 100,000 / month | 300 / min | REST, props, futures and line history, pre-game odds, 2 webhook endpoints |
| Sharp | $199.99 / month | Unlimited | 1,200 / min | Everything in Edge, still pre-game only, 10 webhook endpoints |
| Syndicate | $249.99 / month | Unlimited | 3,000 / min | Adds live in-play odds, the WebSocket stream (10 connections), 25 webhook endpoints and early access to new features |
On Edge, if you need more headroom mid-month, one-time credit packs of 100,000 ($29), 500,000 ($119) and 2,000,000 ($399) never expire and are spent after your plan's monthly allowance. Full limits are on the pricing page.
The free Sandbox
The Sandbox exists so you can check the real feed before paying anything. It gives you 50 one-time credits to spend in the Sandbox chat in your dashboard, where you ask questions in plain English, such as "what's the best moneyline for the Thunder tonight?", and get answers built from live pre-game odds, player props included. Each question costs 2 credits and no card is required. The same credits work on the REST API with your account's free key, at the same credit costs as paid plans and 20 requests a minute; futures and line history start on Edge.
What PreciseAPI is not
PreciseAPI is a developer data service. We do not accept or place wagers, hold user funds, pay out anything, or sell picks or advice. We deliver each source's posted prices, normalized; the REST API does not compute fair odds or make recommendations, and any modeling on top of the data is yours. Customers are responsible for complying with the laws where their products operate.
What's next
Introducing PreciseAPI is the start, not the finish. We will keep extending coverage and the API without breaking your integration. New sources, leagues, market keys, endpoints, optional parameters and response fields ship continuously within v1, so build clients that tolerate additions. Removing or renaming anything only happens in a new major version, announced at least 90 days before the previous one is retired.
Every release is recorded on the changelog, and live source health is always available from /v1/status and the status page. If there is a book, league or market you need, tell us through the contact page; customer requests directly shape what we add next.
Get started
Create a free account on the get access page to try the Sandbox chat and your free API key, and follow the quickstart to go from zero to your first odds response in about five minutes; pick a paid plan when you need more credits or in-play odds. This post was about introducing PreciseAPI; for a broader introduction to how odds data works, read the guide to the sports betting odds API for developers.
Frequently asked questions
Which sources does PreciseAPI cover at launch?
36 sources: 23 sportsbooks (regulated US, offshore, sharp and social books), 7 exchanges, and 6 DFS pick'em apps. The free /v1/sportsbooks endpoint returns each source with its live health status and the leagues it currently covers.
Is the WebSocket stream available on every plan?
No. Streaming is included on Syndicate (10 concurrent connections), along with in-play odds. Edge and Sharp use REST for pre-game odds, and every paid plan can use webhooks for line-move alerts.
How is usage billed?
In credits. Each REST endpoint has a fixed cost between 0 and 3 credits, the stream costs one credit per connection-minute, and each delivered alert costs one credit. Failed requests are free.
Do you provide historical odds?
Yes. /v1/history returns the opening price, the current price and every timestamped move for main full-game moneylines, spreads and totals. It is included on every paid plan (Edge, Sharp and Syndicate), and the historical odds API page has the details.
Does PreciseAPI take bets or offer picks?
No. PreciseAPI sells API access to odds data only. It does not accept wagers, hold funds or provide picks or betting advice.