AI-generated Key Takeaways
-
Place types are categories that describe the characteristics of a place, and a single place can have multiple types associated with it.
-
Place types are included in the responses to Place Details, Nearby Search, Text Search, and Place Autocomplete requests.
-
You can use place types as filters in requests to narrow down search results to places matching those types.
-
Two tables, Table A and Table B, define the range of available place types, with Table A containing primary types usable for filtering and Table B containing additional types primarily for responses.
-
Types in Table A can be used to refine Nearby Search and Text Search requests, while Table B types mainly appear in Place Autocomplete responses and are only filterable using
includedPrimaryTypesfor Place Autocomplete.
Introduction
Place types are categories that identify the characteristics of a place. A place can have one or more place types assigned to it.
A place's types are included in the response from a Place Details (New), Nearby Search (New), Text Search (New), and Autocomplete (New) request:
- A place can have a single primary type from type
Table A or type Table B associated with it.
For example, the primary type might be
mexican_restaurantorsteak_house.The primary type may be missing if the place's primary type is not a supported type. When a primary type is present, it is always one of the types in thetypesfield. - A place can have multiple type values from type
Table A or type Table B associated with it.
For example a restaurant might have the following types:
seafood_restaurant,restaurant,food,point_of_interest,establishment. - The address and address components of a place can be tagged with certain types from the
Address types and address component types table. For example, an
address might be tagged as an
street_addressand a component of the address might be tagged as astreet_number.
You can also specify place types as part of a request. When specified in the request, the type acts as a filter to restrict the response to only include places that match the specified types.
About the type tables
Table A lists the types that are used in the following ways:
- As part of a response from Place Details (New),
Nearby Search (New), and
Text Search (New). The request must specify at least
one of the
places.typesorplaces.primaryTypefields in the field mask. The values in Table A are then used to populate those fields. - As part of a Nearby Search (New) request, used as
the value of the
includedTypes,excludedTypes,includedPrimaryTypes, andexcludedPrimaryTypesparameter. The values in Table B are then used to populate those fields. - As part of a Text Search (New) request, used as
the value of the
includedTypeparameter. - As part of a Autocomplete (New) request,
use as the values to the
includedPrimaryTypesparameter. - As part of a Autocomplete (New) response.
Table B lists additional place type values which
may also be returned as part of a Place Details (New),
Nearby Search (New),
Text Search (New), and
Autocomplete (New) response. The request
must specify at least one of the places.types or
places.primaryType
fields in the field mask. Values from Table B may NOT be used as part of a
request, except as the values to the includedPrimaryTypes parameter
for a Autocomplete (New) request.
Address types and address component types list types that may appear in either or both address type and address component type arrays in the response body. Address component types are subject to change.
Table A
| Automotive | ||
|---|---|---|
car_dealercar_rentalcar_repaircar_wash |
electric_vehicle_charging_stationgas_stationparkingrest_stop |
|
| Business | ||
corporate_office *farmranch * |
||
| Culture | ||
art_galleryart_studio *auditorium *cultural_landmark *historical_place * |
monument *museumperforming_arts_theatersculpture * |
|
| Education | ||
librarypreschoolprimary_school
|
schoolsecondary_schooluniversity
|
|
| Entertainment and Recreation | ||
adventure_sports_center *amphitheatre *amusement_centeramusement_parkaquariumbanquet_hallbarbecue_area *botanical_garden *bowling_alleycasinochildrens_camp *comedy_club *community_centerconcert_hall *convention_centercultural_centercycling_park *dance_hall *dog_parkevent_venue |
ferris_wheel *garden *hiking_area *historical_landmarkinternet_cafe *karaoke *marinamovie_rentalmovie_theaternational_parknight_clubobservation_deck *off_roading_area *opera_house *parkphilharmonic_hall *picnic_ground *planetarium *plaza *roller_coaster * |
skateboard_park *state_park *tourist_attractionvideo_arcade *visitor_centerwater_park *wedding_venuewildlife_park *wildlife_refuge *zoo
|
| Facilities | ||
public_bath *public_bathroom *stable *
|
||
| Finance | ||
accountingatmbank
|
||
| Food and Drink | ||
acai_shop *afghani_restaurant *african_restaurant *american_restaurantasian_restaurant *bagel_shop *bakerybarbar_and_grill *barbecue_restaurantbrazilian_restaurantbreakfast_restaurantbrunch_restaurantbuffet_restaurant *cafecafeteria *candy_store *cat_cafe *chinese_restaurantchocolate_factory *chocolate_shop *coffee_shopconfectionery * |
deli *dessert_restaurant *dessert_shop *diner *dog_cafe *donut_shop *fast_food_restaurantfine_dining_restaurant *food_court *french_restaurantgreek_restauranthamburger_restaurantice_cream_shopindian_restaurantindonesian_restaurantitalian_restaurantjapanese_restaurantjuice_shop *korean_restaurant *lebanese_restaurantmeal_deliverymeal_takeawaymediterranean_restaurant |
mexican_restaurantmiddle_eastern_restaurantpizza_restaurantpub *ramen_restaurantrestaurantsandwich_shopseafood_restaurantspanish_restaurantsteak_housesushi_restauranttea_house *thai_restaurantturkish_restaurantvegan_restaurantvegetarian_restaurantvietnamese_restaurantwine_bar *
|
| Geographical Areas | ||
administrative_area_level_1administrative_area_level_2country
|
localitypostal_codeschool_district
|
|
| Government | ||
city_hallcourthouseembassyfire_stationgovernment_office *
|
local_government_officeneighborhood_police_station (Japan only)policepost_office
|
|
| Health and Wellness | ||
chiropractor *dental_clinicdentistdoctordrugstorehospitalmassage *medical_lab *
|
pharmacyphysiotherapistsauna *skin_care_clinic *spatanning_studio *wellness_center *yoga_studio *
|
|
| Housing | ||
apartment_building *apartment_complex *condominium_complex *housing_complex *
|
||
| Lodging | ||
bed_and_breakfastbudget_japanese_inn *campgroundcamping_cabincottageextended_stay_hotelfarmstayguest_househostel *hotel * |
inn *japanese_inn *lodgingmobile_home_park *motelprivate_guest_roomresort_hotelrv_park
|
|
| Natural Features | ||
beach *
|
||
| Places of Worship | ||
churchhindu_templemosquesynagogue
|
||
| Services | ||
astrologer *barber_shopbeautician *beauty_salonbody_art_service *catering_service *cemeterychild_care_agencyconsultantcourier_serviceelectricianfloristfood_delivery *foot_care *funeral_homehair_carehair_saloninsurance_agencylaundry * |
lawyerlocksmithmakeup_artist *moving_companynail_salon *painterplumberpsychic *real_estate_agencyroofing_contractorstoragesummer_camp_organizer *tailortelecommunications_service_providertour_agency *tourist_information_center *travel_agencyveterinary_care
|
|
| Shopping | ||
asian_grocery_store *auto_parts_storebicycle_storebook_storebutcher_shop *cell_phone_storeclothing_storeconvenience_storedepartment_storediscount_storeelectronics_storefood_store *furniture_storegift_shopgrocery_storehardware_storehome_goods_store
|
home_improvement_storejewelry_storeliquor_storemarketpet_storeshoe_storeshopping_mallsporting_goods_storestoresupermarketwarehouse_store *wholesaler
|
|
| Sports | ||
arena *athletic_fieldfishing_charter *fishing_pond *fitness_centergolf_coursegymice_skating_rink * |
playground *ski_resortsports_activity_location *sports_clubsports_coaching *sports_complexstadiumswimming_pool
|
|
| Transportation | ||
airportairstrip *bus_stationbus_stopferry_terminalheliportinternational_airport *light_rail_station |
park_and_ride *subway_stationtaxi_standtrain_stationtransit_depottransit_stationtruck_stop
|
|
Table B
The Place type values in Table B may be returned as part of a Place Details (New),
Nearby Search (New),
Text Search (New), or
Autocomplete (New) response. These types are also supported
by includedPrimaryTypes for Autocomplete (New)
requests.
| Additional Place type values | ||
|---|---|---|
administrative_area_level_3administrative_area_level_4administrative_area_level_5administrative_area_level_6administrative_area_level_7archipelagocolloquial_areacontinentestablishmentfinancefoodgeneral_contractorgeocodehealthintersectionlandmarknatural_featureneighborhoodplace_of_worshipplus_code
|
point_of_interestpoliticalpostal_code_prefixpostal_code_suffixpostal_townpremiseroutestreet_addresssublocalitysublocality_level_1sublocality_level_2sublocality_level_3sublocality_level_4sublocality_level_5subpremisetown_square
|
|
Address types and address component types
The types array in the response indicates the
address type. Examples of address types include a street address, a
country, or a political entity. The types array in
the AddressComponent field indicates the type of each part of the
address. Examples include street number or country.
Addresses may have multiple types. The types may be considered 'tags'.
For example, many cities are tagged with the political and
locality types.
The following types are supported and returned in both the address type and address component type arrays:
| Address Type | Description |
|---|---|
street_address |
A precise street address. |
route |
A named route (such as "US 101"). |
intersection |
A major intersection, usually of two major roads. |
political |
A political entity. Usually, this type indicates a polygon of some civil administration. |
country |
The national political entity, and is typically the highest order type returned by the Geocoder. |
administrative_area_level_1 |
A first-order civil entity below the country level. Within the United States, these administrative levels are states. Not all nations exhibit these administrative levels. In most cases, administrative_area_level_1 short names will closely match ISO 3166-2 subdivisions and other widely circulated lists; however this is not guaranteed as our geocoding results are based on a variety of signals and location data. |
administrative_area_level_2 |
A second-order civil entity below the country level. Within the United States, these administrative levels are counties. Not all nations exhibit these administrative levels. |
administrative_area_level_3 |
A third-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels. |
administrative_area_level_4 |
A fourth-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels. |
administrative_area_level_5 |
A fifth-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels. |
administrative_area_level_6 |
A sixth-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels. |
administrative_area_level_7 |
A seventh-order civil entity below the country level. This type indicates a minor civil division. Not all nations exhibit these administrative levels. |
colloquial_area |
A commonly-used alternative name for the entity. |
locality |
An incorporated city or town political entity. |
sublocality |
A first-order civil entity below a locality. For some locations may receive one of the additional types: sublocality_level_1 to sublocality_level_5. Each sublocality level is a civil entity. Larger numbers indicate a smaller geographic area. |
neighborhood |
A named neighborhood. |
premise |
A named location, usually a building or collection of buildings with a common name. |
subpremise |
An addressable entity below the premise level, such as an apartment, unit, or suite. |
plus_code |
An encoded location reference, derived from latitude and longitude. Plus codes can be used as a replacement for street addresses in places where they do not exist (where buildings are not numbered or streets are not named). See https://plus.codes for details. |
postal_code |
A postal code as used to address postal mail within the country. |
natural_feature |
A prominent natural feature. |
airport |
An airport. |
park |
A named park. |
point_of_interest |
A named point of interest. Typically, these "POI"s are prominent local entities that don't easily fit in another category, such as "Empire State Building" or "Eiffel Tower". |
An empty list of types indicates there are no known types for the particular address component (for example, Lieu-dit in France).
In addition to the above, address components may include the types listed below.
| Address Component Type | Description |
|---|---|
floor |
The floor of a building address. |
establishment |
Typically a place that has not yet been categorized. |
landmark |
A nearby place that is used as a reference, to aid navigation. |
point_of_interest |
A named point of interest. |
parking |
A parking lot or parking structure. |
post_box |
A specific postal box. |
postal_town |
A grouping of geographic areas, such as locality and sublocality, used for mailing addresses in some countries. |
room |
The room of a building address. |
street_number |
The precise street number. |
bus_station, train_station and transit_station |
The location of a bus, train or public transit stop. |