BetOnline API
BetOnline API for real-time BetOnline odds: moneylines, spreads, totals and more, next to 35 other sources with stable event ids.
BetOnline is an offshore sportsbook that prices a very wide range of leagues, from the NFL to esports. Alongside its sportsbook it runs casino, poker and racing products, and it says its sportsbook posts some of the earliest odds anywhere online. That last point is what makes BetOnline odds data interesting to developers, and why many of them go looking for a BetOnline API.
Early numbers tell you where the market started, how far it moved and who moved it. If you run a line-shopping screen, track openers for a betting model, or need a wide offshore book next to regulated US prices, BetOnline is a column worth having. This page covers what the BetOnline feed in PreciseAPI contains, how it fits next to sharp and regulated books, and how to query it.
Does BetOnline have a public API?
No. BetOnline doesn't offer a public odds API for developers. There is no developer portal or self-serve key that third parties can use to pull its lines. When people search for a "BetOnline API" or "BetOnline odds API," what they usually want is BetOnline's current prices in a structured format they can query, store and compare.
PreciseAPI provides that independently. We collect BetOnline's posted prices and normalize them into the same event, market and outcome ids we use for every other source, from Pinnacle to FanDuel to Kalshi. It is not an official or partner product, and BetOnline has not endorsed it. Availability of BetOnline itself varies by jurisdiction, which matters for your users but not for the data: the feed is the same wherever your servers run.
What BetOnline data is included
BetOnline is tagged as an offshore sportsbook in our catalog. For each event it prices, the BetOnline odds feed carries:
- Main lines. Moneyline, spread and total for every period the league supports: full game, first half, first quarter, first period or first five innings depending on the sport.
- Team totals. Home and away over/unders on the full game.
- Player props. Pre-game props for the NFL, NBA, WNBA, MLB and NHL, including passing, rushing and receiving yards, points, rebounds, assists, threes, strikeouts, hits, total bases and shots on goal.
- Futures. Not on the feed for BetOnline at the moment.
Soccer moneylines are three-way (home, draw, away). Tennis, UFC and esports are priced head to head. Every price can be requested in American, decimal or implied-probability format, so a BetOnline line drops straight into a comparison or a margin calculation without a conversion step.
BetOnline player props API
Props come from /v1/props, one market per player and stat, each with a line and an over and under price. Player ids are stable across sources, so a BetOnline receiving-yards line joins cleanly to the same player at a regulated book, a sharp book or a DFS pick'em app. After the start, a prop stays on the feed for as long as BetOnline keeps posting it, with in-play prices on Syndicate.
BetOnline odds by league
The coverage endpoint currently lists BetOnline for all 17 leagues we track:
- NFL. Full game, first half and first quarter, team totals and the full prop menu. NFL openers posted early in the week are the clearest case for tracking BetOnline lines over time. See the NFL odds API.
- NCAAF and NCAAB. Large slates with full-game and first-half lines. Filter with
date_fromanddate_toto keep responses small. - CFL. Full game and first half for Canadian football, a league fewer books price.
- NBA and WNBA. Quarter and half markets plus deep prop boards. The NBA odds API page shows how many sources price each game right now.
- MLB. Full game and first five innings, plus pitcher and batter props.
- NHL. Full game and first period, plus points and shots-on-goal props.
- Soccer. Three-way prices across the EPL, La Liga, Serie A, Bundesliga, Ligue 1, MLS and the Champions League.
- Tennis. Head-to-head match prices.
- Esports. League of Legends, CS2, Valorant, Dota 2 and Call of Duty, with map handicaps and totals. The League of Legends odds API page lists who else prices it.
Where BetOnline fits: line shopping and opener tracking
No single book has the best price on every market. A book that is a little generous on one side of a game is often a little stingy on the other, and the gap moves from minute to minute. Line shopping means comparing the same market across books and identifying the best price on each side. BetOnline is a useful participant in that comparison because it covers so many leagues and posts lines early, so it is often one of the first books with a number on the board.
Worked example: what line shopping does to the margin
At a single book, a spread priced -110 on both sides has implied probabilities of 52.38% each. Together that is 104.76%, so the book is holding about 4.55% of the money wagered on that market.
Now suppose BetOnline has one side at -105 and another book has the other side at -102. Combining the best price on each side gives implied probabilities of 51.22% and 50.50%, which add up to 101.71%. The effective margin across the two books drops to about 1.69%. Nothing about the game changed. The comparison simply uses the best available price on each side instead of the worst.
That is the arithmetic behind every odds screen, and the best-lines endpoint does it for you. For each comparable market it returns the best price per outcome (best_price), the books offering it (best_books) and how many books are quoting the market (books_quoting). If BetOnline is the best price on an outcome, its id appears in best_books. The guide to building an odds screen covers the full layout.
Tracking BetOnline openers
Early lines are where models disagree with the market most, and where the biggest moves happen. The line history endpoint stores timestamped price and line changes for main full-game markets, with the opening and current values on every response. Pull BetOnline's history for a game and compare it with Pinnacle's, and you can see which book moved first and how far the line travelled before kickoff. Line history is included on every paid plan, from Edge up. Backtesting with line history explains how to avoid look-ahead bias when you do, and why the timestamp of every price matters as much as the price itself.
How to use the BetOnline API in PreciseAPI
Every request is an HTTPS GET with your key in the Authorization header. This compares BetOnline's NBA spreads and totals with Pinnacle's:
curl "https://api.preciseapi.com/v1/odds?league=nba&books=betonline,pinnacle&markets=spread,total&format=decimal" \
-H "Authorization: Bearer $PRECISEAPI_KEY"
Responses group prices by source under bookmakers, with a timestamp on every market:
{
"id": "evt_2dg4fkhh58p",
"league": "nba",
"home": { "id": "nba_mem", "name": "Memphis Grizzlies", "abbr": "MEM" },
"away": { "id": "nba_gsw", "name": "Golden State Warriors", "abbr": "GSW" },
"bookmakers": [
{
"id": "betonline",
"name": "BetOnline",
"type": "sportsbook",
"markets": [
{
"id": "mkt_2346oi8rday",
"key": "spread",
"period": "full_game",
"line": 0.5,
"outcomes": [
{ "id": "sel_0bs7t4x4fuh", "name": "Memphis Grizzlies", "side": "home", "point": 0.5, "price": 1.952 },
{ "id": "sel_0vlhii6yjw0", "name": "Golden State Warriors", "side": "away", "point": -0.5, "price": 1.909 }
],
"suspended": false,
"updated_at": "2026-10-14T14:22:56.572Z"
}
]
}
]
}
Selection ids are shared across sources for the same outcome at the same line, so a few lines of JavaScript find where BetOnline is the best number:
const res = await fetch('https://api.preciseapi.com/v1/best-lines?league=nba&markets=spread,total', {
headers: { Authorization: `Bearer ${process.env.PRECISEAPI_KEY}` },
});
const { data } = await res.json();
for (const event of data) {
for (const m of event.markets) {
for (const o of m.outcomes) {
if (o.best_books.includes('betonline')) console.log(event.id, m.key, o.name, o.best_price);
}
}
}
For anything that refreshes faster than every few seconds, use the WebSocket stream on the Syndicate plan. Subscribe with books: ["betonline"] and you receive a snapshot followed by deltas for only the markets that changed. If BetOnline stops reporting a market, we flag it suspended and leave it out of responses unless you pass include_suspended=true, so a stale number never shows up on your screen as a live one.
Why not scrape BetOnline?
You can find scripts that claim to scrape BetOnline odds. They rarely survive contact with a real product:
- Maintenance. Sportsbook front ends change often, and each change silently breaks your parser.
- Blocking. Automated traffic gets rate-limited or blocked, and the operator's terms of service govern what is permitted. Respect them.
- Normalization. BetOnline's team names, period labels and handicap conventions have to be mapped to every other book before a comparison means anything.
- Latency. Live markets move in seconds. A scraper polling a web page is always behind.
- Ids. Without stable event, market and player ids you cannot join BetOnline lines to history, scores or other sources.
A maintained real-time odds API absorbs all of that, so your work goes into the product.
BetOnline is a trademark of its owner, used here for identification only. PreciseAPI is not affiliated with or endorsed by BetOnline.
Frequently asked questions
Does BetOnline have an API?
BetOnline doesn't offer a public odds API for developers. PreciseAPI independently collects BetOnline prices and serves them as a normalized BetOnline API alongside dozens of other sources.
How fast do BetOnline odds update?
In-play prices refresh in under 500 ms and pre-match prices every 1–2 seconds. The Syndicate plan adds in-play odds, and its WebSocket stream pushes each change as it happens.
Can I see BetOnline opening lines?
Yes. /v1/history returns the opening value, the current value and every timestamped change for main full-game markets, so you can track how a BetOnline line moved from open to close.
Does the BetOnline feed include player props?
Yes, for the NFL, NBA, WNBA, MLB and NHL. Props are available before the game through /v1/props and are removed once the event goes live.
How do I compare BetOnline lines with other sportsbooks?
Pass several ids in books, for example books=betonline,pinnacle,draftkings, or call /v1/best-lines to get the best price per outcome across every source, along with the books offering it.
Is there a free trial?
Yes. Every account starts with 50 free credits, no card required: use them in the Sandbox chat to ask about BetOnline's pre-game lines in plain English, or on the API with your free key at 20 requests a minute. Get access, or see pricing for the paid plans.