...

/

Request and Response Structure

Request and Response Structure

Let's look at the generic request and response structure for the endpoints.

We'll cover the following...

Request structure

The request of an API-Football endpoint contains a header and an endpoint.

Header structure

The header contains two elements:

  • x-rapidapi-host is either v3.football.api-sports.io or api-football-v1.p.rapidapi.com, depending on the platform you have signed up with. In our case, it will be v3.football.api-sports.io since we signed up
...