Difference between revisions of "MusicBrainz API/Search/ArtistSearch"

From MusicBrainz Wiki
(Search Fields)
(Search Fields)
Line 12: Line 12:
 
|-
 
|-
 
| alias  ||  the aliases/misspellings for the artist  
 
| alias  ||  the aliases/misspellings for the artist  
 +
|-
 +
| begin  ||  artist birth date/band founding date
 
|-
 
|-
 
| comment  ||  artist comment to differentiate similar artists
 
| comment  ||  artist comment to differentiate similar artists
 
|-
 
|-
 
| 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'  
 
| 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'  
 +
|-
 +
| end  ||  artist death date/band dissolution date
 +
|-
 +
| ended  ||  true if know ended even if do not know end date 
 
|-
 
|-
 
| gender || gender of the artist (“male”, “female”, “other”)
 
| gender || gender of the artist (“male”, “female”, “other”)
 
|-
 
|-
 
| ipi || IPI code for the artist
 
| ipi || IPI code for the artist
 +
|-
 +
| sortname  ||  artist sortname
 
|-
 
|-
 
| tag || a tag applied to the artist
 
| tag || a tag applied to the artist
|-
 
| sortname  ||  artist sortname
 
 
|-
 
|-
 
| type  ||  artist type (“person”, “group”, "other" or “unknown”)
 
| type  ||  artist type (“person”, “group”, "other" or “unknown”)
|-
 
| begin  ||  artist birth date/band founding date
 
|-
 
| end  ||  artist death date/band dissolution date
 
|-
 
| ended  ||  true if know ended even if do not know end date 
 
 
|}
 
|}
  
 
Artist search terms with no fields specified search the ''artist'', ''sortname'' and ''alias'' fields.
 
Artist search terms with no fields specified search the ''artist'', ''sortname'' and ''alias'' fields.

Revision as of 07:49, 16 May 2012

Search Fields

The artist index contains the following fields you can search:

Field Description
arid MBID of the artist
artist name of the artist
artistaccent name of the artist with any accent characters retained
alias the aliases/misspellings for the artist
begin artist birth date/band founding date
comment artist comment to differentiate similar artists
country the two letter country code for the artist country or 'unknown'
end artist death date/band dissolution date
ended true if know ended even if do not know end date
gender gender of the artist (“male”, “female”, “other”)
ipi IPI code for the artist
sortname artist sortname
tag a tag applied to the artist
type artist type (“person”, “group”, "other" or “unknown”)

Artist search terms with no fields specified search the artist, sortname and alias fields.