curl --request GET \
--url https://api.royalti.io/artist/ \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"artistName": "<string>",
"signDate": "2023-12-25",
"label": "<string>",
"publisher": "<string>",
"copyright": "<string>",
"externalId": "<string>",
"artistImg": "<string>",
"links": {
"spotify": "https://open.spotify.com/artist/...",
"instagram": "@artisthandle",
"youtube": "https://youtube.com/@artist"
},
"contributors": {},
"TenantId": 123,
"realName": "<string>",
"pseudonyms": [
"<string>"
],
"birthDate": "2023-12-25",
"birthPlace": "<string>",
"biography": "<string>",
"influences": [
"<string>"
],
"chartHistory": [
{}
],
"socialMediaVerified": {
"instagram": true,
"twitter": false
},
"genres": [
"<string>"
],
"instruments": [
"<string>"
],
"activeYears": "<string>",
"associatedActs": [
"<string>"
],
"recordingName": "<string>",
"nationality": "<string>",
"gender": "<string>",
"website": "<string>",
"fanClubUrl": "<string>",
"managementInfo": {},
"bookingInfo": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"totalItems": 123,
"totalPages": 123,
"currentPage": 123,
"pageSize": 123
}
}/artist/
curl --request GET \
--url https://api.royalti.io/artist/ \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"artistName": "<string>",
"signDate": "2023-12-25",
"label": "<string>",
"publisher": "<string>",
"copyright": "<string>",
"externalId": "<string>",
"artistImg": "<string>",
"links": {
"spotify": "https://open.spotify.com/artist/...",
"instagram": "@artisthandle",
"youtube": "https://youtube.com/@artist"
},
"contributors": {},
"TenantId": 123,
"realName": "<string>",
"pseudonyms": [
"<string>"
],
"birthDate": "2023-12-25",
"birthPlace": "<string>",
"biography": "<string>",
"influences": [
"<string>"
],
"chartHistory": [
{}
],
"socialMediaVerified": {
"instagram": true,
"twitter": false
},
"genres": [
"<string>"
],
"instruments": [
"<string>"
],
"activeYears": "<string>",
"associatedActs": [
"<string>"
],
"recordingName": "<string>",
"nationality": "<string>",
"gender": "<string>",
"website": "<string>",
"fanClubUrl": "<string>",
"managementInfo": {},
"bookingInfo": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"totalItems": 123,
"totalPages": 123,
"currentPage": 123,
"pageSize": 123
}
}GET
Query Parameters:
| Parameter | Required | Description |
|---|---|---|
| artistName | No | Filter artists by their name. |
| externalId | No | Filter artists by their external ID. |
| page | No | Specifies the page number for pagination. |
| size | No | Specifies the number of artists per page. |
| catalog | No | Specifies whether to include catalog information. |
| q | No | Searches for artists using a keyword. |
| statistics | No | Whether to include statistical data. |
| sort | No | Field to sort by. |
| order | No | Sort order (asc or desc). |
| attributes | No | Comma-separated list of attributes to include. |
| column | No | Specific column to filter. |
| user | No | Filter by user ID. |
const response = await fetch('https://api.royalti.io/artist/', {
method: 'GET',
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Filter artists by their name
Filter artists by external ID
Page number for pagination
Number of items per page
Include catalog information
Search query
Include statistical data
Field to sort by
Sort order
asc, desc Comma-separated list of attributes to include
Specific column to filter
Filter by user ID