API Endpoints
This endpoint returns by default the next non-expired football predictions.Parameters can be specified to filter by date, by federation, by prediction market
Last updated
This endpoint returns by default the next non-expired football predictions.Parameters can be specified to filter by date, by federation, by prediction market
Last updated
All requests must contain a valid authentication key in the headers.
X-RapidAPI-Key
GET
https://football-prediction-api.p.rapidapi.com/api/v2/predictions
This endpoint returns a list of the football predictions scheduled to start in the next 48 hours.
The default argument for market is "classic", which shows 1X2 predictions.
Optional parameters can be specified to show past predictions (by providing iso_date
in the past) or to filter by federation.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://football-prediction-api.p.rapidapi.com/api/v2/predictions/:id
Given a matchid
will grab all the predictions (all markets) for that single event.
Useful when you want to see all predictions for a single game.
Matches will have at least 1 prediction in the classic market and up to 8.
Recommendation: use the prediction endpoint with the classic market to get a list of ids.
GET
https://football-prediction-api.p.rapidapi.com/api/v2/performance-stats
This endpoint returns information about the accuracy of the past predictions. (in the last day, 7 days, 14 days and 30 days) Can be additionally filtered by federation and market. If no market filter is provided it defaults to classic
GET
https://football-prediction-api.p.rapidapi.com/api/v2/list-federations
Returns a list of the supported federations. Takes no parameter.
GET
https://football-prediction-api.p.rapidapi.com/api/v2/list-markets
List all available markets and the ones that are enabled for your subscription plan.
GET
https://football-prediction-api.p.rapidapi.com/api/v2/home-league-stats/:id
Given a matchid
will grab the league stats for the team playing at home.
Does not support past results only upcoming matches (with the start_date in the future)
GET
https://football-prediction-api.p.rapidapi.com/api/v2/head-to-head/:id
Shows head to head stats and previous encounters for the home and away team of an upcoming match.
GET
https://football-prediction-api.p.rapidapi.com/api/v2/away-league-stats/:id
Given a match id
will grab the league stats for the team playing away.
Does not support past results only upcoming matches (with the start_date in the future)
GET
https://football-prediction-api.p.rapidapi.com/api/v2/home-last-10/
Shows the last 10 encounters for the home team and statistics based on those last 10 matches. Less than 10 encounters are shown when more data is not available
GET
https://football-prediction-api.p.rapidapi.com/api/v2/away-last-10/
Shows the last 10 encounters for the home team and statistics based on those last 10 matches. Less than 10 encounters are shown when more data is not available.
GET
https://football-prediction-api.p.rapidapi.com/api/v2/get-list-of-fixture-ids
This endpoint returns an array of fixture ids. It is recommended to use this endpoint if you plan to query the Prediction Details endpoint or other endpoints that need a fixture ID as URL parameter.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
iso_date
string
Date in YYYY-MM-DD format Day starts at 00:00 London Timezone If not provided returns next predictions for matches about to start in (12h/36h/48h - based on subscription type)
market
string
Check the table below for the accepted values and how it affects the response.
federation
string
Football association, for accepted values check the /api/v2/list-federations
X-RapidAPI-Key
string
Provide this header for authentication
Market
Description
Default
classic
Predictions for final match result (1 - home victory / X - draw / 2 - away victory)
Yes
over_25
Predicts whether there will be more than 2.5 goals scored (yes / no)
No
over_35
Predicts whether there will be more than 3.5 goals scored (yes / no)
No
btts
Predicts whether both teams will score ( yes / no )
No
home_over_05
Predicts whether the home team will score more than 0.5 goals (yes / no)
No
home_over_15
Predicts whether the home team will score more than 1.5 goals (yes / no)
No
away_over_05
Predicts whether the away team will score more than 0.5 goals (yes / no)
No
away_over_15
Predicts whether the away team will score more than 1.5 goals (yes / no)
No
id
number
Fixture ID
X-RapidAPI-Key
string
Provide this header for authentication
federation
string
Football association, for accepted values check the /api/v2/list-federations the response.
market
string
Check the table above for the accepted values and how it affects the response.
id
integer
Fixture ID
id
number
Fixture ID
id
integer
Fixture ID
id
number
Fixture ID
id
number
Fixture ID
iso_date
string
Date in YYYY-MM-DD format Day starts at 00:00 London timezone If not provided returns predictions with start_date > current time
market
string
Market - check prediction endpoint for details
federation
string
The football association
X-RapidAPI-Key
string
Needed for authentication