Discover/tripadvisor.com API
live

tripadvisor.com APItripadvisor.com

Search TripAdvisor locations, list hotels by geo ID, and fetch special offers. Get ratings, review counts, price ranges, and coordinates via 3 structured endpoints.

Endpoints
3
Updated
10d ago
Try it
Search keyword (e.g., 'London', 'Paris', 'New York')
api.parse.bot/scraper/f436cbcf-96a4-4f9e-85b0-3acad164fed6/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/f436cbcf-96a4-4f9e-85b0-3acad164fed6/search_location?query=London' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Search for locations (cities, regions, hotels, attractions, restaurants) by keyword to get their locationId and geographic details.

Input
ParamTypeDescription
queryrequiredstringSearch keyword (e.g., 'London', 'Paris', 'New York')
Response
{
  "type": "object",
  "fields": {
    "total": "integer count of results returned",
    "results": "array of location objects with locationId, name, placeType, latitude, longitude, isGeo, address, url, parentName, parentType"
  },
  "sample": {
    "data": {
      "total": 1,
      "results": [
        {
          "url": "/Tourism-g186338-London_England-Vacations.html",
          "name": "London",
          "isGeo": true,
          "address": "England, United Kingdom",
          "latitude": 51.519241,
          "longitude": -0.096654,
          "placeType": "CITY",
          "locationId": 186338,
          "parentName": "United Kingdom",
          "parentType": "COUNTRY"
        }
      ]
    },
    "status": "success"
  }
}

About the tripadvisor.com API

The TripAdvisor API exposes 3 endpoints covering location search, hotel listings, and place-level offer details. Use search_location to resolve any city, region, or attraction name into a locationId and geographic coordinates, then pass the resulting geo_id to list_hotels to retrieve paginated hotel records including ratings, review counts, price ranges, phone numbers, and images. Each response uses consistent integer IDs that chain across endpoints.

Endpoints and Data Shape

The search_location endpoint accepts a free-text query (e.g., 'London' or 'New York') and returns an array of location objects. Each object includes locationId, name, placeType, latitude, longitude, isGeo, address, url, parentName, and parentType. This is the standard entry point for resolving human-readable names into the integer IDs the other endpoints require.

Hotel Listings

list_hotels takes a required geo_id integer — obtained from search_location or known in advance (e.g., 60763 for New York City, 186338 for London) — and returns up to 30 hotels per page. Pagination is controlled via the offset parameter in multiples of 30, and the response echoes both geo_id and offset for consistency. Each hotel record includes locationId, name, address, latitude, longitude, telephone, image, rating, reviewCount, priceRange, and a direct TripAdvisor url.

Place Details and Special Offers

get_place_details accepts a location_id integer (from either of the other endpoints) and returns special offer data for that property. The response is structured under BaAggregation_getSpecialOfferDetailsBulk, an array of objects containing locationId and a specialOffers array. This endpoint is suited for surfacing current promotions tied to a specific hotel rather than general metadata.

Coverage Notes

All three endpoints return TripAdvisor url fields, making it straightforward to deep-link users to the original listing. placeType in search_location results distinguishes between geo nodes (cities, regions) and point-of-interest types (hotels, attractions, restaurants), which is useful when you need to filter search results before passing IDs downstream.

Common use cases
  • Build a hotel price-range comparison tool using priceRange and rating fields from list_hotels
  • Resolve destination names to geographic IDs for use in downstream travel itinerary apps via search_location
  • Display hotel contact information and direct booking links using telephone and url fields
  • Surface special hotel promotions by chaining list_hotels results into get_place_details
  • Geocode hotels for map-based UIs using latitude and longitude from list_hotels
  • Filter search results by placeType to separate city-level geo nodes from individual attractions or hotels
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does TripAdvisor have an official developer API?+
TripAdvisor offers a Content API for select partners at developers.tripadvisor.com, but access requires approval and is restricted to qualified use cases. This Parse API provides structured access to location search, hotel listings, and special offers without requiring a TripAdvisor developer account.
What does `list_hotels` return, and how does pagination work?+
Each page returns up to 30 hotel objects, each containing locationId, name, address, latitude, longitude, telephone, image, rating, reviewCount, priceRange, and url. To paginate, increment the offset parameter by 30 (e.g., 0, 30, 60). The response echoes both geo_id and offset so you can verify the request parameters against the result.
Are restaurant or attraction listings available, not just hotels?+
search_location returns results for restaurants, attractions, and other place types alongside hotels — you can identify them via the placeType field. However, dedicated listing endpoints for restaurants or attractions (equivalent to list_hotels) are not currently part of this API. You can fork it on Parse and revise to add those listing endpoints.
Does the API return user reviews or review text?+
The current endpoints expose reviewCount (an integer) and rating per hotel, but do not return individual review text, review titles, or reviewer profiles. You can fork the API on Parse and revise it to add a reviews endpoint that returns per-review content for a given locationId.
What is a known limitation of the `get_place_details` endpoint?+
The endpoint is specifically scoped to special offer data via BaAggregation_getSpecialOfferDetailsBulk. It does not return general hotel metadata such as amenities, check-in policies, or room types. If a property has no active special offers, the specialOffers array will be empty.
Page content last updated . Spec covers 3 endpoints from tripadvisor.com.
Related APIs in TravelSee all →
opentable.ca API
Search and discover restaurants on OpenTable, view detailed information like menus and reviews, and check real-time dining availability across metro areas. Find top-rated restaurants in your location and instantly see which tables are open for your preferred date and time.
fandango.com API
Search for movies and retrieve nearby theater listings with showtimes by ZIP code and date, plus showtimes for a specific movie at nearby theaters.
data.lime.bike API
Access real-time availability data for Lime bikes and scooters, including station locations, vehicle status, system alerts, and geofencing zones across multiple cities. Monitor micromobility inventory and service information to find nearby vehicles or plan your trips effectively.
turo.com API
Search for peer-to-peer car rentals across Turo by location and dates to browse available vehicles with pricing, specifications, and real-time availability. Get detailed information on specific cars to compare features and make rental decisions.
reservation.pc.gc.ca API
Access real-time campground availability and reservation data from the Parks Canada booking system. Search locations, retrieve available campsites and cabins, filter by equipment type, and review operating date schedules across the national park network. Includes detailed resource metadata and map-based availability overviews.
bahn.com API
Search German train schedules and stations, find connections between destinations, and compare ticket prices across Deutsche Bahn routes. Get real-time station information and transit association details to plan your train journey efficiently.
united.com API
Search United Airlines flights, check real-time flight status, and view detailed seat maps to plan your perfect trip. Compare fare options and use airport autocomplete to quickly find your departure and arrival cities.
thetrainline.com API
Search UK train stations and find the cheapest fares across date ranges, then generate direct booking links to complete your purchase on Trainline.com. Get real-time journey information to compare prices and book your tickets in seconds.