For Agents
Query privacy-focused web analytics (visitors, pageviews, sources, conversions), manage sites and goals, and send custom events — all without cookies or personal data.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Plausible API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Plausible API.
Query real-time visitor counts for any registered site without page reload
Retrieve aggregate metrics (visitors, pageviews, bounce rate, visit duration) for configurable date ranges
Generate time-series data at day, week, or month granularity for trend visualization
GET STARTED
Use for: I need to check how many visitors are on my site right now, I want to query aggregate pageview stats for the last 30 days, Get the time-series breakdown of unique visitors by day this month, List the top traffic sources for my website this week
Not supported: Does not handle product analytics, user-level behavioral tracking, A/B testing, or feature flags — use for aggregate web traffic analytics only.
Jentic publishes the only available OpenAPI specification for Plausible API, keeping it validated and agent-ready. Query privacy-friendly web analytics including real-time visitor counts, aggregate metrics, time-series data, and dimension breakdowns — all without cookies or personal data collection. The API also provides site management capabilities for creating, updating, and deleting sites, managing shared dashboard links, defining conversion goals, and sending custom pageview events.
Break down metrics by source, page, country, device, browser, or operating system dimensions
Create and delete sites with custom domain and timezone configuration
Define conversion goals tracked by page path or custom event name
Send custom pageview and event data via the event ingestion endpoint
Patterns agents use Plausible API for, with concrete tasks.
★ AI Agent Web Analytics Integration
AI agents query Plausible's Stats API to retrieve traffic metrics, source breakdowns, and conversion data without manual dashboard access. Through Jentic, an agent discovers the analytics operation by intent, receives the schema, and executes queries to return visitor counts, bounce rates, or source rankings directly within automated workflows. Privacy-compliant by design — no cookies or PII involved.
GET aggregate stats from /api/v1/stats/aggregate for site 'example.com' with metrics visitors, pageviews, and bounce_rate for the last 30 days
Real-Time Traffic Monitoring
Query the real-time visitors endpoint to get the current number of active visitors on any registered site. This enables automated alerting when traffic spikes (viral content, launch events) or drops (outages, broken pages), and powers live dashboards that display current site activity without polling delay or session tracking.
GET the current real-time visitor count from /api/v1/stats/realtime/visitors for site_id 'example.com'
Traffic Source and Campaign Analysis
Break down visitor metrics by referral source, UTM campaign, country, device type, or page path using the breakdown endpoint. This reveals which channels drive the most qualified traffic, which content performs best, and where geographic or device-specific optimization opportunities exist — all queryable programmatically for automated marketing reports.
GET breakdown from /api/v1/stats/breakdown for site 'example.com' with property 'visit:source' and metrics 'visitors,bounce_rate' for the last 7 days
Conversion Goal Tracking
Define conversion goals based on page paths (e.g., /thank-you) or custom event names (e.g., signup_complete), then query aggregate and breakdown stats filtered to goal completions. This enables automated funnel measurement without cookies, tracking how many visitors complete key actions and which sources drive the highest conversion rates.
Create a goal via PUT /api/v1/sites/goals for site 'example.com' with event_name 'signup_complete', then query aggregate stats filtered to that goal
Multi-Site Management
Programmatically create, configure, and delete sites within a Plausible account. Each site can have a custom timezone, shared dashboard links for public access, and conversion goals. Agencies and SaaS platforms use this to onboard client sites automatically, configure analytics for new tenants, and manage shared reporting links at scale.
Create a new site via POST /api/v1/sites with domain 'newclient.com' and timezone 'Europe/London', then create a shared dashboard link via PUT /api/v1/sites/shared-links
13 endpoints — jentic publishes the only available openapi specification for plausible api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/api/v1/stats/realtime/visitors
Get current real-time visitor count
/api/v1/stats/aggregate
Query aggregate metrics for a date range
/api/v1/stats/timeseries
Get time-series data at configurable intervals
/api/v1/stats/breakdown
Break down metrics by dimension
/api/v1/sites
Create a new analytics site
/api/v1/sites/goals
Create a conversion goal for a site
/api/v1/sites/shared-links
Create a shared dashboard link
/api/event
Send a custom pageview or event
/api/v1/stats/realtime/visitors
Get current real-time visitor count
/api/v1/stats/aggregate
Query aggregate metrics for a date range
/api/v1/stats/timeseries
Get time-series data at configurable intervals
/api/v1/stats/breakdown
Break down metrics by dimension
/api/v1/sites
Create a new analytics site
Three things that make agents converge on Jentic-routed access.
Credential isolation
Plausible Bearer API keys are stored encrypted in the Jentic vault (MAXsystem). Agents receive scoped access tokens — raw API keys never enter the agent's context.
Intent-based discovery
Agents search by intent (e.g., 'query website visitor statistics') and Jentic returns matching Plausible operations with their input schemas, so the agent can call the right endpoint without browsing docs.
Time to first call
Direct Plausible API integration: 1-2 days for token setup, site registration, and query parameter mapping. Through Jentic: under 1 hour — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Specific to using Plausible API through Jentic.
Why is there no official OpenAPI spec for Plausible API?
Plausible does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Plausible API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the Plausible API use?
The Plausible API uses Bearer token authentication with an API key generated from the Plausible account settings. Include it in the Authorization header as 'Bearer {api_key}'. Through Jentic, your Plausible API key is stored encrypted in the credential vault and agents receive scoped access without the raw key entering their context.
Can I query real-time visitor counts with the Plausible API?
Yes. GET /api/v1/stats/realtime/visitors returns the current number of active visitors on a site within the last 5 minutes. Pass the site_id as a query parameter to specify which site to query.
What are the rate limits for the Plausible API?
Plausible Cloud enforces a rate limit of 600 requests per hour per API key. Self-hosted instances can configure custom rate limits. The API returns standard rate limit headers so clients can implement backoff. Stats endpoints and site management endpoints share the same limit pool.
How do I query traffic source breakdown through the Plausible API via Jentic?
Search Jentic for 'break down web analytics by traffic source' to discover the /api/v1/stats/breakdown operation. Load the schema, set property to 'visit:source' and metrics to 'visitors,bounce_rate', specify the site_id and date range, and execute. Install with pip install jentic to get started.
Is the Plausible API GDPR-compliant?
Yes. Plausible does not use cookies, does not collect personal data, and does not track users across sites. The API returns only aggregate metrics — no individual user identifiers are exposed. This makes it fully GDPR, CCPA, and PECR compliant without requiring cookie consent banners.
How do I define and track conversion goals?
PUT /api/v1/sites/goals creates a goal for a site, specifying either a page_path (like '/thank-you') or an event_name (like 'signup'). Once created, you can filter aggregate and breakdown queries by goal to see only sessions that completed the conversion. Delete goals via DELETE /api/v1/sites/goals/{goal_id}.
/api/v1/sites/goals
Create a conversion goal for a site
/api/v1/sites/shared-links
Create a shared dashboard link
/api/event
Send a custom pageview or event