MusicBrainz API/Search/ArtistSearch: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
mNo edit summary
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
====Search Fields====
====Search Fields====
The artist index contains the following fields you can search:
The [[Artist]] index contains the following fields you can search
{| border="1" class="wikitable sortable"
{| border="1" class="wikitable sortable"
|-
|-
! Field !! Description
! Field !! Description

|-
| alias || (part of) any [[Aliases|alias]] attached to the artist (diacritics are ignored)
|-
| primary_alias || (part of) any primary alias attached to the artist (diacritics are ignored)
|-
| area || (part of) the name of the artist's main associated area
|-
| arid || the artist's MBID
|-
| artist || (part of) the artist's name (diacritics are ignored)
|-
|-
| arid || MBID of the artist
| artistaccent || (part of) the artist's name (with the specified diacritics)
|-
|-
| begin || the artist's begin date (e.g. "1980-01-22")
| artist || name of the artist
|-
|-
| artistaccent || name of the artist with any accent characters retained
| beginarea || (part of) the name of the artist's begin area
|-
|-
| alias || the aliases/misspellings for the artist
| comment || (part of) the artist's disambiguation comment
|-
|-
| country || the 2-letter code (ISO 3166-1 alpha-2) for the artist's main associated country
| begin || artist birth date/band founding date
|-
|-
| comment || artist comment to differentiate similar artists
| end || the artist's end date (e.g. "1980-01-22")
|-
|-
| endarea || (part of) the name of the artist's end area
| country || the [http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm two letter country code] for the artist country or 'unknown'
|-
|-
| ended || a boolean flag (true/false) indicating whether or not the artist has ended (is dissolved/deceased)
| end || artist death date/band dissolution date
|-
|-
| gender || the artist's gender (“male”, “female”, “other” or “not applicable”)
| ended || true if know ended even if do not know end date
|-
|-
| ipi || an IPI code associated with the artist
| gender || gender of the artist (“male”, “female”, “other”)
|-
|-
| ipi || IPI code for the artist
| isni || an ISNI code associated with the artist
|-
|-
| sortname || artist sortname
| sortname || (part of) the artist's [[Artist#Sort_name|sort name]]
|-
|-
| tag || a tag applied to the artist
| tag || (part of) a tag attached to the artist
|-
|-
| type || artist type (“person”, “group”, "other" or “unknown”)
| type || the artist's [[Artist#Type|type]] (“person”, “group”, etc.)
|}
|}


Artist search terms with no fields specified search the ''artist'', ''sortname'' and ''alias'' fields.
If you don't specify a field, the terms will be searched for in the ''alias'', ''artist'' and ''sortname'' fields.

Latest revision as of 12:19, 22 January 2021

Search Fields

The Artist index contains the following fields you can search

Field Description
alias (part of) any alias attached to the artist (diacritics are ignored)
primary_alias (part of) any primary alias attached to the artist (diacritics are ignored)
area (part of) the name of the artist's main associated area
arid the artist's MBID
artist (part of) the artist's name (diacritics are ignored)
artistaccent (part of) the artist's name (with the specified diacritics)
begin the artist's begin date (e.g. "1980-01-22")
beginarea (part of) the name of the artist's begin area
comment (part of) the artist's disambiguation comment
country the 2-letter code (ISO 3166-1 alpha-2) for the artist's main associated country
end the artist's end date (e.g. "1980-01-22")
endarea (part of) the name of the artist's end area
ended a boolean flag (true/false) indicating whether or not the artist has ended (is dissolved/deceased)
gender the artist's gender (“male”, “female”, “other” or “not applicable”)
ipi an IPI code associated with the artist
isni an ISNI code associated with the artist
sortname (part of) the artist's sort name
tag (part of) a tag attached to the artist
type the artist's type (“person”, “group”, etc.)

If you don't specify a field, the terms will be searched for in the alias, artist and sortname fields.