A query to this endpoint will return important real-time, in-game events in reverse chronological order. (Baseball: scoring plays; Basketball: runs, late lead changes, 30/40/50 point games; Hockey: goals; Soccer: goals; American Football: TD, FG, turnover) Results can be filtered by game, team and search string. This feed only contains events from the past 24 hours. For more event types/priorities and filtering options, please consider the Interstat API.
Please note that this endpoint can be used synonymously as event.
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/events/nba/xml
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/events/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/events/eurobb/XXX
search
optional
range
If a comma-separated value is none of the above, the API will assume it is a search term. The system will only accept the first entry in a string as a search term. Example: https://api4.natst.at/xxxx-xxxxxx/events/nba/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/events/...
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/events/nhl/...