Skip to main content

Plausible

Plausible is a lightweight, privacy-friendly web analytics platform. Its Stats API exposes site traffic data—timeseries, aggregate, and breakdown metrics such as visitors, pageviews, and bounce rate—along with realtime visitor counts, while the Sites API lets you manage sites and goals. Nexla connects to Plausible to ingest analytics data and to programmatically manage your Plausible sites and goals.

Plausible icon

Power end-to-end data operations for your Plausible API with Nexla. Our bi-directional Plausible connector is purpose-built for Plausible, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to Plausible or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your Plausible workflows fast, secure, and fully governed.

Features

Type: API

SourceDestination

  • Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
  • Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
  • API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
  • Request optimization with intelligent batching, retry, and caching to minimize API calls and costs

Prerequisites

Before creating a Plausible credential, you need a Plausible API key and the base URL for your Plausible instance. Plausible authenticates API requests with a bearer token sent in the Authorization header.

To obtain your Plausible API key, follow these steps:

  1. Sign in to your Plausible account.

  2. Open the account menu in the top-right corner and go to your account Settings.

  3. In the settings sidebar, select the API Keys section.

  4. Click New API Key and choose the Stats API key type.

  5. Copy and store the generated key immediately. Plausible displays the key only once and it cannot be retrieved again after you leave the page.

For the base URL, use https://plausible.io if you are on Plausible Cloud. If you run a self-hosted Plausible instance, use the URL of your own deployment instead.

The Stats API is rate limited (600 requests per hour by default on Plausible Cloud). Contact Plausible if you need a higher limit. For full details on authentication, endpoints, and query parameters, see the Plausible Stats API documentation.

Authenticate

Credentials required

FieldRequiredSecretDescription
API KeyYesYesPlausible API key for authentication.
Base URLYesNoAPI base URL.

Create a credential in Nexla

  1. After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.

  2. Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.

  3. Enter your Plausible API key in the API Key field. This is the Stats API key you generated in Prerequisites. It is sent as a bearer token in the Authorization header and must be kept confidential.

  4. Enter the API base URL in the Base URL field. Use https://plausible.io for Plausible Cloud, or the URL of your self-hosted Plausible instance.

    If your API key is compromised, revoke it in your Plausible account settings and generate a new one.

    For detailed information about API authentication, available endpoints, and query parameters, see the Plausible Stats API documentation.

  5. Click the Save button at the bottom of the overlay. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation.

Use as a data source

To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the Plausible connector tile, then select the credential that will be used to connect to Plausible, and click Next; or, create a new Plausible credential for use in this flow.

Endpoint templates

Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Plausible endpoints. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.

Get Timeseries Stats

Retrieve a time-bucketed series of stats (visitors, pageviews, etc.) for a site over a given period.

For detailed information about query parameters, metrics, and response structures, see the Plausible Stats API documentation.

Get Aggregate Stats

Retrieve aggregated metric totals (visitors, pageviews, bounce rate, etc.) for a site over a given period.

For detailed information about query parameters, metrics, and response structures, see the Plausible Stats API documentation.

Get Breakdown Stats

Retrieve stats broken down by a property (e.g. visit:source, event:page) for a site over a given period.

For detailed information about query parameters, dimensions, and response structures, see the Plausible Stats API documentation.

Get Realtime Visitors

Retrieve the current count of visitors active on a site right now.

For detailed information about realtime metrics and response structures, see the Plausible Stats API documentation.

List Sites

Retrieve list of all sites in your Plausible account.

For detailed information about the Sites API and response structures, see the Plausible Sites API documentation.

Get Site Details

Retrieve detailed configuration and tracker script settings for a specific site.

For detailed information about the Sites API and response structures, see the Plausible Sites API documentation.

List Site Goals

Retrieve all goals configured for a specific site.

For detailed information about the Sites API and goal configuration, see the Plausible Sites API documentation.

List Custom Properties

Retrieve all custom properties defined for a site.

For detailed information about the Sites API and custom properties, see the Plausible Sites API documentation.

List Teams

Retrieve all teams accessible to your account with API availability status.

For detailed information about the Sites API and response structures, see the Plausible Sites API documentation.

List Site Guests

Retrieve guest invitations and memberships for a site.

For detailed information about the Sites API and response structures, see the Plausible Sites API documentation.

Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.

Manual configuration

Plausible data sources can also be manually configured to ingest data from any valid Plausible API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers.

Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new Plausible data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.

Use as a destination

Click the + icon on the Nexset that will be sent to the Plausible destination, and select the Send to Destination option from the menu. Select the Plausible connector from the list of available destination connectors, then select the credential that will be used to connect to Plausible, and click Next; or, create a new Plausible credential for use in this flow.

Endpoint templates

Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common Plausible endpoints. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.

Create Site

Create a new site in your Plausible account.

Each record from your Nexset is sent as a separate API request. Ensure your records match the format required by the Plausible Sites API. For detailed information about request body formats and available fields, see the Plausible Sites API documentation.

Update Site

Update configuration of an existing Plausible site.

Each record from your Nexset is sent as a separate API request. Ensure your records match the format required by the Plausible Sites API. For detailed information about request body formats and available fields, see the Plausible Sites API documentation.

Delete Site

Permanently delete a site and all its data from Plausible.

This action is irreversible and removes the site along with all of its data. Ensure your records identify the correct site before activating this destination. For detailed information, see the Plausible Sites API documentation.

Create Goal

Create or update a goal for a site in Plausible.

Each record from your Nexset is sent as a separate API request. Ensure your records match the format required by the Plausible Sites API. For detailed information about goal configuration and request body formats, see the Plausible Sites API documentation.

Delete Goal

Remove a goal from a Plausible site.

This action removes the specified goal from the site. Ensure your records identify the correct goal before activating this destination. For detailed information, see the Plausible Sites API documentation.

Manual configuration

Plausible destinations can also be manually configured to send data to any valid Plausible API endpoint. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks.

Save & activate

Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To send the data to the configured Plausible endpoint, open the destination resource menu, and select Activate.

The Nexset data will not be sent to the Plausible endpoint until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.