MusicBrainz API/Search/ArtistSearch: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(13 intermediate revisions by 7 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)
|-
| artistaccent || (part of) the artist's name (with the specified diacritics)
|-
| begin || the artist's begin date (e.g. "1980-01-22")
|-
|-
| arid || MBID of the artist
| beginarea || (part of) the name of the artist's begin area
|-
|-
| artist || name of the artist
| comment || (part of) the artist's disambiguation comment
|-
|-
| alias || the aliases/misspellings for the artist
| country || the 2-letter code (ISO 3166-1 alpha-2) for the artist's main associated country
|-
|-
| 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)
| gender || gender of the artist (“male”, “female”, “other”)
|-
|-
| gender || the artist's gender (“male”, “female”, “other” or “not applicable”)
| ipi || IPI code for the artist
|-
|-
| tag || a tag applied to the artist
| ipi || an IPI code associated with the artist
|-
|-
| isni || an ISNI code associated with the artist
| sortname || artist sortname
|-
|-
| sortname || (part of) the artist's [[Artist#Sort_name|sort name]]
| type || artist type (“person”, “group”, "other" or “unknown”)
|-
|-
| tag || (part of) a tag attached to the artist
| begin || artist birth date/band founding date
|-
|-
| end || artist death date/band dissolution date
| 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.