Get Aggregate Stats
AI-generatedSummary
Fetches aggregate Plausible Analytics statistics for a site over the selected time period, including visitors, pageviews, bounce rate, and visit duration.
Inputs
- Site ID (required) — The site domain configured in Plausible, such as yourdomain.com.
- Time Period — Selects the reporting range: today, the last 7 days, 30 days (default), 6 months, or 12 months.
- Plausible API credentials (required) — Credentials provide the Plausible API base URL and authentication.
Output shape
One item per input item, containing the Plausible aggregate stats response as JSON.
Makes a GET request to the aggregate stats endpoint with visitors, pageviews, bounce_rate, and visit_duration metrics. If Continue On Fail is enabled, a failed request returns an item with an error message.