Comment on page
All of our APIs require authentication. You can create API tokens in MySportmonks.
To make our first request, we’ll need to get authenticated first.
We offer two different options for passing your API token. You are free to choose between the authentication methods. You can also use both of them at the same time. Please note that both methods count towards the same rate-limiting.
- Authenticate using a query parameter You can pass your API token by passing 'api_token' in your request parameters, like so:https://api.sportmonks.com/api/v3/football/livescores?api_token=YOUR_TOKEN
- Authenticate using a request header You can also pass your token via an 'Authorization' header, like so:
You can obtain and manage your API token in Mysportmonks. The API token is only meant for your eyes and, as such, should be stored away safely. Our tokens have no expiration date and will remain valid until you manually delete them yourself.
When making a request, a code response will always be returned. The following are all possible HTTP response codes for any request made to the API: