plausible

Query Plausible Analytics visitor statistics and manage sites via API.

76|18|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/vm0-ai/vm0-skills --skill plausible
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plausible
Source: https://github.com/vm0-ai/vm0-skills/tree/main/plausible
Command: npx skills add https://github.com/vm0-ai/vm0-skills --skill plausible

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables programmatic access to Plausible analytics data, letting you fetch visitor counts, pageviews, and traffic breakdowns without the Plausible UI.

Core Features & Use Cases

  • Query site stats - visitors, pageviews, bounce rate
  • Break down by source, country, device - dimensions
  • Manage sites - list, detail, and configure site for analytics

Quick Start

curl -s -X POST 'https://plausible.io/api/v2/query' -H "Authorization: Bearer $PLAUSIBLE_API_KEY" -H 'Content-Type: application/json' -d @- << 'EOF' {"site_id":"$PLAUSIBLE_SITE_ID","metrics":["visitors","pageviews"],"date_range":"7d"} EOF

Frequently Asked Questions about plausible

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query website analytics data programmatically with Plausible?

Query website analytics programmatically using Plausible's Stats API with curl or HTTP requests. Authenticate with your API key, specify your site ID and metrics (visitors, pageviews, bounce rate), then send a POST request to fetch analytics data without using the Plausible dashboard.

Can I break down Plausible analytics by traffic source, country, and device?

Yes, Plausible analytics supports dimensional breakdowns by traffic source, geographic location, and device type. Include dimension parameters in your API query to segment visitor statistics, pageviews, and conversions across these categories.

What authentication does the Plausible API require?

The Plausible API uses Bearer token authentication via API key. Include your API key in the Authorization header of HTTP requests to access analytics data and manage sites through the Stats API and Sites API.

How do I manage and configure Plausible sites via API?

Manage Plausible sites programmatically using the Sites API to list sites, retrieve site details, and configure analytics settings. This allows automated site provisioning and configuration without manual dashboard access.

Does Plausible API support command-line queries with curl?

Yes, Plausible API queries work directly with curl commands. Send JSON payloads to the API endpoint with Bearer authentication, making it easy to integrate analytics queries into shell scripts and CLI workflows.

What metrics can I retrieve from Plausible analytics?

Plausible analytics provides visitor counts, pageviews, bounce rates, traffic sources, geographic and device breakdowns, and conversion data. Specify which metrics to retrieve in your API request to get the data you need.