Skip to main content

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.

Most endpoints return a common JSON envelope. The response field contains the endpoint-specific data.
{
  "get": "football/fixtures",
  "parameters": {
    "date": "2026-08-16",
    "league": "L7K9Q2R",
    "season": "2026"
  },
  "errors": [],
  "results": 10,
  "paging": {
    "current": 1,
    "total": 1
  },
  "response": []
}

Envelope fields

FieldTypeDescription
getstringEndpoint name returned for traceability.
parametersobjectQuery parameters accepted by the request. Values are returned as strings when they come from the URL query.
errorsarrayEmpty array for successful requests. Contains one or more error objects when the request fails.
resultsintegerNumber of records returned in response.
paging.currentintegerCurrent response page.
paging.totalintegerTotal pages available for the request.
responsearray or objectEndpoint-specific payload.

Empty data

When a valid request has no matching records, the API may return 200 with results: 0 and an empty response array, or 204 No Content for endpoints where no body is returned.

Pagination

Endpoints that can return many records support page. When paging.total is greater than paging.current, request the next page with page=paging.current + 1.
curl --request GET \
  "https://api.nextsportsapi.com/v1/football/players?league=L7K9Q2R&season=2026&page=2" \
  --header "Authorization: Bearer YOUR_API_KEY"
Last modified on May 19, 2026