Skip to content
RealTimeBets

Odds API for Live Sports Markets

RealTimeBets is a live odds API that prices in-play markets with its own models, recomputes them every second and pushes the full market set over a streaming connection. Plans start at $499 a month, and a sandbox key is issued after signup.

Pull prices over REST or hold a stream open and get a fresh market set every second. Built for licensed operators, odds comparison sites and developers who need live numbers they can act on.

Developer at a desk with live data dashboards RealTimeBets Platform

Live from the engine

The payload, streaming now

What your integration receives, refreshed every second.

Reconnecting to the live feed. Showing the last prices, markets reopen when the feed is back.
Sandbox 60 s
The live feed of the API, refreshed every second.Get sandbox key

What the live odds API returns

Each call returns events, markets and prices in one consistent JSON shape. An event carries the sport, the competition, the two sides, the score, the clock and a status. Each market under it lists selections with a decimal price, the implied probability behind that price, the margin applied to the whole market and a state that is either open or suspended.

Prices are recomputed every second while a match is in play. When the engine sees a dangerous incident, such as a goal, a card or a break of serve, the affected markets are suspended for a few seconds and then return with new numbers. Your frontend never shows a stale line as if it were current, because the state field tells it what to do.

The same feed lists upcoming events shortly before kickoff and follows them in play, so one integration serves the match from start to finish. Starter includes three sports of your choice with match markets, and Growth opens every sport in the engine, including CS2, plus micro-markets.

Endpoints and authentication

Every request goes to the base address https://realtimebets.com/api/v1 and carries one header, Authorization: Bearer rtb_sk_ followed by your secret key (X-Api-Key works too). Keys are created and revoked in the console, and each key is either a sandbox key or a production key, so a test key never reads the real-time feed.

  • GET /api/v1/sports lists the sports your plan includes.
  • GET /api/v1/events?sport=soccer&status=live returns matches in play right now.
  • GET /api/v1/events/{event_id}/markets returns every market and price for one event.
  • GET /api/v1/events/{event_id}/incidents returns goals, cards, points and other incidents in match order.
  • The streaming endpoint at /api/v1/stream?event={event_id} pushes the full market set of one event once a second.

Responses are plain JSON with ISO 8601 timestamps in UTC. Errors use standard HTTP codes with a short machine code in the body, so retries and alerts are simple to write. The full reference with request and response bodies lives in the API documentation.

Prices from our own models

Many odds feeds collect lines from bookmakers and pass them on. That is useful for comparison, but it leaves you with no say over the number and nothing to show when a market is missing. RealTimeBets prices markets itself, with statistical models fitted to each sport.

Goals in soccer and ice hockey come from Poisson models that react to the clock and the score. Tennis uses a serve and hold model point by point. Basketball and American football use possession models that know how much time is left and who has the ball. Each model outputs a fair probability, and the engine then adds a margin to turn it into a price.

The margin is about 6 percent on every market, and it is published in the payload next to each price. Because the fair probability is in the payload too, your traders can see exactly how much margin sits on any line and compare it with their own view. The same engine generates the short-window markets described on the micro betting page.

Live odds API providers compared on published facts
ProviderPublished priceSelf-serve keyPush feedOwn pricingMicro-marketsSettlement
RealTimeBetsFrom $499/mo ($249/mo yearly)Yes, sandbox at signupYes, every planYes, model-basedYes, Growth and upYes, signed webhooks on every plan
The Odds API$30 to $249/mo, 500 free creditsYesNo, pollingNo, aggregated linesNoNo
SportsDataIONot publishedTrial, then sales processNot publishedNot publishedNot publishedNot published
OpticOddsNot publishedNo, sales formYesNot publishedNot publishedNot published
SportradarEnterprise contractsNo, sales processNot publishedTrading services by contractBy contractBy contract

Choose polling or push per screen

REST is the right tool for a page that loads once, a nightly report or a backfill. For a live screen it wastes requests and still shows prices that are a little old. That is why every plan includes streaming push alongside REST.

You open a server-sent events connection for one event and receive one message every second with the event, its score and clock, and the full market set. Each market carries its prices, probabilities and state. A connection lasts up to 60 seconds and then sends an end message, so your client simply reconnects, and because every push is complete there is nothing to stitch together.

Connection counts grow with the plan. Starter includes 2 streaming connections and 500,000 requests a month, Growth includes 10 connections and 5,000,000 requests, and Enterprise includes 50 connections with requests under fair use. Each stream connection counts as one request. Requests count usage in the billing period, so a busy weekend is visible in the console as it happens and never arrives as a surprise.

From sandbox key to production traffic

Signup takes an email, a password and a six digit code. The console then shows a sandbox key straight away. It runs on a feed delayed by 60 seconds, covers one sport, allows 1,000 requests over 7 days and marks every payload with "sandbox": true, so nothing built on it can be mistaken for live data.

That is enough to wire up your parser, render a board and test reconnects. When you are ready for live traffic, pick a plan at checkout and store your licence record: licence number, regulator and country. Production keys are issued for licensed use once that record is on file.

Odds comparison and media sites that show prices next to editorial content follow the same path. If you need the raw event data without prices, the sports data API page explains what the incident feed carries on its own.

How this odds API compares

There are cheap aggregated feeds and there are enterprise data houses, and most teams sit between the two. The table below sets out what each provider publishes. Where a provider does not publish something, we say so rather than guess.

The Odds API publishes clear prices from $30 to $249 a month and is a good fit for reading bookmaker lines through polling. It does not price markets itself, does not generate micro-markets and does not settle. SportsDataIO and OpticOdds keep pricing behind a sales process, and OpticOdds focuses on push feeds for large books. Sportradar sells official data and trading services on enterprise contracts.

RealTimeBets publishes every plan, issues a key at signup, prices and suspends markets with its own engine and settles the bets you record. If you plan to run a full book rather than a feed, read the sportsbook API page next.

Questions

Do I need a gambling licence to use the odds API?

You need one for production use with real-money products. The sandbox key works without it, and production keys are issued once your licence number, regulator and country are stored in the console.

What are the limits of the sandbox key?

The sandbox feed is delayed by 60 seconds, covers one sport, allows 1,000 requests and expires after 7 days. Every payload carries "sandbox": true. It is a one-time test, not a plan.

Where do the scores and incidents come from?

Scores, clocks and incidents of live matches come from licensed sports data providers, and replay matches with fictional teams carry a Replay label. Prices on top of that data are calculated by our own models, which is why the payload includes the fair probability and the margin.

What happens to my bill if I upgrade mid-month?

An upgrade charges the price difference immediately and the new limits apply at once. You can cancel at any time and keep access until the end of the paid period.

Do I have to talk to a sales team before buying?

No. Signup, checkout, keys and documentation are all self-serve, including Enterprise. If something is unclear, write to [email protected].

Can I show prices in my own design?

Yes. The API gives you raw JSON to render however you like. If you prefer ready components, every plan includes embeddable widgets for a scoreboard, an odds board and a micro-market tile.

Sandbox key in minutes

Get sandbox key

Sandbox key in minutes, for licensed operators.

Get sandbox key