GET
/
royalty
/
Get Royalties Summary
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/royalty/ \
  --header 'Authorization: Bearer <token>'
{
  "Downloads": 346,
  "Downloads_Royalty": 254.1417457142854,
  "Streams": 3829026,
  "Streams_Royalty": 5918.037849377966,
  "Royalty": 6172.192400092238,
  "Count": 3829380,
  "RoyaltyPercentage": "15.97%",
  "CountPercentage": "-30.24%",
  "RatePer1K": "1.61",
  "PreviousRoyalty": 5322.112098999766,
  "PreviousCount": 5489506
}

Authorizations

Authorization
string
header
required

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

Query Parameters

artists
string

Filters the data by artist. Comma-separated list of artist IDs

user
string<uuid>

Filters the data by user. Specifies a user ID

country
string

Filter the data by country. Comma-separated values

dsp
string

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

start
string<date>

Start date of the period (YYYY-MM-DD format)

end
string<date>

End date of the period (YYYY-MM-DD format)

type
string

Filters by sale type. Comma-separated values

aggregator
string

Filters by aggregator. Comma-separated values

upc
string

Filters by UPC (Universal Product Code). Comma-separated values

isrc
string

Filters by ISRC (International Standard Recording Code). Comma-separated values

includePreviousPeriod
string

Includes analytical data for percentage change

periodFilterType
enum<string>

Filters by either 'accounting' or 'sale' period

Available options:
accounting,
sale

Response

200
application/json

Successfully retrieved royalty summary

The response is of type object.