Sports Betting API Test Plan for a 7 Day, 1,000 Request Sandbox
5 min read
Test the live odds API on a sandbox key, no sales call.
Get sandbox key
A sports betting API trial is only useful if it answers the questions that decide the purchase. The RealTimeBets sandbox gives you one sport, a feed 60 seconds behind real time, 1,000 requests in total and 7 days. That is enough to prove or disprove fit for a sportsbook if you spend the requests on purpose, and this plan shows how.
It is written for a developer or product lead at a licensed or soon to be licensed book who already has a quote or two and needs a yes or no on whether an engine API removes work from the roadmap. If you only want other bookmakers' lines, this is the wrong product, see the odds comparison API page instead.
The request budget
The sandbox quota is a single pool of 1,000 requests, and at the limit the API answers 429 quota_exceeded. A stream connection counts as one request however long it runs, up to 60 seconds. So polling is the expensive habit and streaming is cheap. Plan the pool before you write code.
| Check | Requests | What it proves |
|---|---|---|
| List live events and read one market set | 20 | Your parser handles prices, probabilities and status |
| Stream one event for 60 seconds, 10 times | 10 | Updates arrive once a second and reconnect cleanly |
| Risk check on 40 stakes of different sizes | 40 | Accept, reduce and reject paths in your bet slip |
| Record 25 bets and let them settle | 25 plus lookups | The settlement webhook reaches your endpoint |
| Reserve for retries and mistakes | about 300 | You will make mistakes |
That adds up to under 500, so you keep half the pool for the questions that appear on day five.
Day one and two, prices and parsing
Call GET /api/v1/events?status=live and read one event's market set. Replay matches use fictional teams and carry the feed value replay, so you can test at any hour. Confirm three things: every selection has a decimal price and a probability, the market has a status and a lock time, and the meta object shows sandbox true and the delay.
Then take the price and the probability for one selection and compute the margin yourself. Every price carries a fixed margin of about 6 percent, so the probabilities of a two way market should sum to about 1 and the prices should imply about 1.06. If your book wants a different margin, this is where you see how much code the adjustment takes. The odds feed sizing article covers the same arithmetic for production volumes. For a field by field reading of that response, see the live sports odds API response breakdown, and for what happens after the bet, the bet settlement software page.
Day three, the stream
Open the server-sent events stream for one event. It pushes the full market set once a second and ends after 60 seconds with a reconnect message. Test that your client survives the end message and reconnects, because a production front will do this all day. REST and server-sent events are what exist, there is no WebSocket, so check that your stack reads an event stream before you plan around it. The MDN EventSource reference shows the browser side.
Day four and five, risk and bets
This is the part that decides whether you need an engine at all. Post a risk check with a stake that is clearly too large. The docs example uses a tennis point where market liability is 9,880 against a 10,000 limit and the customer asks for 250 at 1.52. The answer is reduced with a max stake of 120 and the reason liability_limit.
Run these cases and write the result next to each one:
- A stake well inside the limits, expected accepted.
- A stake over the limit, expected reduced with a max stake.
- A bet on a market that has locked, expected rejected with market_closed.
- A bet at a stale price, expected rejected with price_changed and the current price.
Note that the risk check belongs to Growth and Enterprise. The sandbox lets you try it, a Starter plan does not include it. Count how many of these four cases your own code would otherwise have to handle, and how long each would take. That count is the comparison against a plain data feed, which the data API versus engine API article works through line by line.
Day six, settlement
Record the bets with your own bet_id and wait for the markets to resolve. Replay markets resolve quickly, so you do not wait for a real match. A bet of 40 at 1.52 that wins settles with status won and payout 60.8. Your endpoint receives a signed bet.settled webhook with an HMAC SHA-256 signature, and you should reject anything older than 5 minutes.
Check what is not there. The API does not call a wallet and does not hold funds, so your own backend has to credit the 60.8. If that fits your architecture, good. If you expected the vendor to move money, you need a different kind of product. The integration walkthrough shows the same bet through five calls.
Day seven, decide
Write down four answers before the key expires. Did the prices parse without special cases. Did the stream reconnect. Did risk and settlement remove code you had planned to write. Did anything you needed turn out to be missing, such as pre-match prices, which do not exist because markets open at kickoff, or a hosted front end.
If risk and suspension mattered, the plan is Growth at $1,999 a month or $999 a month billed yearly, with 5,000,000 requests a month. If you only need prices and settlement for a display or a build in progress, Starter is $499 a month or $249 billed yearly with 500,000 requests. Choosing a plan reserves it at the listed price and nothing is charged yet. Production keys also need a licence record in the console. Developers working in Python can start from the sports betting API in Python examples.
What a good result looks like
After seven days you should hold a short table: each of the five checks, pass or fail, and the lines of your own code each one removed. A book that passes all five and has no licence yet has a clear next step, which is the licence. A book whose limits do not suit the defaults should set its own in the console before day four: market liability per market type and a maximum stake per customer. Without them the defaults are 50,000 liability per market and 5,000 per customer, and a customer with at least 20 settled bets and a win rate of 60 percent or more is flagged sharp and gets half the limits. Test that flag too, since it changes what your bet slip shows to your best customers. Questions about the sandbox go to [email protected]
If you are also planning the operator side, a paid social channel for the launch is a separate decision, and specialists such as Metaadsagency work on that side while the engine handles prices and settlement.