To use the Data API (Documentation Index
Fetch the complete documentation index at: https://docs.platform.statista.ai/llms.txt
Use this file to discover all available pages before exploring further.
v1/data/statistic), you need to identify the specific data you want to pull.
This is in the format of an ID for e.g. a statistic. You can find these IDs by: a) Using the Discovery API, b) using the Statista website - you’ll find the ID in the URL when viewing a specific statistic.
Say that you wish to pull the raw data for Nike’s Revenue, you’d identify the ID of this statistic from the URL to be: 241683.
You’d then append that ID as a query parameter like so: v1/data/statistic?id=241683
Here’s an example of pulling data for a specific ID: