TripAdvisor Locations API & Data Access

API access to TripAdvisor locations by search query and api key.


Unofficial api.tripadvisor.com /api/internal/1.14/typeahead | 👥 Contributors: steve

Inputs

Search Query query Required

Search query

E.g. New York City
API Key api_key Default 3c7beec8-846d-4377-be03-71cae6145fdc

Trip Advisor’s API access key embedded in its iOS mobile app. You’ll need to intercept this value from your iOS TripAdvidsor app - we make this very easy to do via proxy.

Notes

Suggest Edit

Search for a destination to obtain the location_id required for more interesting data, such as hotels and deals. Below are some popular locations and IDs:

City State Location ID
New York New York 60763
Los Angeles California 32655
Chicago Illinois 35805
Houston Texas 56003
Phoenix Arizona 31310
Philadelphia Pennsylvania 60795
San Antonio Texas 60956
San Diego California 60750
Dallas Texas 55711
San Jose California 33020
Austin Texas 30196
Jacksonville Florida 60805
San Francisco California 60713
Columbus Ohio 50226
Fort Worth Texas 55857
Indianapolis Indiana 37209
Charlotte North Carolina 49022
Seattle Washington 60878
Denver Colorado 33388
Washington District of Columbia 28970
Boston Massachusetts 60745
El Paso Texas 60768
Detroit Michigan 42139
Nashville Tennessee 55229
Memphis Tennessee 55197
Portland Oregon 52024
Oklahoma City Oklahoma 51560
Las Vegas Nevada 45963
Louisville Kentucky 39604
Baltimore Maryland 60811
Milwaukee Wisconsin 60097
Albuquerque New Mexico 60933
Tucson Arizona 60950
Fresno California 32414
Sacramento California 32999
Mesa Arizona 31281
Kansas City Missouri 44535
Atlanta Georgia 60898
Long Beach California 32648
Omaha Nebraska 60885
Raleigh North Carolina 49463
Colorado Springs Colorado 33364
Miami Florida 34438
Virginia Beach Virginia 58277
Oakland California 32810
Minneapolis Minnesota 43323
Tulsa Oklahoma 51697
Arlington Texas 30183
New Orleans Louisiana 60864
Wichita Kansas 39143

Articles

Endpoint

GET https://api.tripadvisor.com/api/internal/1.14/typeahead?alternate_tag_name=true&auto_broaden=true&boost_nearby=true&boost_nearby_level=high&category_type=neighborhoods,geos&default_options=overview,lodging,things_to_do,restaurants,flights_to,neighborhoods,vacation_rentals&geo_specific_keywords=true&lang=en_US&limit=6&location_id=1&query={{query}}&typeahead_1_5=true Suggest New Query Parameter
Body
Headers
X-TripAdvisor-API-Key
{{api_key}}
Accept
application/json
Accept-Language
en-US;q=1
Accept-Encoding
gzip, deflate
User-Agent
Mozilla/5.0 (iPod touch; CPU iPhone OS 10_2 like Mac OS X) AppleWebKit/602.3.12 (KHTML, like Gecko) Mobile/14C92 Mobile iPhone TAiApp TARX13 taAppVersion=171120011 osName='iOS' deviceName=iPod7,1 osVer=10.2 taAppVersionString=23.8 appLang=en_US mcc=null mnc=null connection=wifi