==== outdated content ====
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:
|