Skip to main content
POST
/
artist
/
download
/
csv
Download Artists CSV
curl --request POST \
  --url https://api.royalti.io/artist/download/csv \
  --header 'Authorization: Bearer <token>'
"<string>"
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

artist/download/csv Description:
The /artist/download/csv endpoint allows downloading a CSV file containing artist data.
Method:
GET
Query Parameters:
ParameterTypeDescription
q (Optional)stringSearch query to filter artists in the CSV.
user (Optional)stringFilter by user ID(s).

Code Examples

const response = await fetch('https://api.royalti.io/artist/download/csv', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({})
});

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

Authorizations

Authorization
string
header
required

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

Query Parameters

q
string

Search query to filter artists in the CSV

user
string

Filter by user ID(s)

Response

Success

The response is of type file.