Mrr Report Api
curl --request GET \
--url https://api.justpaid.io/api/v1/metrics/mrr \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.justpaid.io/api/v1/metrics/mrr"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.justpaid.io/api/v1/metrics/mrr', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.justpaid.io/api/v1/metrics/mrr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.justpaid.io/api/v1/metrics/mrr"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.justpaid.io/api/v1/metrics/mrr")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.justpaid.io/api/v1/metrics/mrr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"request_id": "req_abc123def456",
"data": [
{
"name": "New MRR",
"values": [
{
"year": 2025,
"month": 1,
"amount": 5000.5
},
{
"year": 2025,
"month": 2,
"amount": 6200.75
}
]
},
{
"name": "Churn MRR",
"values": [
{
"year": 2025,
"month": 1,
"amount": -500
},
{
"year": 2025,
"month": 2,
"amount": -300
}
]
}
]
}{
"request_id": "req_abc123def456",
"error_code": "INVALID_INPUT",
"detail": [
{
"type": "less_than_equal",
"message": "Input should be less than or equal to 60",
"field": "months_ahead"
}
]
}{
"request_id": "req_abc123def456",
"error_code": "AUTHENTICATION_ERROR",
"message": "Authentication failed"
}{
"request_id": "req_abc123def456",
"error_code": "INTERNAL_SERVER_ERROR",
"message": "An unexpected error occurred"
}Metrics
Mrr Report Api
Retrieve Monthly Recurring Revenue (MRR) metrics report. This endpoint provides comprehensive MRR analytics including: MRR Beginning of Period, New MRR, Churn MRR, Expansion MRR, Contraction MRR, MRR End of Period, ARR, MRR Change, and Net Revenue Retention (NRR). Data is grouped by metric type for easy integration with dashboards and analytics tools.
GET
/
api
/
v1
/
metrics
/
mrr
Mrr Report Api
curl --request GET \
--url https://api.justpaid.io/api/v1/metrics/mrr \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.justpaid.io/api/v1/metrics/mrr"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.justpaid.io/api/v1/metrics/mrr', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.justpaid.io/api/v1/metrics/mrr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.justpaid.io/api/v1/metrics/mrr"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.justpaid.io/api/v1/metrics/mrr")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.justpaid.io/api/v1/metrics/mrr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"request_id": "req_abc123def456",
"data": [
{
"name": "New MRR",
"values": [
{
"year": 2025,
"month": 1,
"amount": 5000.5
},
{
"year": 2025,
"month": 2,
"amount": 6200.75
}
]
},
{
"name": "Churn MRR",
"values": [
{
"year": 2025,
"month": 1,
"amount": -500
},
{
"year": 2025,
"month": 2,
"amount": -300
}
]
}
]
}{
"request_id": "req_abc123def456",
"error_code": "INVALID_INPUT",
"detail": [
{
"type": "less_than_equal",
"message": "Input should be less than or equal to 60",
"field": "months_ahead"
}
]
}{
"request_id": "req_abc123def456",
"error_code": "AUTHENTICATION_ERROR",
"message": "Authentication failed"
}{
"request_id": "req_abc123def456",
"error_code": "INTERNAL_SERVER_ERROR",
"message": "An unexpected error occurred"
}Authorizations
Query Parameters
Response
MRR report retrieved successfully
Complete MRR report response.
Contains all 9 MRR metric types, each with their time series values. Data is grouped by metric type (not by month) for easier consumption in dashboards.
Was this page helpful?
