Setup the API
๐ก Tip
Follow these steps to get started quickly. If you encounter any issues, reach out to our support team at [email protected].
1. Register or Log In
- Register: admin.soccersapi.com/register
- Login: admin.soccersapi.com/login
Once registered, the dashboard shows the trial or plan currently assigned to the account and the leagues available to it.
2. Access Your Dashboard
Go to your dashboard:
๐ admin.soccersapi.com
From here you can:
- View your current plan
- Upgrade to higher plans if needed
- Manage your tokens and leagues
3. Generate an API Token
Create and manage tokens here:
๐ admin.soccersapi.com/api-tokens
- Each request requires both
user(your username) andtoken - You can generate multiple tokens for different projects
4. Select Your Leagues
Check and manage which leagues are active in your plan:
๐ admin.soccersapi.com/leagues
- The dashboard identifies the leagues currently active on the plan.
- Eligible plans allow league selection from the available coverage.
- Full coverage: soccersapi.com/coverage
5. Start Making API Calls
Use your username and token in every request.
Example:
curl -L -g "https://api.soccersapi.com/v2.2/countries/?user={{USERNAME}}&token={{TOKEN}}&t=list"
Routes work with or without the trailing slash; the reference uses it for consistency. Pass credentials as query parameters and never expose a production token in browser code, screenshots, support tickets or a public repository.