# TripAdvisor API

Search TripAdvisor hotels, restaurants and attractions to obtain location details, ratings and traveler reviews.

Pass the URL of a specific place, not a city directory. Reviews have no public language parameter.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "tripadvisor", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/tripadvisor-api](https://everyinfra.com/en/tripadvisor-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Find hotels, restaurants and attractions on TripAdvisor by keyword. Get category, rating, review count, city rank, price tier and address. Add the city name to separate places with the same name. `price_level` is a dollar-sign tier, not an amount.
- Sync delivery · Price: $1.39 per 1,000 requests (every 10 rows count as one call)
- Catalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Search query string for location lookup. The `search` action queries across hotels, restaurants, and attractions, while `restaurants` and `attractions` restrict search to their respective domain. Appending a city name helps disambiguate venues with identical names. This parameter does not perform full-text review searches.
  - `content_type` (optional): Filters location photos by source. Allowed values are `from_everyone` (all photos), `from_management` (owner uploads), and `from_travelers` (visitor uploads). It does not filter location categories like hotels, restaurants, or attractions; choose the corresponding action to target specific location types. One of: from_everyone, from_management, from_travelers.
  - `currency` (optional): Currency code for displayed location prices, defaulting to `usd` (common options include `eur`, `gbp`, and `cny`). The full schema enumeration is preserved, but supported historical codes may not yield active real-time prices. This parameter does not alter API billing currency. One of: aed, afn, all, amd, ars, aud, azn, bam, bdt, bgn, bhd, bif, bnd, bob, brl, bwp, byn, bzd, cad, cdf, chf, clp, cny, cop, crc, cve, czk, djf, dkk, dop, dzd, eek, egp, ern, etb, eur, gbp, gel, ghs, gnf, gtq, hkd, hnl, hrk, huf, idr, ils, inr, iqd, irr, isk, jmd, jod, jpy, kes, khr, kmf, krw, kwd, kzt, lbp, lkr, ltl, lvl, lyd, mad, mdl, mga, mkd, mmk, mop, mur, mxn, myr, mzn, nad, ngn, nio, nok, npr, nzd, omr, pab, pen, php, pkr, pln, pyg, qar, ron, rsd, rub, rwf, sar, sdg, sek, sgd, sos, syp, thb, tnd, top, try, ttd, twd, tzs, uah, ugx, usd, uyu, uzs, vef, vnd, xaf, xof, yer, zar, zmk, zwl.
  - `lang` (optional): Two-letter language code (such as `en` or `zh`) for search, profile, restaurants, and attractions. The reviews action does not take this parameter. One of: aa, ab, ae, af, ak, am, an, ar, as, av, ay, az, ba, be, bg, bh, bi, bm, bn, bo, br, bs, ca, ce, ch, co, cr, cs, cu, cv, cy, da, de, dv, ee, el, en, eo, es, et, eu, fa, ff, fi, fj, fo, fr, fy, ga, gd, gl, gn, gu, gv, ha, he, hi, ho, hr, ht, hu, hy, hz, ia, id, ie, ig, ii, ik, io, is, it, iu, iw, ja, jv, ka, kg, ki, kj, kk, kl, km, kn, ko, kr, ks, ku, kv, kw, ky, la, lb, lg, li, ln, lo, lt, lu, lv, mg, mh, mi, mk, ml, mn, mr, ms, mt, my, na, nb, nd, ne, ng, nl, nn, no, nr, nv, ny, oc, oj, om, or, os, pa, pi, pl, ps, pt, qu, rm, rn, ro, ru, rw, sa, sc, sd, se, sg, si, sk, sl, sm, sn, so, sq, sr, ss, st, su, sv, sw, ta, te, tg, th, ti, tk, tl, tn, to, tr, ts, tt, tw, ty, ug, uk, ur, uz, ve, vi, vo, wa, wo, xh, yi, yo, za, zh.
- Returns fields: id, name, category, url, text, rating, rating_scale, review_count, price_level, ranking, address, city, country, location, phone, email, website, latitude, longitude, image_url, platform, cuisines
- Capability page: [https://everyinfra.com/en/tripadvisor-api/search](https://everyinfra.com/en/tripadvisor-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/tripadvisor-api/search.md)

### profile — Details
Get the TripAdvisor listing for one hotel, restaurant or attraction. Get rating, review count, city rank, price tier, address, coordinates and contact details. Pass the page of the place, not a city directory. Prices and availability for a given date are not covered.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `url` (required): Target TripAdvisor venue URL for `profile` and `reviews` actions, pointing directly to a hotel, restaurant, or attraction listing rather than a city directory. In `profile`, it fetches venue details rather than user profile data.
  - `content_type` (optional): Filters location photos by source. Allowed values are `from_everyone` (all photos), `from_management` (owner uploads), and `from_travelers` (visitor uploads). It does not filter location categories like hotels, restaurants, or attractions; choose the corresponding action to target specific location types. One of: from_everyone, from_management, from_travelers.
  - `currency` (optional): Currency code for displayed location prices, defaulting to `usd` (common options include `eur`, `gbp`, and `cny`). The full schema enumeration is preserved, but supported historical codes may not yield active real-time prices. This parameter does not alter API billing currency. One of: aed, afn, all, amd, ars, aud, azn, bam, bdt, bgn, bhd, bif, bnd, bob, brl, bwp, byn, bzd, cad, cdf, chf, clp, cny, cop, crc, cve, czk, djf, dkk, dop, dzd, eek, egp, ern, etb, eur, gbp, gel, ghs, gnf, gtq, hkd, hnl, hrk, huf, idr, ils, inr, iqd, irr, isk, jmd, jod, jpy, kes, khr, kmf, krw, kwd, kzt, lbp, lkr, ltl, lvl, lyd, mad, mdl, mga, mkd, mmk, mop, mur, mxn, myr, mzn, nad, ngn, nio, nok, npr, nzd, omr, pab, pen, php, pkr, pln, pyg, qar, ron, rsd, rub, rwf, sar, sdg, sek, sgd, sos, syp, thb, tnd, top, try, ttd, twd, tzs, uah, ugx, usd, uyu, uzs, vef, vnd, xaf, xof, yer, zar, zmk, zwl.
  - `lang` (optional): Two-letter language code (such as `en` or `zh`) for search, profile, restaurants, and attractions. The reviews action does not take this parameter. One of: aa, ab, ae, af, ak, am, an, ar, as, av, ay, az, ba, be, bg, bh, bi, bm, bn, bo, br, bs, ca, ce, ch, co, cr, cs, cu, cv, cy, da, de, dv, ee, el, en, eo, es, et, eu, fa, ff, fi, fj, fo, fr, fy, ga, gd, gl, gn, gu, gv, ha, he, hi, ho, hr, ht, hu, hy, hz, ia, id, ie, ig, ii, ik, io, is, it, iu, iw, ja, jv, ka, kg, ki, kj, kk, kl, km, kn, ko, kr, ks, ku, kv, kw, ky, la, lb, lg, li, ln, lo, lt, lu, lv, mg, mh, mi, mk, ml, mn, mr, ms, mt, my, na, nb, nd, ne, ng, nl, nn, no, nr, nv, ny, oc, oj, om, or, os, pa, pi, pl, ps, pt, qu, rm, rn, ro, ru, rw, sa, sc, sd, se, sg, si, sk, sl, sm, sn, so, sq, sr, ss, st, su, sv, sw, ta, te, tg, th, ti, tk, tl, tn, to, tr, ts, tt, tw, ty, ug, uk, ur, uz, ve, vi, vo, wa, wo, xh, yi, yo, za, zh.
- Returns fields: id, name, category, url, text, rating, rating_scale, review_count, price_level, ranking, address, city, country, location, phone, email, website, latitude, longitude, image_url, platform, cuisines
- Capability page: [https://everyinfra.com/en/tripadvisor-api/profile](https://everyinfra.com/en/tripadvisor-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/tripadvisor-api/profile.md)

### reviews — Reviews
Pull traveler reviews of a TripAdvisor hotel, restaurant or attraction, with rating, trip type and date, reviewer details and owner responses. Judge freshness by `trip_date` rather than `posted_at`, and do not expect every review of the place.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `url` (required): Target TripAdvisor venue URL for `profile` and `reviews` actions, pointing directly to a hotel, restaurant, or attraction listing rather than a city directory. In `profile`, it fetches venue details rather than user profile data.
- Returns fields: id, url, title, text, rating, rating_scale, like_count, author_name, author_username, author_location, author_contributions, trip_type, trip_date, posted_at, language, platform, owner_response, image_urls
- Capability page: [https://everyinfra.com/en/tripadvisor-api/reviews](https://everyinfra.com/en/tripadvisor-api/reviews?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/tripadvisor-api/reviews.md)

### restaurants — Restaurants
Find restaurants on TripAdvisor by keyword with cuisines, rating, review count, rank in the city, price tier and contact details. Table availability, menus and current opening hours are not confirmed.
- Sync delivery · Price: $1.39 per 1,000 requests (every 10 rows count as one call)
- Catalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Search query string for location lookup. The `search` action queries across hotels, restaurants, and attractions, while `restaurants` and `attractions` restrict search to their respective domain. Appending a city name helps disambiguate venues with identical names. This parameter does not perform full-text review searches.
  - `content_type` (optional): Filters location photos by source. Allowed values are `from_everyone` (all photos), `from_management` (owner uploads), and `from_travelers` (visitor uploads). It does not filter location categories like hotels, restaurants, or attractions; choose the corresponding action to target specific location types. One of: from_everyone, from_management, from_travelers.
  - `currency` (optional): Currency code for displayed location prices, defaulting to `usd` (common options include `eur`, `gbp`, and `cny`). The full schema enumeration is preserved, but supported historical codes may not yield active real-time prices. This parameter does not alter API billing currency. One of: aed, afn, all, amd, ars, aud, azn, bam, bdt, bgn, bhd, bif, bnd, bob, brl, bwp, byn, bzd, cad, cdf, chf, clp, cny, cop, crc, cve, czk, djf, dkk, dop, dzd, eek, egp, ern, etb, eur, gbp, gel, ghs, gnf, gtq, hkd, hnl, hrk, huf, idr, ils, inr, iqd, irr, isk, jmd, jod, jpy, kes, khr, kmf, krw, kwd, kzt, lbp, lkr, ltl, lvl, lyd, mad, mdl, mga, mkd, mmk, mop, mur, mxn, myr, mzn, nad, ngn, nio, nok, npr, nzd, omr, pab, pen, php, pkr, pln, pyg, qar, ron, rsd, rub, rwf, sar, sdg, sek, sgd, sos, syp, thb, tnd, top, try, ttd, twd, tzs, uah, ugx, usd, uyu, uzs, vef, vnd, xaf, xof, yer, zar, zmk, zwl.
  - `lang` (optional): Two-letter language code (such as `en` or `zh`) for search, profile, restaurants, and attractions. The reviews action does not take this parameter. One of: aa, ab, ae, af, ak, am, an, ar, as, av, ay, az, ba, be, bg, bh, bi, bm, bn, bo, br, bs, ca, ce, ch, co, cr, cs, cu, cv, cy, da, de, dv, ee, el, en, eo, es, et, eu, fa, ff, fi, fj, fo, fr, fy, ga, gd, gl, gn, gu, gv, ha, he, hi, ho, hr, ht, hu, hy, hz, ia, id, ie, ig, ii, ik, io, is, it, iu, iw, ja, jv, ka, kg, ki, kj, kk, kl, km, kn, ko, kr, ks, ku, kv, kw, ky, la, lb, lg, li, ln, lo, lt, lu, lv, mg, mh, mi, mk, ml, mn, mr, ms, mt, my, na, nb, nd, ne, ng, nl, nn, no, nr, nv, ny, oc, oj, om, or, os, pa, pi, pl, ps, pt, qu, rm, rn, ro, ru, rw, sa, sc, sd, se, sg, si, sk, sl, sm, sn, so, sq, sr, ss, st, su, sv, sw, ta, te, tg, th, ti, tk, tl, tn, to, tr, ts, tt, tw, ty, ug, uk, ur, uz, ve, vi, vo, wa, wo, xh, yi, yo, za, zh.
- Returns fields: id, name, category, url, text, rating, rating_scale, review_count, price_level, ranking, address, city, country, location, phone, email, website, latitude, longitude, image_url, platform, cuisines
- Capability page: [https://everyinfra.com/en/tripadvisor-api/restaurants](https://everyinfra.com/en/tripadvisor-api/restaurants?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/tripadvisor-api/restaurants.md)

### attractions — Attractions
Browse TripAdvisor attractions for a city or named sight, with category, rating, review count, rank among local attractions and address. No tickets are sold, and opening times or accessibility are not guaranteed.
- Sync delivery · Price: $1.39 per 1,000 requests (every 10 rows count as one call)
- Catalog values: defaultLimit=10, maxLimit=30. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Search query string for location lookup. The `search` action queries across hotels, restaurants, and attractions, while `restaurants` and `attractions` restrict search to their respective domain. Appending a city name helps disambiguate venues with identical names. This parameter does not perform full-text review searches.
  - `content_type` (optional): Filters location photos by source. Allowed values are `from_everyone` (all photos), `from_management` (owner uploads), and `from_travelers` (visitor uploads). It does not filter location categories like hotels, restaurants, or attractions; choose the corresponding action to target specific location types. One of: from_everyone, from_management, from_travelers.
  - `currency` (optional): Currency code for displayed location prices, defaulting to `usd` (common options include `eur`, `gbp`, and `cny`). The full schema enumeration is preserved, but supported historical codes may not yield active real-time prices. This parameter does not alter API billing currency. One of: aed, afn, all, amd, ars, aud, azn, bam, bdt, bgn, bhd, bif, bnd, bob, brl, bwp, byn, bzd, cad, cdf, chf, clp, cny, cop, crc, cve, czk, djf, dkk, dop, dzd, eek, egp, ern, etb, eur, gbp, gel, ghs, gnf, gtq, hkd, hnl, hrk, huf, idr, ils, inr, iqd, irr, isk, jmd, jod, jpy, kes, khr, kmf, krw, kwd, kzt, lbp, lkr, ltl, lvl, lyd, mad, mdl, mga, mkd, mmk, mop, mur, mxn, myr, mzn, nad, ngn, nio, nok, npr, nzd, omr, pab, pen, php, pkr, pln, pyg, qar, ron, rsd, rub, rwf, sar, sdg, sek, sgd, sos, syp, thb, tnd, top, try, ttd, twd, tzs, uah, ugx, usd, uyu, uzs, vef, vnd, xaf, xof, yer, zar, zmk, zwl.
  - `lang` (optional): Two-letter language code (such as `en` or `zh`) for search, profile, restaurants, and attractions. The reviews action does not take this parameter. One of: aa, ab, ae, af, ak, am, an, ar, as, av, ay, az, ba, be, bg, bh, bi, bm, bn, bo, br, bs, ca, ce, ch, co, cr, cs, cu, cv, cy, da, de, dv, ee, el, en, eo, es, et, eu, fa, ff, fi, fj, fo, fr, fy, ga, gd, gl, gn, gu, gv, ha, he, hi, ho, hr, ht, hu, hy, hz, ia, id, ie, ig, ii, ik, io, is, it, iu, iw, ja, jv, ka, kg, ki, kj, kk, kl, km, kn, ko, kr, ks, ku, kv, kw, ky, la, lb, lg, li, ln, lo, lt, lu, lv, mg, mh, mi, mk, ml, mn, mr, ms, mt, my, na, nb, nd, ne, ng, nl, nn, no, nr, nv, ny, oc, oj, om, or, os, pa, pi, pl, ps, pt, qu, rm, rn, ro, ru, rw, sa, sc, sd, se, sg, si, sk, sl, sm, sn, so, sq, sr, ss, st, su, sv, sw, ta, te, tg, th, ti, tk, tl, tn, to, tr, ts, tt, tw, ty, ug, uk, ur, uz, ve, vi, vo, wa, wo, xh, yi, yo, za, zh.
- Returns fields: id, name, category, url, text, rating, rating_scale, review_count, price_level, ranking, address, city, country, location, phone, email, website, latitude, longitude, image_url, platform, cuisines
- Capability page: [https://everyinfra.com/en/tripadvisor-api/attractions](https://everyinfra.com/en/tripadvisor-api/attractions?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/tripadvisor-api/attractions.md)

## TripAdvisor API questions

### What can I retrieve with the TripAdvisor API?

Set `platform` to `tripadvisor`. The current catalog lists search, details, reviews, restaurants, and attractions. These action names identify different TripAdvisor objects or views; they are not interchangeable search modes.

### Which input starts the TripAdvisor `search` request?

Search query string for location lookup. The `search` action queries across hotels, restaurants, and attractions, while `restaurants` and `attractions` restrict search to their respective domain. Appending a city name helps disambiguate venues with identical names. This parameter does not perform full-text review searches. Send it as `keyword` inside `params`.

### Which fields can TripAdvisor `search` return?

Its declared schema includes `name`, `category`, `text`, and `rating`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every TripAdvisor action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=tripadvisor
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
