Documentation Index
Fetch the complete documentation index at: https://docs.nextsportsapi.com/llms.txt
Use this file to discover all available pages before exploring further.
A match center usually combines several endpoints. Start with the fixture and load detail endpoints only when the fixture supports that data.
1. Get the fixture
curl --request GET \
"https://api.nextsportsapi.com/v1/football/fixtures?id=MBH7KQ2" \
--header "Authorization: Bearer YOUR_API_KEY"
2. Add events
curl --request GET \
"https://api.nextsportsapi.com/v1/football/fixtures/events?fixture=MBH7KQ2" \
--header "Authorization: Bearer YOUR_API_KEY"
3. Add lineups
curl --request GET \
"https://api.nextsportsapi.com/v1/football/fixtures/lineups?fixture=MBH7KQ2" \
--header "Authorization: Bearer YOUR_API_KEY"
4. Add team statistics
curl --request GET \
"https://api.nextsportsapi.com/v1/football/fixtures/statistics?fixture=MBH7KQ2" \
--header "Authorization: Bearer YOUR_API_KEY"
Polling model
Use a fixture status field to decide polling frequency. Poll active fixtures more frequently, reduce polling at halftime, and stop live polling after final status once post-match statistics are loaded.