v1

latestOpenAPI 3.0.12026-07-24178873.1 KB
Location

Location Details

Retrieves the full details of a single Tripadvisor Location by its ID.

<p>Returns rich, factual content for one point of interest, including basic details, addresses and coordinates, contact information, categories, opening hours, traveler ratings, rankings, awards, and aggregate photo information.
get/locations/{id}

Path parameters

idinteger required

the Tripadvisor Location ID to retrieve

Query parameters

localestring[]

preferred locales for localized fields (e.g. names, descriptions), in priority order; falls back to the default locale when omitted

Response

the requested Location's details

geostring required

Display name of the Geo that this Location belongs to (e.g. <code>"Lisbon"</code>).

geo_idinteger required

Identifier of the Tripadvisor Geo (e.g. city or region) that this Location belongs to.

idinteger required

Tripadvisor's unique identifier for this Location.

official_emailstring

The Location's official contact email address, when available.

price_levelstring

Indicative price level for the Location, applicable to restaurants. One of:

<ul> <li>Cheap Eats</li> <li>Fine Dining</li> <li>Mid Range</li> </ul>
recommended_visit_lengthinteger

Coded indicator of the suggested length of a visit to the Location:

<ul> <li>0 — unknown / not set</li> <li>1 — under 1 hour</li> <li>2 — 1–2 hours</li> <li>3 — 2–3 hours</li> <li>4 — over 3 hours</li> </ul>

Example response

{
  "opening_hours": {
    "periods": [
      {
        "closes": "20:00:00",
        "opens": "08:00:00"
      }
    ]
  }
}