SportsBetting.ag odds API
SportsBetting.ag odds API for real-time SportsBetting odds: moneylines, spreads, totals and more, next to 35 other sources with stable event ids.
SportsBetting, whose site is SportsBetting.ag, is an offshore sportsbook with a casino, a poker room and a racebook. It is generally described as a sister brand of BetOnline, and the SportsBetting odds data agrees with that description: the two post the same lines at the same prices on nearly every market. That makes SportsBetting an unusual source to work with. If your users bet there, a SportsBetting.ag odds API gives them the row they need to see.
If you are measuring the market, it is a second reading of a price you already have, which is useful in a different way: it tells you when one of the two has fallen out of step. This page covers what the SportsBetting odds feed in PreciseAPI contains, how to check two books on one platform against each other, and how to query it.
Is there a public SportsBetting API?
No. SportsBetting doesn't offer a public odds API for developers. There is no developer portal, documented endpoint or self-serve key for third parties. Searches for a "SportsBetting.ag API" or "SportsBetting.ag odds API" usually come from developers who want its prices in a structured format next to other books.
PreciseAPI provides that independently. We collect the prices SportsBetting posts and normalize them into the same event, market and outcome ids used for every other source. It is not an official or partner product, and SportsBetting has not endorsed it. Whether the book itself is available depends on where your users are; the data feed is the same wherever your servers run.
What SportsBetting data is included
SportsBetting is tagged as an offshore sportsbook in our catalog, with the id sportsbetting. For each event it prices, the feed carries:
- Main lines. Moneyline, spread and total for the full game, plus first-half and first-quarter lines in football and basketball and first-period totals in hockey where SportsBetting posts them.
- Team totals. Home and away over/unders on the full game.
- Alternate lines. Spread and total ladders around the main number.
- Player props. Pre-game props such as NBA points and NFL passing yards, where SportsBetting posts them.
The casino, poker room and racebook are not part of the feed, and no futures boards for SportsBetting are on it at the moment. Soccer moneylines are three-way and tennis is priced head to head. Prices come back as American odds unless you pass format=decimal or format=probability.
SportsBetting player props
Props arrive through /v1/props in the same shape as every other source: one market per player and stat with a line, an over price, an under price and a player id shared across the feed. Availability varies by game, and /v1/events/{id} lists the market keys SportsBetting has for an event. After the start, a prop stays on the feed for as long as SportsBetting keeps posting it, with in-play prices on Syndicate.
SportsBetting odds by league
The coverage endpoint currently lists SportsBetting for these leagues:
- NFL and NCAAF. Main lines, alternates and team totals, with props on NFL games. See the NFL odds API.
- NBA and NCAAB. Full-game, first-half and first-quarter lines in the NBA, plus points props. See the NBA odds API and the NCAAB odds API.
- NHL. Moneyline, puck line, total and first-period totals.
- Soccer. Three-way prices on the matches SportsBetting lists.
- Tennis. Match prices on the larger tour events. The tennis odds API page lists who else prices the tours.
The list follows what SportsBetting has posted, so out-of-season leagues drop off until games return. /v1/sportsbooks has the current set, along with SportsBetting's board for each league in league_urls.
Where SportsBetting fits: checking one book against its twin
/v1/sportsbooks returns platform: "digitalsportstech" for SportsBetting and for BetOnline. BetNow, BUSR and MyBookie return it too. We read each of the five separately, but one platform sets the prices. On most markets you will find the same line and the same odds in all five rows.
Two rows that should always agree are a built-in check. When they do agree, you have confirmation that both readings are current. When they do not, something specific has happened, and the feed gives you enough to tell what.
Worked example: three ways two twins can differ
Selection ids are shared across sources for the same outcome at the same line. So for any outcome, look up its id at SportsBetting and at BetOnline and compare:
| What you find | What it means | What to do |
|---|---|---|
| Same id at both, same price | The two are in step | Nothing. This is the normal case |
| Same id at both, different price | One has repriced and the other has not been read since | Compare updated_at; the newer one is the platform's current price |
| Id at one book only | The line itself moved at one, or one has taken the market down | Check whether the other book has the market at a different line, or has it suspended |
Suppose a total sits at 217.5 with the over at -115 in both rows. BetOnline's market shows updated_at of 19:04:11 and SportsBetting's shows 19:04:13. A moment later BetOnline's over is -118 with a timestamp of 19:05:02, and SportsBetting still shows -115 from 19:04:13. That is not a second opinion at -115. It is the same price-setter caught mid-update, and the SportsBetting row should follow within seconds.
That distinction matters in two places. An odds screen that highlights the best price should not flash SportsBetting as the better number for a few seconds every time the platform reprices. And a model that logs line movement should not record two moves when there was one. In both cases the rule is the same: for books on one platform, trust the newest timestamp.
What a lasting difference tells you
Sometimes the gap does not close: a market can stay up at one brand after the other pulls it. A difference that survives several updates is worth logging, because it is rare. For research, the share of time the twins disagree is itself a clean measurement of how often the platform reprices; the line history endpoint stores timestamped changes for main full-game markets if you want to study it after the fact.
How to use the SportsBetting.ag odds API
Every request is an HTTPS GET with your key in the Authorization header. This pulls SportsBetting and BetOnline side by side for the NBA:
curl "https://api.preciseapi.com/v1/odds?league=nba&books=sportsbetting,betonline&markets=moneyline,spread,total" \
-H "Authorization: Bearer $PRECISEAPI_KEY"
Each source has its own block, and every market has its own timestamp:
{
"id": "sportsbetting",
"name": "SportsBetting",
"type": "sportsbook",
"updated_at": "2026-11-10T23:41:09.530Z",
"markets": [
{
"id": "mkt_1g5w8b3n0tk",
"key": "total",
"period": "full_game",
"line": 217.5,
"outcomes": [
{ "id": "sel_2m4d7s1x9cv", "name": "Over", "side": "over", "point": 217.5, "price": -115 },
{ "id": "sel_0r6y3k8f5ha", "name": "Under", "side": "under", "point": 217.5, "price": -110 }
],
"suspended": false,
"updated_at": "2026-11-10T23:41:09.530Z"
}
]
}
This Node script reports every outcome where the two books differ, with both timestamps:
const url = 'https://api.preciseapi.com/v1/odds?league=nba&books=sportsbetting,betonline&markets=moneyline,spread,total';
const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.PRECISEAPI_KEY}` } });
const { data } = await res.json();
for (const event of data) {
const seen = {};
for (const book of event.bookmakers) {
for (const m of book.markets) {
for (const o of m.outcomes) {
seen[o.id] ||= { label: `${m.key} ${o.name} ${o.point ?? ''}`.trim() };
seen[o.id][book.id] = { price: o.price, at: m.updated_at };
}
}
}
for (const { label, sportsbetting: a, betonline: b } of Object.values(seen)) {
if (a && b && a.price !== b.price) console.log(event.id, label, 'sportsbetting', a.price, a.at, '| betonline', b.price, b.at);
else if (!a || !b) console.log(event.id, label, 'only at', a ? 'sportsbetting' : 'betonline');
}
}
Run it on a schedule and most passes print nothing. For a continuous check, the WebSocket stream on the Syndicate plan pushes each change as it happens; subscribe with books: ["sportsbetting", "betonline"] and compare as the deltas arrive. If SportsBetting stops reporting a market, we flag it suspended and leave it out of responses unless you pass include_suspended=true, so a stale row is never mistaken for a disagreement.
Why not scrape SportsBetting?
Some developers try to scrape SportsBetting directly. It rarely lasts:
- Maintenance. Site changes break parsers without warning.
- Blocking. Automated access is often restricted, and the operator's terms of service govern what is allowed. Respect them.
- Normalization. Team names, periods and handicaps need mapping before SportsBetting lines up with any other source.
- Latency. A scraper polling a page cannot tell a real difference from one it caused by reading two sites a few seconds apart.
- Ids. The comparison above only works because both books carry the same selection id for the same outcome.
A maintained real-time odds API handles all five.
SportsBetting.ag is a trademark of its owner, used here for identification only. PreciseAPI is not affiliated with or endorsed by SportsBetting.ag.
Frequently asked questions
Does SportsBetting.ag have an API?
SportsBetting doesn't offer a public odds API for developers. PreciseAPI's SportsBetting.ag odds API independently collects the prices it posts and returns them in the same schema as every other source.
How fast do SportsBetting odds update?
In-play prices refresh in under 500 ms and pre-match prices every 1–2 seconds. In-play odds and the WebSocket stream that pushes each change are part of the Syndicate plan.
Are SportsBetting and BetOnline odds the same?
Almost always. Both price their boards on the same platform, which /v1/sportsbooks reports in the platform field. Each is read separately, so a brief difference usually means one was updated a moment before the other.
Does the SportsBetting feed include player props?
Yes, where SportsBetting posts them, including NBA points and NFL passing yards. Props come from /v1/props before the game and are removed when it goes live.
Which source id do I use?
Use sportsbetting in the books parameter, for example books=sportsbetting,betonline,pinnacle. The same id appears under bookmakers in every response.
Is there a free trial?
Yes. Every account starts with 50 free credits for the Sandbox chat, where you can ask about SportsBetting's pre-game lines in plain English, and no card is required. Your free key spends the same credits on the API; Edge adds 100,000 a month. Get access or see pricing.