A query to this endpoint without a numeric venue code will return a list of all venues. Passing a venue codewill return metadata for a single venue, and a listing of all games played there in the current season.
Please note that this endpoint can be used synonymously as venue.
Controls the data format by which query results are returned. Acceptable values are xml, json or php. The default value is json. Example: https://api3.natst.at/xxxx-xxxxxx/venues/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://api3.natst.at/xxxx-xxxxxx/venues/nba/2025
venuecode
optional
range
A numeric code for a venue. A list of available values can be retrieved by querying this endpoint with no range parameter. Example: https://api3.natst.at/xxxx-xxxxxx/venues/nba/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://api3.natst.at/xxxx-xxxxxx/venues/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://api3.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://api3.natst.at/xxxx-xxxxxx/venues/...
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://api3.natst.at/xxxx-xxxxxx/venues/nhl/...