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

From MusicBrainz Wiki
(Search Fields)
(Updated URL for ISO 3166 data)
Line 19: Line 19:
 
|  comment  ||  Disambiguation comment
 
|  comment  ||  Disambiguation comment
 
|-
 
|-
|  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 release country
+
|  country  ||  The [http://www.iso.org/iso/home/standards/country_codes/iso-3166-1_decoding_table.htm two letter country code] for the release country
 
|-
 
|-
 
|  creditname  ||  name credit on the release, each artist added as a seperate field  
 
|  creditname  ||  name credit on the release, each artist added as a seperate field  

Revision as of 20:34, 1 August 2012

Search Fields

The release index contains these fields you can search:

field Description
arid artist id
artist complete artist name(s) as it appears on the release
artistname an artist on the release, each artist added as a seperate field
asin the Amazon ASIN for this release
barcode The barcode of this release
catno The catalog number for this release, can have multiples when major using an imprint
comment Disambiguation comment
country The two letter country code for the release country
creditname name credit on the release, each artist added as a seperate field
date The release date (format: YYYY-MM-DD)
discids total number of cd ids over all mediums for the release
discidsmedium number of cd ids for the release on a medium in the release
format release format
label The name of the label for this release, can have multiples when major using an imprint
lang The language for this release. Use the three character ISO 639 codes to search for a specific language. (e.g. lang:eng)
mediums number of mediums in the release
primarytype primary type of the release group (album, single, ep, other)
puid The release contains recordings with these puids
reid release id
release release name
releaseaccent name of the release with any accent characters retained
rgid release group id
script The 4 character script code (e.g. latn) used for this release
secondarytype secondary type of the release group (audiobook, compilation, interview, live, remix soundtrack, spokenword)
status release status (e.g official)
tracks total number of tracks over all mediums on the release
tracksmedium number of tracks on a medium in the release
type type of the release group, old type mapping for when we did not have separate primary and secondary types

Release search terms with no fields search the release field only.