Skip to main content
GET
/
royalty
/
lifecycle
Get a track's royalty lifecycle since release
curl --request GET \
  --url https://api.royalti.io/royalty/lifecycle \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.royalti.io/royalty/lifecycle"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.royalti.io/royalty/lifecycle', 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.royalti.io/royalty/lifecycle",
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.royalti.io/royalty/lifecycle"

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.royalti.io/royalty/lifecycle")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.royalti.io/royalty/lifecycle")

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
{
  "results": [
    {
      "assetId": "42",
      "ISRC": "USRC17607839",
      "Track_Title": "Hit Single",
      "releaseDate": "2025-01-15",
      "anchorSource": "release-date",
      "monthsSinceRelease": 0,
      "Royalty": 120.5,
      "Count": 12000
    },
    {
      "assetId": "42",
      "ISRC": "USRC17607839",
      "Track_Title": "Hit Single",
      "releaseDate": "2025-01-15",
      "anchorSource": "release-date",
      "monthsSinceRelease": 1,
      "Royalty": 340.2,
      "Count": 34000
    }
  ],
  "reason": null
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Get a track’s royalty lifecycle since release Charts royalty and count per month-since-release for one or more tracks, anchored at the track’s release date (or, if unavailable, its first observed sale — see anchorSource). Requires at least one of isrc or assetId. Unlike the other royalty endpoints, start/end do not scope this endpoint — it always returns full track history so the lifecycle curve isn’t clipped. Dimension filters such as country and dsp are still applied. Authorization:
  • Required role: user or higher

Code Examples

const response = await fetch('https://api.royalti.io/royalty/lifecycle', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

const data = await response.json();
console.log(data);
import requests

response = requests.get(
  'https://api.royalti.io/royalty/lifecycle',
  headers={
    'Authorization': f'Bearer {token}'
  },
)

data = response.json()
print(data)
curl -X GET https://api.royalti.io/royalty/lifecycle \
  -H "Authorization: Bearer YOUR_TOKEN" \

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Query Parameters

isrc
string

Comma-separated list of ISRCs to chart. At least one of isrc or assetId is required. Non-alphanumeric characters are stripped and the value upper-cased; de-duplicated and capped at 50 ISRCs total

assetId
string

Comma-separated list of asset IDs to chart. Resolved to ISRCs via a tenant-scoped catalog lookup. At least one of isrc or assetId is required

user
string<uuid>

Filters the data by user. Specifies a user ID. A single UUID switches the response into per-member (splits-attributed) mode

country
string

Filter the data by country. Comma-separated values

dsp
string

Filters by DSP (Digital Service Provider). Comma-separated values

Response

Successfully retrieved the lifecycle series (or an empty results with reason set if nothing could be charted)

results
object[]
reason
enum<string> | null

Set when results is empty, explaining why. Null on a normal populated response

Available options:
no-isrc-input,
no-anchor-date,
no-sales-rows