Get a Track
GET
http
https://api.atomic.radio/tracks/:trackId
https://api.atomic.radio/tracks/:trackId
Returns a track object for a given track ID.
Track Structure
Field | Type | Description |
---|---|---|
id | String | The id of the track |
artist | String | The artist of the track |
contributors | String | The contributors of the track |
title | String | The title of the track |
album? | String | The album of the track |
type | String | The type of the track |
spaces | String[] | Track is assigned to these Spaces |
downvotes | Number | The downvotes of the track |
genre | String | The genre of the track |
release | String | Release date of the track |
release_year | Number | Release year of the track |
duration | Number | The duration of the track in seconds |
label | String | The label of the track |
isrc | String | International Standard Recording Code |
external_ids | ExternalProviders | Ids to other streaming providers |
external_urls | ExternalProviders | URLs to other streaming providers |
artwork | String | The artwork of the track as a url |
preview? | String | The audio preview of the track as a url |
preview_video? | String | The video preview of the track as a url |
tags | TrackTags | |
powerintro | Boolean | |
uploadedBy | String | Account id from which the track was uploaded |
updatedBy | String | Account id from which the last change came |
createdAt | Date | When was the track uploaded |
updatedAt | Date | When was the last change |
Example Track Structure
json
{
"id": "6979068887824338944",
"artist": "Michael Calfan feat. Coldabank",
"contributors": "Guillaume Banet, Joachim Gabriel Walker, Joe Murphy, Jonty Howard & Michael Calfan",
"title": "Silhouette",
"album": null,
"type": "Single",
"spaces": [
"one"
],
"downvotes": 0,
"genre": "Dance",
"release": "10.12.2021",
"release_year": 2021,
"duration": 176,
"label": "Spinnin' Records",
"isrc": "NLZ542101821",
"external_ids": {
"spotify": "4u39BXMRUJ9Xqqaj6l9gN6",
"appleMusic": "1595704230;1595704387",
"deezer": "1554899482",
"youtube": "V8ucNYu5IXI",
"amazonMusic": "B09LXRG7J4;B09LXJV1XD",
"tidal": "205236492",
"soundcloud": "1166525170"
},
"external_urls": {
"spotify": "https://open.spotify.com/track/4u39BXMRUJ9Xqqaj6l9gN6?autoplay=true",
"appleMusic": "https://music.apple.com/album/1595704230?i=1595704387",
"deezer": "https://www.deezer.com/track/1554899482?autoplay=true",
"youtube": "https://music.youtube.com/watch?v=V8ucNYu5IXI&feature=gws_kp_track",
"amazonMusic": "https://music.amazon.com/albums/B09LXRG7J4?trackAsin=B09LXJV1XD&do=play",
"tidal": "https://listen.tidal.com/track/205236492",
"soundcloud": "https://w.soundcloud.com/player/?url=https://api.soundcloud.com/tracks/1166525170"
},
"artwork": "https://assets.atomic.radio/tracks/artworks/6979068887824338944.jpg",
"preview": "https://assets.atomic.radio/tracks/previews/6979068887824338944.aac",
"preview_video": "https://assets.atomic.radio/tracks/previews/6979068887824338944.mp4",
"tags": {
"intro": 63820,
"hookin": 65770,
"outro": null,
"hookout": 80870,
"mix": 173746
},
"powerintro": false,
"uploadedBy": "6911310571312779264",
"updatedBy": "6863157683894095872",
"createdAt": "2022-09-23T13:28:07.687Z",
"updatedAt": "2022-12-29T21:38:23.950Z"
}
{
"id": "6979068887824338944",
"artist": "Michael Calfan feat. Coldabank",
"contributors": "Guillaume Banet, Joachim Gabriel Walker, Joe Murphy, Jonty Howard & Michael Calfan",
"title": "Silhouette",
"album": null,
"type": "Single",
"spaces": [
"one"
],
"downvotes": 0,
"genre": "Dance",
"release": "10.12.2021",
"release_year": 2021,
"duration": 176,
"label": "Spinnin' Records",
"isrc": "NLZ542101821",
"external_ids": {
"spotify": "4u39BXMRUJ9Xqqaj6l9gN6",
"appleMusic": "1595704230;1595704387",
"deezer": "1554899482",
"youtube": "V8ucNYu5IXI",
"amazonMusic": "B09LXRG7J4;B09LXJV1XD",
"tidal": "205236492",
"soundcloud": "1166525170"
},
"external_urls": {
"spotify": "https://open.spotify.com/track/4u39BXMRUJ9Xqqaj6l9gN6?autoplay=true",
"appleMusic": "https://music.apple.com/album/1595704230?i=1595704387",
"deezer": "https://www.deezer.com/track/1554899482?autoplay=true",
"youtube": "https://music.youtube.com/watch?v=V8ucNYu5IXI&feature=gws_kp_track",
"amazonMusic": "https://music.amazon.com/albums/B09LXRG7J4?trackAsin=B09LXJV1XD&do=play",
"tidal": "https://listen.tidal.com/track/205236492",
"soundcloud": "https://w.soundcloud.com/player/?url=https://api.soundcloud.com/tracks/1166525170"
},
"artwork": "https://assets.atomic.radio/tracks/artworks/6979068887824338944.jpg",
"preview": "https://assets.atomic.radio/tracks/previews/6979068887824338944.aac",
"preview_video": "https://assets.atomic.radio/tracks/previews/6979068887824338944.mp4",
"tags": {
"intro": 63820,
"hookin": 65770,
"outro": null,
"hookout": 80870,
"mix": 173746
},
"powerintro": false,
"uploadedBy": "6911310571312779264",
"updatedBy": "6863157683894095872",
"createdAt": "2022-09-23T13:28:07.687Z",
"updatedAt": "2022-12-29T21:38:23.950Z"
}