books
How to get BetOnline odds with an API
BetOnline is in the PricedOdds feed as a price reference: an offshore book with prices for 486 events in 86 leagues in the coverage file generated 2026-11-28 17:22 UTC, pre-match and live, with 18 player prop types. The file's own note on it reads: "Not licensed in US states. Shown as a price reference only; no links." So you read BetOnline prices to compare them with the US books on the same game, not to send anyone to BetOnline. It takes 4 calls, plus one more for the comparison.
PricedOdds is a data API, not a sportsbook, and is not affiliated with BetOnline. This guide covers the PricedOdds API only.
What BetOnline data can you get?
86 leagues, 13 game markets and 18 player prop types, with data in the coverage file generated 2026-11-28 17:22 UTC.
| Field | BetOnline |
|---|---|
| Book id | betonline |
| Type | Offshore reference |
| Leagues | 86, including NFL, NCAA Football, NBA, NCAA Basketball, NHL, English Premier League, LaLiga, Serie A, MLS, Liga MX |
| Game markets | 13: btts, double_chance, draw_no_bet, first_team_to_score, moneyline, moneyline_3way, odd_even, spread, spread_games, team_total, total, total_games and 1 more on the coverage page |
| Player prop types | 18 |
| Periods | 1h, 1p, 1q, game |
| Live odds | Yes |
| Events with prices | 486 |
| Coverage note | Not licensed in US states. Shown as a price reference only; no links. |
Source: coverage.json, generated 2026-11-28 17:22 UTC. The full row is in the BetOnline entry of books in that file, also shown on the coverage page.
What is specific to BetOnline in the feed?
All figures in this section come from the same coverage file (generated 2026-11-28 17:22 UTC). Of the 16 books with data in it, BetOnline ranks 12th by events with prices (486), 10th by leagues (86) and 13th by player prop types (18). Equal values share a rank.
BetOnline leagues by sport
| Sport | Leagues with BetOnline prices | Examples |
|---|---|---|
| Soccer | 75 | English Premier League, LaLiga, Bundesliga |
| Football (American) | 4 | NCAA Football, NFL, USA Big 12 Conference Championship |
| Tennis | 3 | ATP Challenger Tour, ITF Women, ITF Men |
| Basketball | 2 | NCAA Basketball, NBA |
| Hockey | 1 | NHL |
| MMA | 1 | UFC |
Examples are the leagues with the most events in the file.
Where is BetOnline one of few books?
3 of the 86 BetOnline leagues have 3 books or fewer in the file, and in 1 of them BetOnline is the only one: Russia 1. Liga (only BetOnline), Russia Premier League (2 books) and Belarus Vysshaya League (3 books). In those leagues there is little to compare BetOnline against.
Each of BetOnline's 33 market types is also priced by at least 3 other books in the file.
BetOnline's 18 player prop types by sport (a prop type can apply to more than one sport): Football (American) 12, Basketball 5, Hockey 3 and Soccer 1.
Delivery of the 33 BetOnline market types, as the file gives it: 31 with delivery: websocket, 1 with delivery: mixed and 1 with delivery: rest, which refresh on the schedule in rest_refresh_minutes. BetOnline is priced pre-match and live, delivered over REST, WebSocket and MCP.
Step 1: add BetOnline to your books
Start a trial at /signup, then set your book selection. You can change it once every 24 hours.
curl -s -X POST "https://api.pricedodds.com/v1/account/books" \
-H "Authorization: Bearer $PRICEDODDS_API_KEY" -H "Content-Type: application/json" \
-d '{"books":["betonline","draftkings"]}'Step 2: find a game
List events for a league that BetOnline prices. Each event has an id that starts with evt_. Steps 2 and 3 go in one file, for example betonline-odds.mjs, run with node betonline-odds.mjs. It uses the built-in fetch of Node 18 or later and no packages; the .mjs extension allows await at the top level.
const BASE = "https://api.pricedodds.com/v1";
const HEADERS = { Authorization: `Bearer ${process.env.PRICEDODDS_API_KEY}` };
async function get(path) {
const res = await fetch(BASE + path, { headers: HEADERS });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
return (await res.json()).data;
}
const events = await get("/events?league=nfl");
for (const e of events.slice(0, 5)) console.log(e.id, e.away.name, "@", e.home.name, e.startsAt);Step 3: get the BetOnline prices
Request the odds of each game in turn, filtered by book, and stop at the first game that has BetOnline prices. Leave books out to get every book in your selection for the same game.
// Same file, after Step 2: get() reads from BASE = "https://api.pricedodds.com/v1".
for (const e of events) {
const odds = await get(`/events/${e.id}/odds?books=betonline&markets=moneyline,spread,total`);
const lines = odds.markets.flatMap(market => market.selections.flatMap(sel => sel.prices.map(price =>
[market.market, market.period, sel.side, sel.line ?? "", price.book, price.american].join(" "))));
if (!lines.length) continue; // betonline has no price on this game yet: try the next one
console.log(e.away.name, "@", e.home.name);
for (const line of lines) console.log(line);
break;
}We ran this script on November 25, 2026, at 11:36 UTC, with Node 24 and a key on the All-Access plan, which includes every book. Step 1 was not part of that run because it changes the book selection of the account. The first lines it printed:
evt_ew6b72finj7wgv4x Green Bay Packers @ Los Angeles Rams 2026-11-26T01:00:00.000Z
evt_krboe3oc45ookdj5 Chicago Bears @ Detroit Lions 2026-11-26T18:00:00.000Z
evt_ccjz5stem5ublioj Philadelphia Eagles @ Dallas Cowboys 2026-11-26T21:30:00.000Z
...
Green Bay Packers @ Los Angeles Rams
moneyline 1h home betonline -130
moneyline 1h away betonline 110
moneyline 1q home betonline -120
moneyline 1q away betonline 100
moneyline game home betonline -137
moneyline game away betonline 117
... (12 more lines)Those are the BetOnline prices of that moment, shown as an example; they change with the market. A market key without a period, such as moneyline, returns every period BetOnline prices for it.
Every price has decimal, american, implied, updatedAt (last time the source confirmed the price) and changedAt (last time it changed). Every selection also has best and fair, a no-vig price. For one period only, add it to the market: markets=total@1h.
Step 4: get the BetOnline player props
BetOnline has 18 prop types in the feed. Ask for the ones you need by market key.
curl -s "https://api.pricedodds.com/v1/events/{id}/props?markets=player_completions" \
-H "Authorization: Bearer $PRICEDODDS_API_KEY"Read market keys from GET /v1/markets and do not guess them. That endpoint works without a key. In the same run, this request for the game above, sent from Node, returned HTTP 200.
How do BetOnline prices compare with the US books?
This is the reason to read a reference book. Add one request to the same file: the full-game moneyline of the first game where BetOnline prices both sides, with every book in your selection. For each side it prints the BetOnline price, where it ranks among the books, the best price (best) and the no-vig price (fair).
// Same file, after Step 3. One more request: the same moneyline, every book in your selection.
for (const e of events) {
const odds = await get(`/events/${e.id}/odds?markets=moneyline@game`);
const ml = odds.markets.find(m => m.market === "moneyline" && m.period === "game");
if (!ml || !ml.selections.every(s => s.prices.some(p => p.book === "betonline"))) continue;
console.log(e.away.name, "@", e.home.name, "(nfl, full-game moneyline)");
for (const sel of ml.selections) {
const sorted = [...sel.prices].sort((a, b) => b.decimal - a.decimal);
const ours = sorted.find(p => p.book === "betonline");
const rank = 1 + sorted.filter(p => p.decimal > ours.decimal).length;
console.log(sel.side, "betonline", ours.american, "| rank", rank, "of", sorted.length,
"| best", sel.best?.american, sel.best?.book, "| fair", sel.fair?.american);
}
break;
}In the same run on November 25, 2026, it printed:
Green Bay Packers @ Los Angeles Rams (nfl, full-game moneyline)
home betonline -137 | rank 7 of 15 | best -127 polymarket | fair -126
away betonline 117 | rank 10 of 15 | best 124 prophetx | fair 126On that game BetOnline ranked 7th of 15 on the home side (-137, against a best price of -127 and a no-vig price of -126) and 10th of 15 on the away side (117, against a best price of 124 and a no-vig price of 126). Rank 1 is the price that pays the most. That is one game at one moment, shown as an example, not a rule about BetOnline.
The comparison works the other way too: when a US book's price is far from BetOnline and from the no-vig price, that is a line worth a second look. The line shopping guide shows the same table for every book, and the no-vig calculator does the fair math by hand. Nothing here is betting advice.
How do I stream BetOnline prices?
Open the WebSocket and subscribe with the book id. The server sends a snapshot, then each price change, pre-match and live.
{"type":"subscribe","leagues":["nfl"],"books":["betonline"],"markets":["moneyline","spread","total"]}WebSocket is included in All-Access and is an add-on on the other plans. Without it, poll GET /v1/changes no faster than your plan's request rate. See the WebSocket docs.
Which error will I see first?
book_not_in_plan means betonline is not in your book selection yet: add it with POST /v1/account/books. The other error codes are in the error reference.
What does it cost?
Solo covers any 2 books for $39 a month, so BetOnline plus one more book fits on the entry plan. Solo with the WebSocket add-on is $98 a month. Starter covers any 5 books for $99 a month. Every plan includes props and live odds and starts with a 3-day free trial. Signup takes a $1 card verification that is refunded immediately, and the plan you pick is charged from day 4 unless you cancel before the trial ends. See pricing.
Can I place bets on BetOnline through the API?
No. PricedOdds is a data API and not a sportsbook. The Terms prohibit using the data to accept or price wagers.