StatsHub Docs
APIAPI v2V2 endpoint referencePhases

/phases/upcoming-fixtures

Serves the next fixtures across many phases at once.

POST
/phases/upcoming-fixtures

Serves the next fixtures across many phases at once. The ids are a list, which is why it is a POST.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

curl -X POST "https://example.com/phases/upcoming-fixtures" \  -H "Content-Type: application/json" \  -d '{    "days": 0,    "limit": 0,    "tournamentIds": [      0    ],    "uniqueTournamentIds": [      0    ]  }'
{  "data": [    {      "awayTeamId": 0,      "awayTeamName": "string",      "homeTeamId": 0,      "homeTeamName": "string",      "id": 0,      "internalId": 0,      "slug": "string",      "startTime": 0,      "status": "string",      "tournamentId": 0,      "venueId": 0    }  ]}