Travel
Tripadvisor logo

Tripadvisor API

tripadvisor.com

Tripadvisor - hotel search and filters, location lookup, pricing, offers, and reviews.

Actions
5
Category
Travel
Login
Not required
Output
JSON

Call the Tripadvisor API

Submit a task, then poll the job until it settles. This example runs act_tripadvisor_hotel_entity_facts.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_tripadvisor_hotel_entity_facts",
    "params": {
      "geo_id": 60763
    }
  }'

5 actions on tripadvisor.com

Write

Write actions change state on tripadvisor.com and run as the account you connect.

  • Hotel Entity Facts

    act_tripadvisor_hotel_entity_factswrite3 credits / call

    Returns destination hotel facts including amenities, pricing, and star-class filter IDs.

    geo_id
    integer · required
  • Hotel Filter Labels

    act_tripadvisor_hotel_filter_labelswrite3 credits / call

    Returns hotel filter value IDs resolved into human-readable labels like 5 Star.

    ids
    integer · required
  • Hotel Media Gallery

    act_tripadvisor_hotel_detail_media_gallerywrite3 credits / call

    Returns a hotel's photo gallery with albums, captions, and image URLs.

    geo_id
    integer · required
    detail_id
    integer · required
  • Hotel Partner Special Offers

    act_tripadvisor_hotel_partner_special_offerswrite3 credits / call

    Returns partner special offers and pricing for a batch of hotels and stay dates.

    location_ids
    array · required
    check_in_date
    date · required
    check_out_date
    date · required
  • Location Typeahead

    act_tripadvisor_location_typeaheadwrite3 credits / call

    Returns autocomplete cities and hotels by query with matching geo IDs, names, and coordinates.

    query
    string · required
    locale
    string

Tripadvisor API questions

Is there an API for Tripadvisor?
Tripadvisor does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for tripadvisor.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Tripadvisor data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when tripadvisor.com changes its markup, Anakin updates the action.
Do I need a Tripadvisor account?
No. Every Tripadvisor action listed here runs anonymously — no account and no credentials required.
What does the Tripadvisor API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Travel APIs

All Travel sites