Plausible API

14 endpoints for Plausible, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.

Base URL
https://cotlet.dev/api/v1/plausible
Connects with
Your own Plausible account (Owner, Admin or Editor of the team to change settings; Owner or Admin to invite guests)
Integration page
Plausible

Read (8)

Return data and change nothing in the account.

Plausible Endpoints: Read
EndpointDescription
GET /sites List the sites on the Sites page with their visitors in the last 24 hours.
GET /site-stats Read the top stats of a site dashboard for a date range, optionally compared with an earlier one.
GET /top-pages Read the Top Pages report: pages, entry pages or exit pages.
GET /sources Read the Sources report: channels, referrers or campaigns.
GET /goals List the goals set up in the site settings.
GET /goal-conversions Read the Goals report of the dashboard for a date range.
GET /shared-links List the shared links of a site from Visibility in the site settings.
GET /site-peoples List the guests and pending invitations of a site from People in the site settings.

Write (6)

Change the account. Calls marked Confirm wait for the user to approve them.

Plausible Endpoints: Write
EndpointDescription
POST /sites Add a website to your Plausible team from the Sites page.
POST /goals Add a pageview or custom event goal in the site settings.
POST /shared-links Confirm Create a shared link to the dashboard under Visibility in the site settings.
POST /guest/invite Confirm Invite a guest to one site from People in the site settings.
PUT /email-reports Confirm Turn weekly or monthly email reports on or off and add recipients in the site settings.
POST /annotations Confirm Add a note to a date on the main traffic chart.

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.