Most endpoints return a common JSON envelope. TheDocumentation Index
Fetch the complete documentation index at: https://docs.nextsportsapi.com/llms.txt
Use this file to discover all available pages before exploring further.
response field contains the endpoint-specific data.
Envelope fields
| Field | Type | Description |
|---|---|---|
get | string | Endpoint name returned for traceability. |
parameters | object | Query parameters accepted by the request. Values are returned as strings when they come from the URL query. |
errors | array | Empty array for successful requests. Contains one or more error objects when the request fails. |
results | integer | Number of records returned in response. |
paging.current | integer | Current response page. |
paging.total | integer | Total pages available for the request. |
response | array or object | Endpoint-specific payload. |
Empty data
When a valid request has no matching records, the API may return200 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 supportpage. When paging.total is greater than paging.current, request the next page with page=paging.current + 1.