RapidAPI logo

Sign Up

Log In

Live Sports Odds

FREEMIUM
By theoddsapi
Updated 2 months ago
7.2/10
Popularity Score
660ms
Latency
67%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
sanjay6681:a month ago
0 Answers

betfair exchange api

platinumkaro93:3 months ago
0 Answers

amount direction

honey.coolguy17:3 months ago
0 Answers

Betfair exchange api

nhathoangfarmtech:3 months ago
0 Answers

How many results per request in odd API?

herasvn:3 months ago
0 Answers

should add event of match

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://odds.p.rapidapi.com/v1/odds?sport={sport}&region={region}&mkt={mkt}")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication