Authentication
Soccer Football info REST api authenticates via Access Token.
The modes differ if you use the direct API or via RapidAPI. Here's how to do it:
Authentication with direct API
The main URL is: https://api.soccerfootball.info
You must enter the t=
parameter with your access token for each endpoint to work.
For example:
Header on response
On response there is some header that you can use to check API status
X-Rate-Limit-Limit
: the rate limit ceiling for that given endpointX-Rate-Limit-Remaining
: the number of requests left for the hour windowX-Rate-Limit-Reset
: the remaining window before the rate limit resets, in UTC epoch seconds
Authentication with RapidAPI
The main URL is: https://soccer-football-info.p.rapidapi.com
You must pass two custom header to endpoint with your token and api host.
x-rapidapi-host
: the api hostname is alwayssoccer-football-info.p.rapidapi.com
x-rapidapi-key
: your API token
Pay attention to endpoint, in case of rapidAPI is always without /v1/ prefix /v1/live/full -> /live/full/ ecc...
For example:
Header on response
Ogni chiamata se risponderà 200 vi fornirà negli header le seguenti informazioni:
x-ratelimit-request-limit
: The number of requests the plan you are currently subscribed to allows you to make, before incurring overagesx-ratelimit-requests-remaining
: The number of requests remaining before you reach the limit of requests your application is allowed to make, before experiencing overage charges.
more info here
You can limit your token by IP from RapidApi Dashboard or if you have a directly subscribe write a mail to [email protected] with your token and the IP.
Last updated