curl --request GET \
--url https://api.recoupable.dev/api/research/lookupimport requests
url = "https://api.recoupable.dev/api/research/lookup"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.recoupable.dev/api/research/lookup', 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.recoupable.dev/api/research/lookup",
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.recoupable.dev/api/research/lookup"
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.recoupable.dev/api/research/lookup")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.recoupable.dev/api/research/lookup")
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{
"status": "success",
"result": "success",
"message": "Data Retrieved.",
"artist_info": {
"name": "<string>",
"avatar": "<string>",
"site_url": "<string>",
"country": "<string>",
"bio": "<string>",
"genres": [
"<string>"
],
"links": [
{
"source": "<string>",
"external_id": "<string>",
"url": "<string>",
"isrc": "<string>"
}
],
"related_artists": [
{
"id": "wjcgfd9i",
"name": "Drake",
"avatar": "<string>",
"site_url": "<string>"
}
]
},
"id": "<string>"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"error": "insufficient_credits",
"remaining_credits": 0,
"required_credits": 50000,
"billingUrl": "https://app.recoupable.dev"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Request failed with status 501"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}Lookup by URL
Resolve a Spotify artist URL or ID through Recoup Research. Supply spotifyId (22 alphanumeric characters) or a Spotify artist url; a nonempty spotifyId takes precedence. Apple Music URLs and Recoup account UUIDs are not accepted. Available artist metadata is returned; an id is included when the artist identifier can be resolved.
Use your Recoup API key (x-api-key) or supported bearer credential. Successful artist and track research reads cost $0.05 (50,000 micro-dollar credits). Recoup manages the data connections. Coverage and rate limits vary; see Research availability.
curl --request GET \
--url https://api.recoupable.dev/api/research/lookupimport requests
url = "https://api.recoupable.dev/api/research/lookup"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.recoupable.dev/api/research/lookup', 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.recoupable.dev/api/research/lookup",
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.recoupable.dev/api/research/lookup"
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.recoupable.dev/api/research/lookup")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.recoupable.dev/api/research/lookup")
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{
"status": "success",
"result": "success",
"message": "Data Retrieved.",
"artist_info": {
"name": "<string>",
"avatar": "<string>",
"site_url": "<string>",
"country": "<string>",
"bio": "<string>",
"genres": [
"<string>"
],
"links": [
{
"source": "<string>",
"external_id": "<string>",
"url": "<string>",
"isrc": "<string>"
}
],
"related_artists": [
{
"id": "wjcgfd9i",
"name": "Drake",
"avatar": "<string>",
"site_url": "<string>"
}
]
},
"id": "<string>"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"error": "insufficient_credits",
"remaining_credits": 0,
"required_credits": 50000,
"billingUrl": "https://app.recoupable.dev"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Request failed with status 501"
}{
"status": "error",
"error": "Missing required parameter: artist"
}{
"status": "error",
"error": "Missing required parameter: artist"
}Query Parameters
Spotify artist URL. Required unless spotifyId is provided.
Spotify artist ID. Required unless url is provided.
^[A-Za-z0-9]{22}$"3TVXtAsR1Inumwj472S9r4"
Response
Artist profile matching the platform URL
Artist resolved from a Spotify URL or ID.
"success"
"success"
"Data Retrieved."
Full artist record — identity, bio, genres, platform links, and related artists.
Show child attributes
Show child attributes
Opaque Recoup research artist ID when resolved. Reuse it in artist research requests; it is separate from the Recoup artist account UUID and Spotify ID.
Was this page helpful?
