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

From MusicBrainz Wiki
m
 
Line 34: Line 34:
  
  
If you don't specify a field, the term will be searched for in the ''address'', ''alias'', ''area'' and ''place'' fields.
+
If you don't specify a field, the terms will be searched for in the ''address'', ''alias'', ''area'' and ''place'' fields.

Latest revision as of 12:19, 22 January 2021

Search Fields

The Place index contains the following fields you can search

Field Description
address (part of) the physical address for this place
alias (part of) any alias attached to the place (diacritics are ignored)
area (part of) the name of the place's main associated area
begin the place's begin date (e.g. "1980-01-22")
comment (part of) the place's disambiguation comment
end the place's end date (e.g. "1980-01-22")
ended a boolean flag (true/false) indicating whether or not the place has ended (is closed)
lat the (WGS 84) latitude of the place's coordinates (e.g. "58.388226")
long the (WGS 84) longitude of the place's coordinates (e.g. "26.702817")
place (part of) the place's name (diacritics are ignored)
placeaccent (part of) the place's name (with the specified diacritics)
pid the place's MBID
type the place's type


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