RapidAPI logo

Football Prediction

FREEMIUM
By boggio-analytics
Updated 3 months ago
Sports
9.3/10
Popularity Score
1132ms
Latency
95%
Success Rate

Football Prediction API Documentation

The Football Prediction API provides predictions for upcoming football matches, average bookie odds, results for past matches and prediction performance statistics for past results.

View API Details
GET[api v2] Prediction Details
GET[api v2] Next 24h/48h football predictions
GET[api v2] Get Prediction Performance Statistics
GET[api v2] List available federations
GET[api v2] List available markets
GET[Legacy] Get Prediction Performance Performance Statistics
GET[Legacy] List available federations
GET[Legacy] List available markets
GET[Legacy] Next 24h/48h football predictions
GET[Legacy] Prediction Details
GET[api v2] Prediction Details

Returns all predictions available for a match id.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
idNUMBER
REQUIRED
Code Snippet
unirest.get("https://football-prediction-api.p.rapidapi.com/api/v2/predictions/{id}")
.header("X-RapidAPI-Host", "football-prediction-api.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://football-prediction-api.p.rapidapi.com/api/v2/predictions/{id}
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://football-prediction-api.p.rapidapi.com/api/v2/predictions/{id}")
.header("X-RapidAPI-Host", "football-prediction-api.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