Artists & Tracks

Query by ID

Query a Track or Artist by ID.

Endpoints

GET https://mutation.prepr.io/v5/artists/{id}
GET https://mutation.prepr.io/v5/tracks/{id}

Response

{
    "id": "52869266-aeaf-469f-973c-9c54254b009f",
    "created_on": "2023-05-31T04:26:42+00:00",
    "changed_on": "2023-05-31T04:26:47+00:00",
    "published_on": "2023-05-31T04:26:46+00:00",
    "unpublish_on": null,
    "published_on_int": 1685507206,
    "label": "Track",
    "status": "published",
    "artist_text": "Froukje",
    "body": "Naar het licht",
    "reference_unique": "Ker20250531a"
}

Arguments

The following arguments are available when querying a track or artist:

argumenttypedescription
fieldsStringExpanding of extra fields.

Expanding fields

For artists: custom, tracks, musicbrainzartists, cover, tags.
For tracks: custom, artists, musicbrainztracks, spotifytracks, applemusictracks, cover, tags.

MusicBrainz

For Artists

{
    "id": "611700cf-27f0-4dc9-ae80-c513a767853e",
    "created_on": "2018-05-15T11:46:10+00:00",
    "changed_on": "2018-05-15T11:46:14+00:00",
    "label": "MusicBrainzArtist",
    "body": "Michael Bublé",
    "gender": "male",
    "url": "http://www.michaelbuble.com/",
    "summary": "Michael Steven Bublé (born 9 September 1975 in Burnaby, British Columbia) is a Canadian singer and actor.",
    "biography": "Michael Steven Bublé (born 9 September 1975 in Burnaby, British Columbia) is a Canadian singer and actor. He has won several awards, including three Grammy Awards and multiple Juno Awards. His first album reached the top ten in the United Kingdom and his home country of Canada. He found worldwide commercial success with his 2005 album It's Time, and his 2007 album Call Me Irresponsible was an even bigger success, reaching number one on the Canadian Albums Chart, the U.S. Billboard 200 chart, the Australian ARIA Albums Chart and the European charts."
}

For Tracks

{
    "id": "8ca3832b-8c98-4049-890a-7bbac2faea5f",
    "created_on": "2018-07-04T14:25:12+00:00",
    "changed_on": "2018-07-04T14:25:12+00:00",
    "label": "MusicBrainzTrack",
    "body": "Feeling Good",
    "duration": 237026
}

Spotify

{
    "id": "3I09LQbHS3NSU46Ly3tPpR",
    "created_on": "2018-05-31T12:23:35+00:00",
    "changed_on": "2018-05-31T12:23:35+00:00",
    "label": "SpotifyTrack",
    "body": "Feeling Good",
    "release_date": "2005-02-07",
    "duration": 237333,
    "explicit": false,
    "popularity": 63,
    "isrc": "USRE10401889",
    "url": "https://open.spotify.com/track/3I09LQbHS3NSU46Ly3tPpR",
    "cover_url": "https://i.scdn.co/image/75a0f801d0c3e620462bb13d7f87bbeff2d4a0cf",
    "preview_url": "https://p.scdn.co/mp3-preview/31fc9f95c681542af33e72bda7baa4951117dccd?cid=19f7f13455664bcab5373cb63d176694"
}

AppleMusic

{
    "id": "668403541",
    "created_on": "2018-05-31T12:23:33+00:00",
    "changed_on": "2018-05-31T12:23:33+00:00",
    "label": "AppleMusicTrack",
    "body": "Feeling Good",
    "release_date": "2005-02-08",
    "url": "https://itunes.apple.com/nl/album/feeling-good/668403538?i=668403541&uo=4",
    "cover_url": "https://is4-ssl.mzstatic.com/image/thumb/Music4/v4/66/f1/03/66f103b6-0c09-7c52-eb7c-01d53bfb8f1d/source/100x100bb.jpg",
    "preview_url": "https://audio-ssl.itunes.apple.com/apple-assets-us-std-000001/Music4/v4/9d/5d/85/9d5d8540-4dbb-155a-7f49-fc6f0e601760/mzaf_777572580901849500.plus.aac.p.m4a"
}