RapidAPI logo

TheRundown

FREEMIUM
By therundown
Updated 21 days ago
Sports
9.4/10
Popularity Score
685ms
Latency
98%
Success Rate

TheRundown API Documentation

Real-time odds and scores from major sportsbooks. NFL, NBA, WNBA, MLB, NHL, NCAA Football, & NCAA Basketball with more sports soon. Over a dozen sportsbooks currently integrated: 5Dimes, Pinnacle, Matchbook, Betcris, Lowvig, TheGreek, YouWager, Justbet, Tigergaming, Betonline, Bookmaker, Sportsbetting, Intertops & more coming soon. Moneyline, Spread, & Total for full-games, 1st half, 2nd half, 1st Quarter/Period, 2nd Quarter/Period, 3rd Quarter/Period, and 4th Quarter/Period with more markets coming soon. See more at https://therundown.io/

View API Details
Affiliates (Sportsbooks)
GETAffiliates (Sportsbooks)
Sports
GETDates by sport
GETSports
Events (Odds)
GETEvents by Sport by Date
GETEvents by Sport
GETEvent
GETOpeners by Sport by Date
GETDelta (Changed Events)
Lines
GETMoneyline by Line Identifier
GETSpread by Line Identifier
GETTotals by Line Identifier
GETAffiliates (Sportsbooks)

Get affiliates (aka sportsbooks)

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
unirest.get("https://therundown-therundown-v1.p.rapidapi.com/affiliates")
.header("X-RapidAPI-Host", "therundown-therundown-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://therundown-therundown-v1.p.rapidapi.com/affiliates
Request Method: GET
Response Headers
"access-control-allow-headers": "Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization"
"access-control-allow-origin": "*"
"content-type": "application/json"
"date": "Mon, 17 Jun 2019 13:36:00 GMT"
"server": "RapidAPI-1.0.16"
"vary": "Accept-Encoding"
"x-rapidapi-region": "AWS - us-east-1"
"x-rapidapi-version": "1.0.16"
"content-length": "1725"
"connection": "Close"
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://therundown-therundown-v1.p.rapidapi.com/affiliates")
.header("X-RapidAPI-Host", "therundown-therundown-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication