View all your subscriptions together to provide a holistic view of your companies health.


7 Cool Ways to Use the Baremetrics API

by Lea LeBlanc. Last updated on November 14, 2023

Data is cool. 

But you know what’s even cooler? Enriched data 🤓

That’s one of the reasons why the Baremetrics API exists. It allows you to import information from other apps into Baremetrics easily and efficiently. 

This article will explain seven popular ways that Baremetrics customers use our API to enrich their data and get more insights from their Baremetrics dashboards. 

If you’re a SaaS or subscription business, you should use Baremetrics to track your metrics. Start a free trial today. 


What is an API?

API stands for Application Programming Interface. Simply put, APIs allow two applications to communicate with each other and access specific data. Developers use APIs when building and integrating their products with others. 

For example, the ability to log into apps using your Facebook credentials is possible because of the Facebook API. The app you’re trying to log into will use the Facebook API to authenticate your account and provide the identification information while mitigating security risks

The Baremetrics API works similarly. By connecting our API to your other applications, you’re authorizing Baremetrics to automatically receive certain information. 


7 Cool Ways to Use the Baremetrics API

1. Connect non-supported providers 

To import data into Baremetrics and start seeing your metrics, you’ll need to connect a payment provider. 

Baremetrics currently offers integrations with Stripe, Braintree, Recurly, App Store Connect, Google Play, Shopify, and Chargebee.. If you are using one of those providers, you can sign up for Baremetrics and connect them right now

The Baremetrics API is a great solution for people who: 

  • Use a non-supported payment provider (anything other than the providers listed above)

  • Need to connect a non-supported provider in addition to a supported provider 

  • Want to normalize billing data from various payment provider(s)

Here’s our step-by-step guide for how to use the Baremetrics API for all tasks related to subscribers, plans, charges, refunds, segments, attributes, and more!  


2. Request Baremetrics data 

You can request both metrics and customer data to use outside the Baremetrics app. In this case, requesting essentially means the same thing as exporting. 

Using the API, you can request any of your metrics from a specific date or time period. For example, MRR from 8/1/2021 to 8/31/2021. 

These requests can be scheduled to happen automatically, which means less time needed to create reports. 

Best of all, this data can include data from different payment providers and is already normalized. This means your data is formatted in the same way for external reports, spreadsheets, or whatever you may need it for! 


3. Use Cancellation Insights 

Cancellation Insights is a powerful Baremetrics add-on feature. It automates the collection of cancellation data to help you better understand the reasons why customers leave. 

Cancellation Insights works in 4 steps. 

Step 1: Customer initiates the cancellation 

Step 2: A customized form prompts them to choose a reason for cancelling via in-app widget or email

Step 3: An automated follow-up email lands in their inbox to re-engage them

Step 4: Data is collected in the Cancellation Insights dashboard, identifying trends and opportunities. 

Here’s an explainer video if that’s more your jam!

The reasons mentioned in Step 2 are fully customizable. You can edit or delete reasons using the Cancellation Insights app, or using the API. 

The API support is ideal for folks who wish to capture this information while using their existing cancellation flow. 

The next four points will cover how the API brings in external information that enriches your customer data.

With rich customer data, you can create more detailed customer segments. More segments means more knowledge and insight into your sales and marketing funnels.


4. Visualize CRM data in your Baremetrics Dashboards

Customer Relationship Management tools are incredibly powerful. They help organize every step of the sales and marketing funnel, and keep detailed customer information in one place. 

Using the Baremetrics API, you can import customer information from CRMs into Baremetrics as attributes. More attributes means more possibilities to segment your customer base into specific groups.

For example, if your CRM is tracking which salespeople work with each customer, you could import the names of your sales representatives into Baremetrics and then see which sales person is facilitating the most revenue. 

Here’s another example. Let’s say your team uses Pipedrive and labels SaaS companies in your sales funnel as “SaaS.” Using the Baremetrics API, you could import this label as an attribute into Baremetrics. 

Then, you can see how much money you make off of SaaS companies vs. ecommerce vs. any other label you choose.

Doing this allows you to create customer segments and make instant comparisons in terms of MRR, LTV, or any of the 26+ metrics we track automatically. 


5. Track UTM data

UTMs, or Urchin Tracking Modules, are code snippets attached to the end of URLs. 

Marketers use UTMs to:

  • Track where leads come from 

  • Identify top-performing content 

  • Evaluate the efficacy of different campaigns

Using the Baremetrics API, you can create a custom attribute within the Baremetrics app, then import UTM information into the custom attribute of your customer’s profile. 

Then, you can segment customers by UTM to see from which channels you are getting your biggest and smallest customers from. 

Here’s what this looks like when it’s all done. This search filter is gathering customers who started a free trial from our blog homepage. 

6. Track and compare customer activity or specific behaviors

Some apps monitor customer activity within their app in the form of web sessions. Others will also monitor specific behaviors such as button clicks, or number of files uploaded. 

If there is some behaviour in your app, and it’s possible to define and tag that behavior, then you could import the data as an attribute in Baremetrics using the API. 

You could do inquiries into your data such as “MRR from customers who have uploaded more than three files to their account”.

You could also investigate the overlap between customer activity and LTV.  For example, what is the LTV of a customer who uses the product everyday vs. a customer who has only used the product once.


7. Import Stripe metadata 

Stripe users can import Stripe metadata to augment Baremetrics data. 

There are three ways to bring the metadata in, one of which uses the API. 

1. Using our Customer Augmentation tool

  • This process involves mapping fields from a CSV file using customer email.

  • Keep in mind you’ll need to import on a regular basis.

2. Using the API

  • This method allows you to map your customer information without customer email addresses. 

  • This is especially useful when you don’t have a customer’s email within Stripe since you can use the customer’s ID. 

  • Unlike the Customer Augmentation tool, the metadata will automatically import into Baremetrics. 

3. Using Intercom 


The Baremetrics API makes it easy to bring external data into Baremetrics. These are five valuable ways that our team and our customers use it, but the possibilities are endless. 

If you’re looking to try Baremetrics, start a free trial today. And if you’re a current user with a question about our API, reach out to us at We’re here to help make your data dreams come true 🙌

All the data your startup needs

Get deep insights into your company’s MRR, churn and other vital metrics for your SaaS business.

Lea LeBlanc

Lea is passionate about impactful businesses, good writing, and the stories founders have to tell. When she’s not writing about SaaS topics, you can find her trying new recipes in her tiny Tokyo kitchen.