Live Sports Odds

FREEMIUM
By theoddsapi
Updated 9 days ago
Sports
9/10
Popularity Score
122ms
Latency
100%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
jhogg11:2 months ago
0 Answers

All markets blocked on basic plan

sanjay6681:4 months ago
0 Answers

betfair exchange api

platinumkaro93:5 months ago
0 Answers

amount direction

honey.coolguy17:5 months ago
0 Answers

Betfair exchange api

nhathoangfarmtech:6 months ago
0 Answers

How many results per request in odd API?

herasvn:6 months ago
0 Answers

should add event of match

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://odds.p.rapidapi.com/v1/odds?sport={sport}&region={region}&mkt={mkt}")
.header("X-RapidAPI-Host", "odds.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