RapidAPI logo

JsonOdds

PAID
By jsonjames
Updated 4 months ago
Sports
2.2/10
Popularity Score
426ms
Latency
-
Success Rate

JsonOdds API Documentation

JsonOdds is a no-nonsense and low-cost API for sports betting odds. This API will get you up and running in no time. Build robust applications in less time with JsonOdds API. Quickly build robust and advanced websites or applications with our RESTful API. Build a sportsbook, track line history, display odds, or implement the JsonOdds API in any number of ways. We support Soccer, NFL, NCAAF, NCAAB, NBA, MLB, NHL, Tennis, and MMA odds and results. JsonOdds helps you achieve your end goals easily and effectively. Email jsonodds@gmail.com for a free trial.

View API Details
GETSports
GETRegions
GETLeagues
POSTLeagues By Region
GETSources
Odds
GETGet Odds
POSTOdds By League
POSTOdds By Region
Results
GETResults
POSTResults By League
POSTResults by Region
GETSports

Get sports enumeration

Authorization:

Your JsonOdds-API-Key

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
x-api-keyHEADER
REQUIREDYour JsonOdds-API-Key
Code Snippet
unirest.get("https://jsonjames-jsonodds-v1.p.rapidapi.com/api/sports")
.header("X-RapidAPI-Host", "jsonjames-jsonodds-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://jsonjames-jsonodds-v1.p.rapidapi.com/api/sports
Request Method: GET
Response Headers
Response Body
Log inSign up

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://jsonjames-jsonodds-v1.p.rapidapi.com/api/sports")
.header("X-RapidAPI-Host", "jsonjames-jsonodds-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