Prerequisites
- A Scrunch workspace
- An API key with Query access
- A brand ID for the brand you want to query
Call the API
- cURL
- Python
- JavaScript / TypeScript
1
Set your API key
Get your API key from Organization Settings → API Keys and set it as environment variables:
2
Make your first Query API request
This example retrieves weekly brand presence for the last 30 days.Example output:
Next steps
Query API overview
Learn how fields, dimensions, and metrics work together.
Build dashboards
Send Query data into Looker Studio or your BI tool.
Responses API
Get full answers, citations, and sentiment when you need row-level detail.