artist.search
curl --request GET \
--url 'https://api.musixmatch.com/ws/1.1/artist.search?apikey='import requests
url = "https://api.musixmatch.com/ws/1.1/artist.search?apikey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.musixmatch.com/ws/1.1/artist.search?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/artist.search?apikey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.musixmatch.com/ws/1.1/artist.search?apikey="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.musixmatch.com/ws/1.1/artist.search?apikey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.musixmatch.com/ws/1.1/artist.search?apikey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"message": {
"body": {
"artist_list": [
{
"artist": {
"artist_alias_list": [
{
"artist_alias": "テイラー・スウィフト"
},
{
"artist_alias": "泰勒·史薇芙特"
},
{
"artist_alias": "Taylor Alison Swift"
},
{
"artist_alias": "fu ci"
},
{
"artist_alias": "da Z"
},
{
"artist_alias": "Taylor Swift"
},
{
"artist_alias": "Lew"
}
],
"artist_comment": "",
"artist_country": "US",
"artist_credits": {
"artist_list": []
},
"artist_id": 259675,
"artist_name": "Taylor Swift",
"artist_name_translation_list": [
{
"artist_name_translation": {
"language": "JA",
"translation": "テイラー・スウィフト"
}
}
],
"artist_twitter_url": "https://twitter.com/taylorswift13",
"begin_date": "1989-00-00",
"begin_date_year": "1989",
"end_date": "0000-00-00",
"end_date_year": "",
"restricted": 0,
"updated_time": "2024-03-07T04:07:57Z"
}
},
{
"artist": {
"artist_alias_list": [],
"artist_comment": "",
"artist_country": "",
"artist_credits": {
"artist_list": []
},
"artist_id": 37263159,
"artist_name": "Taylor Swift & ZAYN",
"artist_name_translation_list": [],
"artist_twitter_url": "",
"begin_date": "0000-00-00",
"begin_date_year": "",
"end_date": "0000-00-00",
"end_date_year": "",
"restricted": 0,
"updated_time": "2018-12-03T17:58:48Z"
}
},
{
"artist": {
"artist_alias_list": [],
"artist_comment": "",
"artist_country": "",
"artist_credits": {
"artist_list": []
},
"artist_id": 33333395,
"artist_name": "Taylor Swift & Hardwell",
"artist_name_translation_list": [],
"artist_twitter_url": "",
"begin_date": "0000-00-00",
"begin_date_year": "",
"end_date": "0000-00-00",
"end_date_year": "",
"restricted": 0,
"updated_time": "2017-03-22T23:26:27Z"
}
}
]
},
"header": {
"available": 209,
"execute_time": 0.0055232048034668,
"status_code": 200
}
}
}Lyrics & Catalog
artist.search
Search for artists in our database.
GET
/
ws
/
1.1
/
artist.search
artist.search
curl --request GET \
--url 'https://api.musixmatch.com/ws/1.1/artist.search?apikey='import requests
url = "https://api.musixmatch.com/ws/1.1/artist.search?apikey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.musixmatch.com/ws/1.1/artist.search?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/artist.search?apikey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.musixmatch.com/ws/1.1/artist.search?apikey="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.musixmatch.com/ws/1.1/artist.search?apikey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.musixmatch.com/ws/1.1/artist.search?apikey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"message": {
"body": {
"artist_list": [
{
"artist": {
"artist_alias_list": [
{
"artist_alias": "テイラー・スウィフト"
},
{
"artist_alias": "泰勒·史薇芙特"
},
{
"artist_alias": "Taylor Alison Swift"
},
{
"artist_alias": "fu ci"
},
{
"artist_alias": "da Z"
},
{
"artist_alias": "Taylor Swift"
},
{
"artist_alias": "Lew"
}
],
"artist_comment": "",
"artist_country": "US",
"artist_credits": {
"artist_list": []
},
"artist_id": 259675,
"artist_name": "Taylor Swift",
"artist_name_translation_list": [
{
"artist_name_translation": {
"language": "JA",
"translation": "テイラー・スウィフト"
}
}
],
"artist_twitter_url": "https://twitter.com/taylorswift13",
"begin_date": "1989-00-00",
"begin_date_year": "1989",
"end_date": "0000-00-00",
"end_date_year": "",
"restricted": 0,
"updated_time": "2024-03-07T04:07:57Z"
}
},
{
"artist": {
"artist_alias_list": [],
"artist_comment": "",
"artist_country": "",
"artist_credits": {
"artist_list": []
},
"artist_id": 37263159,
"artist_name": "Taylor Swift & ZAYN",
"artist_name_translation_list": [],
"artist_twitter_url": "",
"begin_date": "0000-00-00",
"begin_date_year": "",
"end_date": "0000-00-00",
"end_date_year": "",
"restricted": 0,
"updated_time": "2018-12-03T17:58:48Z"
}
},
{
"artist": {
"artist_alias_list": [],
"artist_comment": "",
"artist_country": "",
"artist_credits": {
"artist_list": []
},
"artist_id": 33333395,
"artist_name": "Taylor Swift & Hardwell",
"artist_name_translation_list": [],
"artist_twitter_url": "",
"begin_date": "0000-00-00",
"begin_date_year": "",
"end_date": "0000-00-00",
"end_date_year": "",
"restricted": 0,
"updated_time": "2017-03-22T23:26:27Z"
}
}
]
},
"header": {
"available": 209,
"execute_time": 0.0055232048034668,
"status_code": 200
}
}
}Authorizations
Query Parameters
The song artist.
Example:
"Taylor Swift"
When set, filters by this artist ID.
Example:
"259675"
Decide the output type (json or xml).
Example:
"json"
Define the page number for paginated results.
Example:
"1"
Define the page size for paginated results. The allowed range is 1 to 100.
Example:
"3"
Response
200 - application/json
200 OK / 401 Unauthorized
Show child attributes
Show child attributes
Was this page helpful?
⌘I