StatsHub Docs
APIEndpoint referenceTournament

/tournament

GET
/api/tournament

Query Parameters

days?integer
Formatint64
withinHours?string
upcomingFixtures?string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/tournament"
{  "data": {    "property1": [      {        "categorySlug": "string",        "country": "string",        "id": 0,        "internalId": 0,        "isFavorite": true,        "name": "string",        "shouldShow": true,        "slug": "string",        "uniqueTournamentId": 0,        "uniqueTournamentSlug": "string",        "upcomingFixtureCount": 0      }    ],    "property2": [      {        "categorySlug": "string",        "country": "string",        "id": 0,        "internalId": 0,        "isFavorite": true,        "name": "string",        "shouldShow": true,        "slug": "string",        "uniqueTournamentId": 0,        "uniqueTournamentSlug": "string",        "upcomingFixtureCount": 0      }    ]  }}