API v3 Documentation

Endpoints Code Lookup

← All endpoints

videos

team,player All data services

A query to this endpoint will return all YouTube and Twitter videos in reverse chronological order of last post. Results can be filtered by date, date range and search term.

Please note that this endpoint can be used synonymously as video.

NBA Recent Videos Containing "thunder"
https://api3.natst.at/xxxx-xxxxxx/videos/nba/thunder Download sample

Parameters

Range

NameRequiredTypeDescription
dataformat optional range 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/videos/nba/xml
date optional range A date in YYYY-MM-DD format. Example: https://api3.natst.at/xxxx-xxxxxx/videos/nba/2025-03-23
daterange optional range Two dates in YYYY-MM-DD format. Any additional dates beyond two will be ignored. Example: https://api3.natst.at/xxxx-xxxxxx/videos/nba/2025-03-23,2025-03-30
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/videos/nba/XXX

Query

NameRequiredTypeDescription
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/...
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

NameRequiredTypeDescription
endpoint required path The API endpoint to query. This must be the second path parameter. Example: https://api3.natst.at/xxxx-xxxxxx/videos/...
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/videos/nhl/...
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/videos/nhl/...