States

States by ID

Returns state information from your requested state ID. For more information, please visit:https://docs.sportmonks.com/football/endpoints-and-entities/endpoints/states/get-state-by-id

Sportmonks documentation

get/football/states/{stateId}

Request

  • Base URL
    https://api.sportmonks.com/v3
  • Auth
    • API key in query parameter api_token
    • or API key in header Authorization

Path parameters

stateIdinteger required

The ID of the state you want to retrieve.

Query parameters

includestring

Enrich the API response with more data by using includes. Ex. &include=participants;events

Allowed values: none. Pass as a semicolon-separated list (the API rejects comma here), e.g. include=none.

selectstring[]

Select specific fields on the base entity . Read how to select fields in our tutorial .

Selectable fields: id, state, name, short_name. Pass as a comma-separated list, e.g. select=id,state.

filtersstring

Filter the API response on multiple related entities. There are static filters and dynamic filters.​ Please find the possibilities in the Static and Dynamic Filter tab.

localestring

Translate name fields of the API Response in your selected language. Find more information and which languages are available on our translations page .

Response

Success.

timezonestring required

Changes

No recorded changes to this operation across all 1 revision of this API.