A query to this endpoint without a range parameter will return the current ELO rankings and ratings for all active teams. Passing a date parameter will return an ELO rankings and ratings "snapshot" for that date if data is available. Passing a team code will return a series of data points and detailed changes in team ELO ratings over the course of the season.
Controls the data format by which query results are returned. Acceptable values are xml, json or php. The default value is json. Example: https://api4.natst.at/xxxx-xxxxxx/elo/nba/xml
season
optional
range
A valid season code (the year when a particular season completes) in YYYY format. A list of available values can be retrieved from the seasons endpoint. Example: https://api4.natst.at/xxxx-xxxxxx/elo/nba/2025
teamcode
optional
range
A two to eight-character code for a team. A list of available values can be retrieved from the /teamcodes endpoint or the lookup below. Example: https://api4.natst.at/xxxx-xxxxxx/elo/nba/XXX
leaguecode
optional
range
A two to eight-character code for a league. A list of available values can be retrieved from the /leaguecodes endpoint or the lookup below. Example: https://api4.natst.at/xxxx-xxxxxx/elo/eurobb/XXX
Query
Name
Required
Type
Description
key
required
path
A valid API key in xxxx-xxxxxx format. This must be the first path parameter. Example: https://api4.natst.at/xxxx-xxxxxx/...
Path
Name
Required
Type
Description
endpoint
required
path
The API endpoint to query. This must be the second path parameter. Example: https://api4.natst.at/xxxx-xxxxxx/elo/...
level
required
path
One of 30 NatStat data services to query. A full list can be found in the documentation. This must be the third path parameter. Example: https://api4.natst.at/xxxx-xxxxxx/elo/nhl/...