curl --request POST \
--url 'https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey=' \
--header 'Content-Type: application/json' \
--data '
{
"recording_list": [
{
"isrc": "USRC17607839"
}
],
"territory_list": [
"US",
"GB"
],
"options": {
"exact_ownership": true
}
}
'import requests
url = "https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey="
payload = {
"recording_list": [{ "isrc": "USRC17607839" }],
"territory_list": ["US", "GB"],
"options": { "exact_ownership": True }
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
recording_list: [{isrc: 'USRC17607839'}],
territory_list: ['US', 'GB'],
options: {exact_ownership: true}
})
};
fetch('https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'recording_list' => [
[
'isrc' => 'USRC17607839'
]
],
'territory_list' => [
'US',
'GB'
],
'options' => [
'exact_ownership' => true
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey="
payload := strings.NewReader("{\n \"recording_list\": [\n {\n \"isrc\": \"USRC17607839\"\n }\n ],\n \"territory_list\": [\n \"US\",\n \"GB\"\n ],\n \"options\": {\n \"exact_ownership\": true\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey=")
.header("Content-Type", "application/json")
.body("{\n \"recording_list\": [\n {\n \"isrc\": \"USRC17607839\"\n }\n ],\n \"territory_list\": [\n \"US\",\n \"GB\"\n ],\n \"options\": {\n \"exact_ownership\": true\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"recording_list\": [\n {\n \"isrc\": \"USRC17607839\"\n }\n ],\n \"territory_list\": [\n \"US\",\n \"GB\"\n ],\n \"options\": {\n \"exact_ownership\": true\n }\n}"
response = http.request(request)
puts response.read_body{
"message": {
"header": {
"status_code": 200,
"execute_time": 0.411
},
"body": [
{
"title": "Rolling in the Deep",
"isrc": "USRC17607839",
"artist_list": [
"Adele"
],
"musical_work_list": [
{
"iswc": "T9214745718",
"ownership": {
"publisher_list": [
{
"name": "Universal Music Publishing Group",
"ipi": "00052210040",
"role": "E",
"mech_ownership_share": 50
}
],
"writer_list": [
{
"name": "Adele Adkins",
"ipi": "00528181729",
"role": "CA",
"mech_ownership_share": 50
},
{
"name": "Paul Epworth",
"ipi": null,
"role": "CA",
"mech_ownership_share": 50
}
]
},
"collection": [
{
"code": "US",
"mech_share": 50
},
{
"code": "GB",
"mech_share": 25
}
]
}
]
}
]
}
}{
"message": {
"header": {
"status_code": 123,
"execute_time": 123,
"hint": "<string>",
"hint_code": "invalid_request"
},
"body": [
"<unknown>"
]
}
}{
"message": {
"header": {
"status_code": 123,
"execute_time": 123,
"hint": "<string>",
"hint_code": "invalid_request"
},
"body": [
"<unknown>"
]
}
}{
"message": {
"header": {
"status_code": 123,
"execute_time": 123,
"hint": "<string>",
"hint_code": "invalid_request"
},
"body": [
"<unknown>"
]
}
}Get a recording's publishing in full
Up to 25 recordings by ISRC plus the territories to report collection for, the recordings’ musical works out in full: each work’s ISWC, its ownership as publisher and writer lists, and what is collectible in each requested territory.
territory_list scopes collection and nothing else - which works a recording resolves to does not depend on territory.
Shares come back as band labels. The precise numbers are a separately priced add-on: set options.exact_ownership if your key carries it, otherwise the option is a 403.
curl --request POST \
--url 'https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey=' \
--header 'Content-Type: application/json' \
--data '
{
"recording_list": [
{
"isrc": "USRC17607839"
}
],
"territory_list": [
"US",
"GB"
],
"options": {
"exact_ownership": true
}
}
'import requests
url = "https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey="
payload = {
"recording_list": [{ "isrc": "USRC17607839" }],
"territory_list": ["US", "GB"],
"options": { "exact_ownership": True }
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
recording_list: [{isrc: 'USRC17607839'}],
territory_list: ['US', 'GB'],
options: {exact_ownership: true}
})
};
fetch('https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'recording_list' => [
[
'isrc' => 'USRC17607839'
]
],
'territory_list' => [
'US',
'GB'
],
'options' => [
'exact_ownership' => true
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey="
payload := strings.NewReader("{\n \"recording_list\": [\n {\n \"isrc\": \"USRC17607839\"\n }\n ],\n \"territory_list\": [\n \"US\",\n \"GB\"\n ],\n \"options\": {\n \"exact_ownership\": true\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey=")
.header("Content-Type", "application/json")
.body("{\n \"recording_list\": [\n {\n \"isrc\": \"USRC17607839\"\n }\n ],\n \"territory_list\": [\n \"US\",\n \"GB\"\n ],\n \"options\": {\n \"exact_ownership\": true\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.musixmatch.com/ws/1.1/musicalwork.recording.details.search.post?apikey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"recording_list\": [\n {\n \"isrc\": \"USRC17607839\"\n }\n ],\n \"territory_list\": [\n \"US\",\n \"GB\"\n ],\n \"options\": {\n \"exact_ownership\": true\n }\n}"
response = http.request(request)
puts response.read_body{
"message": {
"header": {
"status_code": 200,
"execute_time": 0.411
},
"body": [
{
"title": "Rolling in the Deep",
"isrc": "USRC17607839",
"artist_list": [
"Adele"
],
"musical_work_list": [
{
"iswc": "T9214745718",
"ownership": {
"publisher_list": [
{
"name": "Universal Music Publishing Group",
"ipi": "00052210040",
"role": "E",
"mech_ownership_share": 50
}
],
"writer_list": [
{
"name": "Adele Adkins",
"ipi": "00528181729",
"role": "CA",
"mech_ownership_share": 50
},
{
"name": "Paul Epworth",
"ipi": null,
"role": "CA",
"mech_ownership_share": 50
}
]
},
"collection": [
{
"code": "US",
"mech_share": 50
},
{
"code": "GB",
"mech_share": 25
}
]
}
]
}
]
}
}{
"message": {
"header": {
"status_code": 123,
"execute_time": 123,
"hint": "<string>",
"hint_code": "invalid_request"
},
"body": [
"<unknown>"
]
}
}{
"message": {
"header": {
"status_code": 123,
"execute_time": 123,
"hint": "<string>",
"hint_code": "invalid_request"
},
"body": [
"<unknown>"
]
}
}{
"message": {
"header": {
"status_code": 123,
"execute_time": 123,
"hint": "<string>",
"hint_code": "invalid_request"
},
"body": [
"<unknown>"
]
}
}Authorizations
Body
The recordings to look up, 1 to 25. An ISRC is accepted hyphenated and in lower case. A row carries isrc and nothing else: any other property is a 400 on the whole request.
1 - 25 elementsShow child attributes
Show child attributes
The ISO-2 country codes to report collection shares for, at least one. Accepted in lower case.
1exact_ownership is the only key accepted. Any other is a 400.
Show child attributes
Show child attributes
Response
One entry per submitted recording, in request order.
Show child attributes
Show child attributes
Was this page helpful?