Tripadvisor

Tripadvisor Scraper API

Real-time Tripadvisor data — hotel search by location, hotel details, and guest reviews. All data is scraped directly from Tripadvisor and returned as structured JSON.

3 Endpoints REST API JSON 99.9% Uptime

Try it instantly

See real data shapes from every endpoint — no signup required.

Request
GET /tripadvisor/search
location_id g60763 required
page 1
curl -G "https://api.pullapi.com/tripadvisor/search" \
  -H "x-rapidapi-key: YOUR_API_KEY"
Response 200 OK
{
  "success": true,
  "data": {
    "location_id": "g60763",
    "location_name": "New York City",
    "page": 1,
    "has_next_page": true,
    "hotel_count_on_page": 30,
    "hotels": [
      {
        "name": "The Peninsula New York",
        "url": "https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-The_Peninsula_New_York-New_York_City_New_York.html",
        "rating": 4.5,
        "review_count": 3842,
        "price_range": "$$$$$",
        "phone": "+1 212-956-2888",
        "address": "700 5th Ave, New York City, NY 10019",
        "latitude": 40.7614,
        "longitude": -73.9753,
        "thumbnail": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/example.jpg"
      }
    ]
  },
  "credits_used": 1,
  "cache_hit": false,
  "timestamp": "2026-03-15T12: 00: 00+00: 00"
}

API Endpoints

3 endpoints across 3 categories.

Search

GET /tripadvisor/search

Search for hotels on Tripadvisor by location ID. Returns paginated results with hotel names, ratings, review counts, prices, and contact info. Location IDs follow the Tripadvisor geo format (e.g., 'g60763' for New York City, 'g32655' for Los Angeles). If you pass a numeric ID without the 'g' prefix, it will be added automatically.

Parameters

Name Type Required Description Example
location_id string Yes Tripadvisor location ID. Use the 'g' prefix format (e.g., 'g60763' for NYC, 'g32655' for LA,... g60763
page integer No Page number for paginated results (starts at 1) 1

Example Response

{
  "success": true,
  "data": {
    "location_id": "g60763",
    "location_name": "New York City",
    "page": 1,
    "has_next_page": true,
    "hotel_count_on_page": 30,
    "hotels": [
      {
        "name": "The Peninsula New York",
        "url": "https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-The_Peninsula_New_York-New_York_City_New_York.html",
        "rating": 4.5,
        "review_count": 3842,
        "price_range": "$$$$$",
        "phone": "+1 212-956-2888",
        "address": "700 5th Ave, New York City, NY 10019",
        "latitude": 40.7614,
        "longitude": -73.9753,
        "thumbnail": "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/example.jpg"
      }
    ]
  },
  "credits_used": 1,
  "cache_hit": false,
  "timestamp": "2026-03-15T12: 00: 00+00: 00"
}

Hotel

GET /tripadvisor/hotel

Get full hotel details from a Tripadvisor Hotel_Review URL, including description, address, contact info, rating, pricing, ranking, amenities, and photos. The URL must be a valid Tripadvisor hotel page URL.

Parameters

Name Type Required Description Example
url string Yes Full Tripadvisor Hotel_Review URL. Example:... https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-The_Peninsula_New_York-New_York_City_New_York.html

Example Response

{
  "success": true,
  "data": {
    "name": "The Peninsula New York",
    "url": "https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-The_Peninsula_New_York-New_York_City_New_York.html",
    "description": "Overlooking Fifth Avenue and 55th Street, the 1905 landmark building has been home to The Peninsula New York since 1988. After a comprehensive renovation, the hotel features 235 luxurious rooms and suites...",
    "address": "700 5th Ave, New York City, NY 10019",
    "city": "New York City",
    "country": "United States",
    "latitude": 40.7614,
    "longitude": -73.9753,
    "phone": "+1 212-956-2888",
    "website": "https://www.peninsula.com/en/new-york/5-star-luxury-hotel-midtown-nyc",
    "rating": 4.5,
    "review_count": 3842,
    "price": 895,
    "price_text": "$895",
    "price_range": "$$$$$",
    "ranking": "#12 of 499 hotels in New York City",
    "travelers_choice": true,
    "amenities": [ "Free Wifi", "Pool", "Fitness Center", "Spa", "Restaurant", "Room Service", "Bar/Lounge", "Concierge", "Airport Transportation"
    ],
    "photos": [ "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/example1.jpg", "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/example2.jpg", "https://dynamic-media-cdn.tripadvisor.com/media/photo-o/example3.jpg"
    ]
  },
  "credits_used": 1,
  "cache_hit": false,
  "timestamp": "2026-03-15T12: 00: 00+00: 00"
}

Reviews

GET /tripadvisor/reviews

Get guest reviews for a hotel from its Tripadvisor Hotel_Review URL. Returns paginated reviews with ratings, titles, review text, reviewer names, dates, and trip types. The URL must be a valid Tripadvisor hotel page URL.

Parameters

Name Type Required Description Example
url string Yes Tripadvisor Hotel_Review URL. Example:... https://www.tripadvisor.com/Hotel_Review-g60763-d93450-Reviews-The_Peninsula_New_York-New_York_City_New_York.html
page integer No Page number for paginated results (starts at 1) 1

Example Response

{
  "success": true,
  "data": {
    "hotel_name": "The Peninsula New York",
    "overall_rating": 4.5,
    "total_reviews": 3842,
    "page": 1,
    "has_next_page": true,
    "review_count_on_page": 10,
    "reviews": [
      {
        "rating": 5.0,
        "title": "Exceptional service and stunning rooms",
        "text": "We stayed for 3 nights during our anniversary trip. The room was beautifully appointed with incredible views of Fifth Avenue. The rooftop bar is a must-visit. Staff went above and beyond to make our stay memorable...",
        "reviewer_name": "TravelLover2025",
        "date": "February 2026",
        "trip_type": "Couples"
      },
      {
        "rating": 4.0,
        "title": "Great location, slightly dated bathrooms",
        "text": "Perfect location right on 5th Avenue. The lobby is gorgeous and the staff is very attentive. Only minor issue was the bathroom felt a bit dated compared to the rest of the room...",
        "reviewer_name": "BusinessTravelerNYC",
        "date": "January 2026",
        "trip_type": "Business"
      }
    ]
  },
  "credits_used": 1,
  "cache_hit": false,
  "timestamp": "2026-03-15T12: 00: 00+00: 00"
}

Code Examples

Get started in seconds with your preferred language.

Terminal
curl -G "https://api.pullapi.com/tripadvisor/search?location_id=g60763" \
  -H "x-rapidapi-host: tripadvisor-scraper-api.p.rapidapi.com" \
  -H "x-rapidapi-key: YOUR_API_KEY"

Why PullAPI

</>

No Browser Needed

HTTP-based API. No Selenium, no Puppeteer, no headless browsers to manage.

Built-in Proxy Rotation

Automatic residential proxy rotation handles anti-bot detection for you.

Cached Responses

Smart Redis caching means faster repeated queries and lower costs.

$

Pay Per Request

No monthly commitment. Free tier included. Pay only for what you use.

Use Cases

What developers build with the Tripadvisor Scraper API.

1

Review Monitoring

2

Competitor Benchmarking

3

Market Research

4

Reputation Management

Related Scrapers

More APIs in Travel & Hospitality.

Ready to scrape Tripadvisor data?

Start with the free tier. No credit card required.

Subscribe on RapidAPI →