curl --request GET \
--url https://www.fmdb.net/api/artists \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.fmdb.net/api/artists"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.fmdb.net/api/artists', 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://www.fmdb.net/api/artists",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://www.fmdb.net/api/artists"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.fmdb.net/api/artists")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.fmdb.net/api/artists")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"type": "<string>",
"attributes": {
"_id": "<string>",
"name": "<string>",
"_type": "person",
"country": "<string>",
"display_name": "Brian May (Australian composer)",
"real_name": "Thomas Bangalter",
"begin_date": "1957-06-12",
"end_date": "1920-05",
"begin_city": "<string>",
"begin_country": "<string>",
"end_city": "<string>",
"end_country": "<string>",
"disambiguation": "<string>",
"biography": "<string>",
"variations": [
{}
],
"created_at": "2024-01-15T10:00:00+00:00",
"updated_at": "2024-01-15T14:30:00+00:00"
},
"relationships": {
"members": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
},
"groups": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
}
}
}
],
"links": {
"self": "string",
"first": "string",
"prev": "string",
"next": "string",
"last": "string"
},
"meta": {
"totalItems": 1,
"itemsPerPage": 1,
"currentPage": 1
},
"included": [
{
"data": {
"id": "<string>",
"type": "<string>",
"attributes": {
"_id": "<string>",
"name": "<string>",
"_type": "person",
"country": "<string>",
"display_name": "Brian May (Australian composer)",
"real_name": "Thomas Bangalter",
"begin_date": "1957-06-12",
"end_date": "1920-05",
"begin_city": "<string>",
"begin_country": "<string>",
"end_city": "<string>",
"end_country": "<string>",
"disambiguation": "<string>",
"biography": "<string>",
"variations": [
{}
],
"created_at": "2024-01-15T10:00:00+00:00",
"updated_at": "2024-01-15T14:30:00+00:00"
},
"relationships": {
"members": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
},
"groups": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
}
}
},
"included": "<array>"
}
]
}{
"errors": [
{
"status": "429",
"title": "Rate Limit Exceeded",
"detail": "You have exceeded the rate limit of 300 requests per 60 seconds. The budget resets at 2026-01-15T10:00:42+00:00."
}
]
}List artists
List artists
curl --request GET \
--url https://www.fmdb.net/api/artists \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.fmdb.net/api/artists"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.fmdb.net/api/artists', 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://www.fmdb.net/api/artists",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://www.fmdb.net/api/artists"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.fmdb.net/api/artists")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.fmdb.net/api/artists")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"type": "<string>",
"attributes": {
"_id": "<string>",
"name": "<string>",
"_type": "person",
"country": "<string>",
"display_name": "Brian May (Australian composer)",
"real_name": "Thomas Bangalter",
"begin_date": "1957-06-12",
"end_date": "1920-05",
"begin_city": "<string>",
"begin_country": "<string>",
"end_city": "<string>",
"end_country": "<string>",
"disambiguation": "<string>",
"biography": "<string>",
"variations": [
{}
],
"created_at": "2024-01-15T10:00:00+00:00",
"updated_at": "2024-01-15T14:30:00+00:00"
},
"relationships": {
"members": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
},
"groups": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
}
}
}
],
"links": {
"self": "string",
"first": "string",
"prev": "string",
"next": "string",
"last": "string"
},
"meta": {
"totalItems": 1,
"itemsPerPage": 1,
"currentPage": 1
},
"included": [
{
"data": {
"id": "<string>",
"type": "<string>",
"attributes": {
"_id": "<string>",
"name": "<string>",
"_type": "person",
"country": "<string>",
"display_name": "Brian May (Australian composer)",
"real_name": "Thomas Bangalter",
"begin_date": "1957-06-12",
"end_date": "1920-05",
"begin_city": "<string>",
"begin_country": "<string>",
"end_city": "<string>",
"end_country": "<string>",
"disambiguation": "<string>",
"biography": "<string>",
"variations": [
{}
],
"created_at": "2024-01-15T10:00:00+00:00",
"updated_at": "2024-01-15T14:30:00+00:00"
},
"relationships": {
"members": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
},
"groups": {
"data": [
{
"type": "<string>",
"id": "<string>"
}
]
}
}
},
"included": "<array>"
}
]
}{
"errors": [
{
"status": "429",
"title": "Rate Limit Exceeded",
"detail": "You have exceeded the rate limit of 300 requests per 60 seconds. The budget resets at 2026-01-15T10:00:42+00:00."
}
]
}Authorizations
API token authentication
Query Parameters
The collection page number
Artist name
Artist name
Artist type
Artist q
Keep artists whose begin date (birth for people, formation for groups) is on or after this partial date (YYYY, YYYY-MM or YYYY-MM-DD). Inclusive. Artists without a begin date are excluded.
^\d{4}(-\d{2}(-\d{2})?)?$Keep artists whose begin date is on or before this partial date. Inclusive to the end of the period, so bornBefore=1950 still matches an artist born on 1950-12-31. Artists without a begin date are excluded.
^\d{4}(-\d{2}(-\d{2})?)?$Keep artists whose end date (death for people, dissolution for groups) is on or after this partial date. Inclusive. Artists without an end date are excluded.
^\d{4}(-\d{2}(-\d{2})?)?$Keep artists whose end date is on or before this partial date. Inclusive to the end of the period. Artists without an end date are excluded.
^\d{4}(-\d{2}(-\d{2})?)?$Sort chronologically by begin date (birth / formation). Artists without a begin date sort first in ascending order (last in descending). Ignored when combined with q.
asc, desc, ASC, DESC Sort chronologically by end date (death / dissolution). Artists without an end date sort first in ascending order (last in descending). Ignored when combined with q.
asc, desc, ASC, DESC Sort by name or country. Sorting applies to the plain listing; when combined with q, Meilisearch keeps relevance ranking and order is ignored.
asc, desc, ASC, DESC Sort by name or country. Sorting applies to the plain listing; when combined with q, Meilisearch keeps relevance ranking and order is ignored.
asc, desc, ASC, DESC Response
Artist collection
Artist.jsonapi collection.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
{
"self": "string",
"first": "string",
"prev": "string",
"next": "string",
"last": "string"
}
Show child attributes
Show child attributes
Related resources requested via the "include" query parameter.
Show child attributes
Show child attributes
