musicalwork.recording.details.search.post
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,
"perf_ownership_share": 50,
"sync_ownership_share": 50
}
],
"writer_list": [
{
"name": "Adele Adkins",
"ipi": "00528181729",
"role": "CA",
"mech_ownership_share": 50,
"perf_ownership_share": 50,
"sync_ownership_share": 50
},
{
"name": "Paul Epworth",
"ipi": null,
"role": "CA",
"mech_ownership_share": 50,
"perf_ownership_share": 50,
"sync_ownership_share": 50
}
]
},
"collection": [
{
"code": "US",
"mech_share": 50,
"perf_share": 50,
"sync_share": 50
},
{
"code": "GB",
"mech_share": 25,
"perf_share": 25,
"sync_share": null
}
]
}
]
}
]
}
}{
"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>"
]
}
}Musical work
musicalwork.recording.details.search.post
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 (0-30, 30-70, 70-100). With options.exact_ownership they carry the precise figure instead. That is a separately priced add-on: an apikey without it gets a 403 for the option, not a band.
POST
/
ws
/
1.1
/
musicalwork.recording.details.search.post
musicalwork.recording.details.search.post
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,
"perf_ownership_share": 50,
"sync_ownership_share": 50
}
],
"writer_list": [
{
"name": "Adele Adkins",
"ipi": "00528181729",
"role": "CA",
"mech_ownership_share": 50,
"perf_ownership_share": 50,
"sync_ownership_share": 50
},
{
"name": "Paul Epworth",
"ipi": null,
"role": "CA",
"mech_ownership_share": 50,
"perf_ownership_share": 50,
"sync_ownership_share": 50
}
]
},
"collection": [
{
"code": "US",
"mech_share": 50,
"perf_share": 50,
"sync_share": 50
},
{
"code": "GB",
"mech_share": 25,
"perf_share": 25,
"sync_share": null
}
]
}
]
}
]
}
}{
"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>"
]
}
}Body
application/json
Was this page helpful?