API v4 Documentation

Endpoints Code Lookup

← All endpoints

text

game All data services

A hydrated query that includes this secondary endpoint will return a combined node with all associated game text.

NBA Recent Game Text
https://api4.natst.at/xxxx-xxxxxx/text/nba/ 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://api4.natst.at/xxxx-xxxxxx/text/nba/xml

Query

NameRequiredTypeDescription
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

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