Live Sports Odds Api
The Odds API is easy to use with your favorite coding language.We've included simple Python and Node.js code examples to help you get started.
Be sure to specify your api key in order for the examples to work. Get a free API key here.
For more details, see the API docs. Code samples are also available on Github(opens new window)
# Python
Note
This example uses python's requests library(opens new window), which can be installed withpip install requests
Security Tip for Repl.it users
This example uses Repl.it(opens new window)* to run live code.If you continue coding using a free Repl.it account, anyone visiting your Repl.it repo might see your api key.
We at TheRundown have our own API which provides up to the second odds for all US sports and all major bookmakers. It is all free so please come and take a look and tell us what you think! There is no results service as of yet but it is a considerations along with providing live score so that bets can be followed in real time. Get best live sports data feed API, soccer, football, volleyball, cricket, and other sports betting scores & odds here at Bets API! Our live football data API offers complete information of all major leagues. So give the fastest live sports data a try! Stop worrying about collecting data and computing odds. Start building your esports project. PandaScore API provides everything you need from live scores to live odds through a wide selection of matches, leagues and tournaments for League of Legends, CS:GO, Dota 2, Overwatch.
Jan 08, 2021 The Live Sports Odds API is another API that provides real-time sports odds. This RESTful API specializes in the NFL, NBA, MLB, EPL, and AFL from US, UK and Australia bookmakers. The API has 2 simple endpoints.
To make sure it stays secret, create a file called .env
containingapi_key=YOUR_API_KEY
Back in main.py, bring in your api key with:
For more info, see the Repl.it docs(opens new window)
This code sample can also be found on Github(opens new window)
# Node.js
Note
This example uses Node's axios library(opens new window), which can be installed with npm install axios
or bower install axios
Security Tip for Repl.it users
This example uses Repl.it(opens new window)* to run live code.If you continue coding using a free Repl.it account, anyone visiting your Repl.it repo might see your api key.
To make sure it stays secret, create a file called .env
containingapi_key=YOUR_API_KEY
Live Sports Odds Api Stock
Back in index.js, bring in your api key with:
Nfl Odds Api
Live Sports Odds Api Ncaa Basketball
For more info, see the Repl.it docs(opens new window)
This code sample can also be found on Github(opens new window)
Soccer | Esoccer Liga Pro - 12 mins play | 00' | FC Mops (FCM) Esports | 0-0 | ICE (RMF) Esports |
Soccer | Esoccer Live Arena - 10 mins play | 05' | Leeds (stdm) Esports | 0-2 | Everton (Fagur) Esports |
Soccer | Esoccer Live Arena - 10 mins play | 06' | Leicester (OLOM) Esports | 1-0 | Wolverhampton (AlBack) Esports |
Soccer | Brazil Serie A | 06' | [9]Bragantino | 0-0 | Flamengo[2] |
Soccer | Esoccer Battle - 8 mins play | 07' | Chelsea (Arcos) Esports | 0-1 | Tottenham (hotShot) Esports |
Soccer | Esoccer Battle - 8 mins play | 07' | Liverpool (Jkey) Esports | 0-0 | Man City (vrico) Esports |
Soccer | Colombia Primera A | 32' | [17]Patriotas FC | 0-1 | Deportivo Cali[4] |
Soccer | Chile Primera B | 60' | [2]Union San Felipe | 0-1 | Melipilla[5] |
Soccer | Uruguay Clausura | 60' | [9]Defensor Sporting | 1-0 | Plaza Colonia[8] |
Soccer | Argentina Torneo Regional Amateur | 68' | DYC Union Oncativo | 2-1 | General Paz Juniors |
Soccer | Argentina Torneo Regional Amateur | 73' | Sportivo Colonia Tirolesa | 1-3 | Racing de Cordoba |
Soccer | Costa Rica Primera Division | 77' | [1]Alajuelense | 1-1 | Deportivo Saprissa[5] |
Soccer | Paraguay Division Profesional | 77' | [7]Olimpia Asuncion | 0-1 | Libertad Asuncion[8] |
Basketball | Ebasketball Live Arena - 4x5mins | 2 - 01:30 | NO Pelicans (Kodas) Esports | 33-23 | MEM Grizzlies (Asap) Esports |
Basketball | Ebasketball Live Arena - 4x5mins | 2 - 00:35 | SAC Kings (Baphomet) Esports | 23-20 | UTA Jazz (Jiggling) Esports |
Basketball | Brazil NBB | 2 - 01:38 | [6]Cearense | 27-37 | Cerrado[14] |
Basketball | Argentina Liga Nacional | 3 - 03:04 | [7]Hispano Americano | 54-36 | Obera TC[19] |
Basketball | Argentina Liga Nacional | 2 - 10:00 | [13]Comunicaciones | 25-11 | Argentino Junin[11] |
Basketball | WNCAAB | 4 - 04:56 | UCLA Women | 70-43 | Washington Women |
Basketball | WNCAAB | 4 - 00:44 | Western Illinois Women | 86-66 | Nebraska Omaha Women |
Ice Hockey | Eicehockey - 3x4mins | 1 - 00:00 | aa0912200 (GST) Esports | 0-0 | fine_oxtail3 (ICD) Esports |
American Football | NFL | 1 - 15:00 | [1]KC Chiefs | 0-0 | TB Buccaneers[10] |
Table Tennis | Liga Pro | Anatoliy Ilin | 0-0 | Vasily Shirshov | |
Table Tennis | Liga Pro | Aleksandr Serebrennikov | 0-0 | Dmitriy Petrov | |
Table Tennis | TT Cup Ukraine | 5-11 | Yevhenii Faflei | 10-4 | Roman Pinchuk |
Table Tennis | Liga Pro | 8-11,11-2,11-8,7-11 | Ivan Soldatov | 5-4 | Roman Kobytov |
Table Tennis | Setka Cup | 13-11,12-10 | Artem Lisechko | 0-0 | Rustam Halimbaiev |
Table Tennis | Liga Pro | 11-5,6-11,6-11,14-12 | Nikolay Zhurba | 6-3 | Zhargal Tsybikov |
Esports | DOTA2 - DPC BTS - NA Div 1 | 20:47 | Evil Geniuses | 0-0 | Undying |