Football Web Pages

API

To access our data you must subscribe to one of our pricing plans (which include a free plan) via Rapid API at the following address:
rapidapi.com/football-web-pages1-football-web-pages-default/api/football-web-pages1

Authentication
When you subscribe via Rapid API you will be given a key, and you must provide this in a header named "X-RapidAPI-Key" with every request

Requests
The Base URL for all requests is https://football-web-pages1.p.rapidapi.com/; this must be followed by the relevant endpoint (outlined below) and can then be followed by various parameters, as described below

Feedback
If you have any feedback on how we can improve either the API itself or this page, please do contact us by email


Appearances
A list of players and their appearances, in descending order; please note: this endpoint is paged and will return a maximum of 25 records per page

The following parameters may be set:

compThe ID of the competition (note: one of "comp" or "team" is required)
teamThe ID of the team (note: one of "comp" or "team" is required)

pageThe page number of results to receive (default: 1)

Endpointhttps://football-web-pages1.p.rapidapi.com/appearances.json
Examplehttps://football-web-pages1.p.rapidapi.com/appearances.json?comp=1&page=2 - Premier League appearances (page 2)


Attendances
Either a list of each team's average, maximum or minimum attendances, or a list of the team's attendances

The following parameters may be set:

compThe ID of the competition (note: one of "comp" or "team" is required)
teamThe ID of the team (note: one of "comp" or "team" is required)

sortOne of: average, minimum, maximum (for competitions only; default: average)
typeOne of: home, away, all (default: home)

Endpointhttps://football-web-pages1.p.rapidapi.com/attendances.json
Examplehttps://football-web-pages1.p.rapidapi.com/attendances.json?team=1 - Arsenal attendances


Competitions
A list of the competitions covered

The following parameters may be set:

includeOne or both of: rounds, teams (default: neither)

Endpointhttps://football-web-pages1.p.rapidapi.com/competitions.json
Examplehttps://football-web-pages1.p.rapidapi.com/competitions.json?include=teams - all competitions, including teams


Fixtures/Results
The current list of matches for a competition/team

The following parameters may be set:

compThe ID of the competition (note: one of "comp" or "team" is required)
roundThe ID of the round
teamThe ID of the team (note: one of "comp" or "team" is required)

Endpointhttps://football-web-pages1.p.rapidapi.com/fixtures-results.json
Examplehttps://football-web-pages1.p.rapidapi.com/fixtures-results.json?comp=1 - Premier League fixtures/results


Form Guide
A pseudo league table made up of each team's last few results

The following parameters may be set:

compThe ID of the competition (note: one of "comp" or "team" is required)
teamThe ID of the team (note: one of "comp" or "team" is required)

countOne of: four, six, eight, ten (default: six)
typeOne of: all, home, away (default: all)

Endpointhttps://football-web-pages1.p.rapidapi.com/form-guide.json
Examplehttps://football-web-pages1.p.rapidapi.com/form-guide.json?comp=1 - Premier League form guide


Goalscorers
A list of players and their goals, in descending order; please note: this endpoint is paged and will return a maximum of 25 records per page

The following parameters may be set:

compThe ID of the competition (note: one of "comp" or "team" is required)
teamThe ID of the team (note: one of "comp" or "team" is required)

pageThe page number of results to receive (default: 1)

Endpointhttps://football-web-pages1.p.rapidapi.com/goalscorers.json
Examplehttps://football-web-pages1.p.rapidapi.com/goalscorers.json?comp=1&page=2 - Premier League goalscorers (page 2)


League Progress
A list of the points and position of a team throughout the season

The following parameters may be set:

teamThe ID of the team (required)

Endpointhttps://football-web-pages1.p.rapidapi.com/league-progress.json
Examplehttps://football-web-pages1.p.rapidapi.com/league-progress.json?team=1 - Arsenal league progress


League Table
The current league table

The following parameters may be set:

compThe ID of the competition (note: one of "comp" or "team" is required)
teamThe ID of the team (note: one of "comp" or "team" is required)

sortOne of: normal, home, away, scored, conceded, ppm (default: normal)

Endpointhttps://football-web-pages1.p.rapidapi.com/league-table.json
Examplehttps://football-web-pages1.p.rapidapi.com/league-table.json?comp=1 - Premier League league table


Match
Full details of a match

The following parameters may be set:

matchThe ID of the match (required)

Endpointhttps://football-web-pages1.p.rapidapi.com/match.json
Examplehttps://football-web-pages1.p.rapidapi.com/match.json?match=352250 - Fulham v Arsenal, 12 September 2020


Records
A list of the various records for a competition/team

The following parameters may be set:

compThe ID of the competition (note: one of "comp" or "team" is required)
teamThe ID of the team (note: one of "comp" or "team" is required)

Endpointhttps://football-web-pages1.p.rapidapi.com/records.json
Examplehttps://football-web-pages1.p.rapidapi.com/records.json?team=1 - Arsenal records


Rounds
A list of the rounds covered

The following parameters may be set:

compThe ID of the competition

Endpointhttps://football-web-pages1.p.rapidapi.com/rounds.json
Examplehttps://football-web-pages1.p.rapidapi.com/rounds.json?comp=21 - FA Cup rounds


Sequences
A list of the longest sequences for a team

The following parameters may be set:

teamThe ID of the team (required)

Endpointhttps://football-web-pages1.p.rapidapi.com/sequences.json
Examplehttps://football-web-pages1.p.rapidapi.com/sequences.json?team=1 - Arsenal sequences


Team
Full details of a team

The following parameters may be set:

teamThe ID of the team (required)

Endpointhttps://football-web-pages1.p.rapidapi.com/team.json
Examplehttps://football-web-pages1.p.rapidapi.com/team.json?team=1 - Arsenal details


Teams
A list of the teams covered

The following parameters may be set:

compThe ID of the competition

Endpointhttps://football-web-pages1.p.rapidapi.com/teams.json
Examplehttps://football-web-pages1.p.rapidapi.com/teams.json?comp=1 - Premier League teams


Vidiprinter
A list of updates for a competition/team

The following parameters may be set:

compThe ID of the competition (note: one of "comp" or "team" is required)
teamThe ID of the team (note: one of "comp" or "team" is required)

dateThe required date (format yyyy-MM-dd; default: latest)

Endpointhttps://football-web-pages1.p.rapidapi.com/vidiprinter.json
Examplehttps://football-web-pages1.p.rapidapi.com/vidiprinter.json?comp=1 - Premier League vidiprinter


Last review of this document: September 2020 (GE)