curl --request POST \
--url 'https://api.musixmatch.com/ws/1.1/musicalwork.search.post?apikey=' \
--header 'Content-Type: application/json' \
--data '
{
"writer": {
"ipi": "00528181729"
}
}
'import requests
url = "https://api.musixmatch.com/ws/1.1/musicalwork.search.post?apikey="
payload = { "writer": { "ipi": "00528181729" } }
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({writer: {ipi: '00528181729'}})
};
fetch('https://api.musixmatch.com/ws/1.1/musicalwork.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.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([
'writer' => [
'ipi' => '00528181729'
]
]),
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.search.post?apikey="
payload := strings.NewReader("{\n \"writer\": {\n \"ipi\": \"00528181729\"\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.search.post?apikey=")
.header("Content-Type", "application/json")
.body("{\n \"writer\": {\n \"ipi\": \"00528181729\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.musixmatch.com/ws/1.1/musicalwork.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 \"writer\": {\n \"ipi\": \"00528181729\"\n }\n}"
response = http.request(request)
puts response.read_body{
"message": {
"header": {
"status_code": 200,
"execute_time": 0.147
},
"body": {
"pagination": {
"available": 312,
"returned_elements": 25,
"current_page": 1,
"page_size": 25,
"total_pages": 13
},
"result_list": [
{
"iswc": "T9214745718",
"title": "Rolling in the Deep"
},
{
"iswc": "T9053393649",
"title": "Someone Like You"
}
]
}
}
}{
"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>"
]
}
}Search musical works by writer
One writer IPI in, the musical works credited to that party out, 25 to a page.
Credit, not ownership: no shares, no territory, no administrators, no recordings. The ISWC is the row’s identity, so take it into the other two musical-work methods for the full picture. No governing registration is required here, so some ISWCs returned will yield nothing there.
A publisher IPI answers with an empty list rather than the catalogue it administers: this method reports writer credit only. An IPI we hold nothing for is likewise an empty list, never a 404.
The first 400 pages (10,000 registrations) of a writer are servable; past that the request is a 400 with hint_code page_unreachable.
curl --request POST \
--url 'https://api.musixmatch.com/ws/1.1/musicalwork.search.post?apikey=' \
--header 'Content-Type: application/json' \
--data '
{
"writer": {
"ipi": "00528181729"
}
}
'import requests
url = "https://api.musixmatch.com/ws/1.1/musicalwork.search.post?apikey="
payload = { "writer": { "ipi": "00528181729" } }
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({writer: {ipi: '00528181729'}})
};
fetch('https://api.musixmatch.com/ws/1.1/musicalwork.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.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([
'writer' => [
'ipi' => '00528181729'
]
]),
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.search.post?apikey="
payload := strings.NewReader("{\n \"writer\": {\n \"ipi\": \"00528181729\"\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.search.post?apikey=")
.header("Content-Type", "application/json")
.body("{\n \"writer\": {\n \"ipi\": \"00528181729\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.musixmatch.com/ws/1.1/musicalwork.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 \"writer\": {\n \"ipi\": \"00528181729\"\n }\n}"
response = http.request(request)
puts response.read_body{
"message": {
"header": {
"status_code": 200,
"execute_time": 0.147
},
"body": {
"pagination": {
"available": 312,
"returned_elements": 25,
"current_page": 1,
"page_size": 25,
"total_pages": 13
},
"result_list": [
{
"iswc": "T9214745718",
"title": "Rolling in the Deep"
},
{
"iswc": "T9053393649",
"title": "Someone Like You"
}
]
}
}
}{
"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
Query Parameters
The 1-based page to return. A page past the end is an empty result_list, not an error.
x >= 1Body
Show child attributes
Show child attributes
Response
One page of the writer's works. available counts registrations, which runs ahead of the distinct ISWCs a page renders.
Show child attributes
Show child attributes
Was this page helpful?