Making a first API call
After completing the setup guide, you should verify that you are able to make a successful request.
Use the List available markets endpoint to verify the markets you have access to based on your subscription type.

Test Request via Rapidapi

1
curl --get --include 'https://football-prediction-api.p.rapidapi.com/api/v2/list-markets' \
2
-H 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'
Copied!
A good request would return a HTTP Status code of 200 and a JSON response looking similar to the one bellow
1
{
2
"data": {
3
"allowed_for_your_subscription": [
4
"home_over_05",
5
"btts",
6
"over_35",
7
"classic",
8
"home_over_15",
9
"over_25",
10
"away_over_15",
11
"away_over_05"
12
],
13
"all": [
14
"home_over_05",
15
"btts",
16
"over_35",
17
"classic",
18
"home_over_15",
19
"over_25",
20
"away_over_15",
21
"away_over_05"
22
]
23
}
24
}
Copied!
The example above shows that all prediction markets can be accessed . (all markets listed in allowed_for_your_subscription)
The market is a optional parameter that can be specified when requesting predictions.

Available prediction markets

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
Last modified 2yr ago