Categories, Subcategories, and Types

Each destination on TripAdvisor is classified under a “category,” “subcategory” and “type,”  which is included in the API response:

 "category": {
   "name": "geographic",
   "localized_name": "Geographic"
 },
 "subcategory": [
   {
     "name": "city",
     "localized_name": "City"
   }
 ],
 "geo_type": "narrow",



Field

Type

Description

name

string

Name of the destination category or subcategory. For a destination, the category will always be “geographic.” Subcategories include neighborhood, city, state, region, province, island, island group, municipality, country.

localized_name

string

User-facing label of the category or subcategory. This string is localized if a language other than English is requested.

geo_type

string

Geo_type will be one of these three:

  • narrow: a city or small region with a limited number of accommodations.

  • broad: a state, region our country that would not be searched directly by a user for a hotel, such as California or Germany.

  • hybrid: a mid-sized region or island, such as Cape Cod or Corsica, where a user might seek an accommodation at the region level.