artist.get
curl --request GET \
--url 'https://api.musixmatch.com/ws/1.1/artist.get?apikey='import requests
url = "https://api.musixmatch.com/ws/1.1/artist.get?apikey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.musixmatch.com/ws/1.1/artist.get?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.get?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.get?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.get?apikey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.musixmatch.com/ws/1.1/artist.get?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": {
"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"
}
},
"header": {
"execute_time": 0.0054030418395996,
"status_code": 200
}
}
}Lyrics & Catalog
artist.get
Get the artist data from our database.
GET
/
ws
/
1.1
/
artist.get
artist.get
curl --request GET \
--url 'https://api.musixmatch.com/ws/1.1/artist.get?apikey='import requests
url = "https://api.musixmatch.com/ws/1.1/artist.get?apikey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.musixmatch.com/ws/1.1/artist.get?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.get?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.get?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.get?apikey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.musixmatch.com/ws/1.1/artist.get?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": {
"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"
}
},
"header": {
"execute_time": 0.0054030418395996,
"status_code": 200
}
}
}Was this page helpful?
⌘I