How to get KPIs and metrics from the MailerLite API

In this article we will explain how we get your metrics data from MailerLite to display in MinimalDashboard, but if you want to use this data in your own application you can either use our API or follow the instructions below to write your own implementation.

MailerLite is an email marketing platform offering simple tools for creating campaigns, automations, landing pages, and managing subscribers with a modern OAUTH API giving you access to your ticket data. You can find their documentation here: Helpscout's API.

Contents

Authentication

For authentication you provide a Bearer token, which you can create for your account under the Integrations > API page.

Endpoint

The primary endpoint for account statistics is: https://connect.mailerlite.com/api/subscribers.

How to get your subscriber metrics from Mailerlite

To get the current subscriber count send a GET request to:

https://connect.mailerlite.com/api/subscribers
  // This is a required parameter with unclear meaning
  ?limit=0

This will return the total number of subscribers on your list (including those that have unsubscribed).

{
  "total": 1
}

Looking for more?

Have a look at our API knowledge base with many more services...

icon related to MailerLite

MailerLite

Email Marketing

If you'd like to have a ready-made dashboard with all the metrics from MailerLite instead, you can create one with MinimalDashboard in a few clicks.

Create dashboards to show

  • Total Subscriber Count
Create your MailerLite dashboard today