API v2 Documentation

Endpoints Code Lookup

Meta

The meta block is stamped with the authorized National Statistical account username attached to the API key, the sport levels the account is authorized to access via the API, and the date and time of the query in the US Eastern (New York) timezone, results and pagination. The block also contains data on rate limits.

[meta] => SimpleXMLElement Object
(
[User] => National Statistical
[AuthLevels] => MBB,WNBA,MBB,WBB
[Processed_At] => 2022-05-03 12:21:09
[Processing_Time] => 0.6758832947217 sec
[Time_Zone] => America/New_York
[X-RateLimit-Remaining] => 3578
[X-RateLimit-Limit] => 3600
[X-RateLimit-Reset] => 2022-05-03 13:00:04
[Max_Results] => 100
[Total_Results] => 1563
[Page] => 1
[Total_Pages] => 16
[Next_Page] => https://api.natstat.com/v2/playbyplay/WNBA/?key=XXXX-XXXXXX&format=php&last=2&page=2
[API_Version] => 2
[Support] => https://natstat.com/contact
[Report_Data_Errors] => https://natstat.com/contact
)

All timestamps in the National Statistical system are US Eastern (New York).