API KEYS
Get your API key.
Every request to GoSportsAPI is authenticated with a key sent in the x-api-key header. Getting one takes three steps.
- 01
Create an account
Sign up with your work email. Use the form below or sign in if you already have an account.
- 02
Choose a plan
Start on the Free plan and upgrade whenever you need more requests. Compare plans
- 03
Create a key in your dashboard
Generate a key, store it somewhere safe and send it with every request.
Send your first request
Add your key to the x-api-key header. Responses are JSON.
GET/football/fixturescURL
curl "https://api.gosportsapi.com/v1/football/fixtures" \ -H "x-api-key: YOUR_API_KEY"SAMPLE RESPONSE200 OK
{ "data": [{ "id": 1048213, "home": "Arsenal", "away": "Chelsea", "status": "NS" }]}Keep your key secret. Call the API from your server, and never put the key in browser code or a public repository.
Create your account
Tell us about your project. Once your account is ready, you can create your key from the dashboard.