Skip to main content
GET
/
artist
/
{id}
/
assets
Get Artist Assets
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id}/assets \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "123",
    "title": "Song Title",
    "isrc": "USABC1234567",
    "status": "published",
    "splitCount": 3,
    "count": 15000,
    "royalty": 2500.75,
    "Products": [
      {
        "id": "prod-456",
        "upc": "123456789012",
        "title": "Album Title",
        "isDraft": false
      }
    ],
    "Artists": [
      {
        "id": "456",
        "artistName": "Main Artist",
        "type": "primary"
      }
    ]
  }
]
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/artist/example-id/assets', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

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

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Artist ID

Query Parameters

page
integer
default:1

Page number for pagination

size
integer
default:10

Number of assets per page

type
string

Filter by asset type

Response

Success

id
string

Unique identifier of the asset

title
string

Title of the asset

isrc
string

ISRC code of the asset

status
enum<string>

Current status of the asset

Available options:
draft,
published,
archived
splitCount
integer

Number of splits associated with this asset

count
number

Total play/stream count across all platforms

royalty
number

Total royalties generated by this asset

Products
object[]
Artists
object[]