API Hop

Documentation

API Hop Docs

TripAdvisor endpoint reference

Search Tripadvisor places and retrieve place details and reviews.

Concurrency limit

AI and Data each share an account-wide pool of concurrent slots: 5 AI / 2 Data by default, adjusted by your subscription. Endpoint overrides still cannot exceed the category pool. Reaching either limit returns HTTP 429. Asynchronous tasks occupy a slot until execution ends.

GET /v1/tripadvisor/search
Default limit: 2
GET /v1/tripadvisor/place
Default limit: 2
GET /v1/tripadvisor/reviews
Default limit: 2

Search Tripadvisor places and retrieve place details and reviews.

Authentication and billing

The default price is $0.0003 (300 credits) per successful request. Use your API Hop API key. Availability depends on active gateways and key permissions. Check the current catalog and your account for the price per successful request; account-specific pricing takes precedence. Successful empty results are billable. Failed requests release the credit reservation. Requests time out after 60 seconds, with no automatic retry or pagination. Settlement failures never repeat the upstream request.

http
Authorization: Bearer YOUR_API_KEY

Tripadvisor: Search places

GET https://api.apihop.ai/v1/tripadvisor/search

Request parameters

FieldTypeConstraintsExample
querystringText to search for on the selected service. At most 8,192 UTF-8 bytes.; query: REQUIREDrestaurants in Austin
locationstringLocation to search around, such as Austin, TX.; location: optional-
languagestringSupported Tripadvisor language or regional language code. Defaults to the selected domain language; reviews are translated when available and retain their original language.; language: optional-
next_page_tokenstringCopy the opaque next_page_token from the previous response using the same account, search parameters, device, and result limit. Tokens expire after one hour; restart pagination if rejected or expired.; next_page_token: optional; UTF-8 bytes: 24576-
limitintegerMaximum number of items to return. The provider may return fewer.; limit: optional; min: 1; max: 1001
devicestringDevice presentation for the source request.; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanDo not archive source or parsed response artifacts.; zero_trace: optionaltrue
latitudenumberLatitude; requires longitude.; latitude: optional; min: -90; max: 90-90
longitudenumberLongitude; requires latitude.; longitude: optional; min: -180; max: 180-180
ssrcstringSearch scope: a all places, r restaurants, A attractions and activities, h hotels, g destinations, f forum topics.; ssrc: optional; a, r, A, h, g, fa
offsetintegerNumber of results to skip, up to 1000. Use this or next_page_token.; offset: optional; min: 0; max: 10000
tripadvisor_domainstringTripadvisor locale domain. Defaults to www.tripadvisor.com, or the domain of a supplied place URL.; tripadvisor_domain: optional; ar.tripadvisor.com, cn.tripadvisor.com, en.tripadvisor.com.hk, fr.tripadvisor.be, fr.tripadvisor.ca, fr.tripadvisor.ch, it.tripadvisor.ch, no.tripadvisor.com, th.tripadvisor.com, tripadvisor.at, tripadvisor.be, tripadvisor.ca, tripadvisor.ch, tripadvisor.cl, tripadvisor.co, tripadvisor.co.id, tripadvisor.co.il, tripadvisor.co.kr, tripadvisor.co.nz, tripadvisor.co.uk, tripadvisor.co.za, tripadvisor.com, tripadvisor.com.ar, tripadvisor.com.au, tripadvisor.com.br, tripadvisor.com.eg, tripadvisor.com.gr, tripadvisor.com.hk, tripadvisor.com.mx, tripadvisor.com.my, tripadvisor.com.pe, tripadvisor.com.ph, tripadvisor.com.sg, tripadvisor.com.tr, tripadvisor.com.tw, tripadvisor.com.ve, tripadvisor.com.vn, tripadvisor.de, tripadvisor.dk, tripadvisor.es, tripadvisor.fr, tripadvisor.ie, tripadvisor.in, tripadvisor.it, tripadvisor.jp, tripadvisor.nl, tripadvisor.pt, tripadvisor.ru, tripadvisor.se, www.tripadvisor.at, www.tripadvisor.be, www.tripadvisor.ca, www.tripadvisor.ch, www.tripadvisor.cl, www.tripadvisor.co, www.tripadvisor.co.id, www.tripadvisor.co.il, www.tripadvisor.co.kr, www.tripadvisor.co.nz, www.tripadvisor.co.uk, www.tripadvisor.co.za, www.tripadvisor.com, www.tripadvisor.com.ar, www.tripadvisor.com.au, www.tripadvisor.com.br, www.tripadvisor.com.eg, www.tripadvisor.com.gr, www.tripadvisor.com.hk, www.tripadvisor.com.mx, www.tripadvisor.com.my, www.tripadvisor.com.pe, www.tripadvisor.com.ph, www.tripadvisor.com.sg, www.tripadvisor.com.tr, www.tripadvisor.com.tw, www.tripadvisor.com.ve, www.tripadvisor.com.vn, www.tripadvisor.de, www.tripadvisor.dk, www.tripadvisor.es, www.tripadvisor.fr, www.tripadvisor.ie, www.tripadvisor.in, www.tripadvisor.it, www.tripadvisor.jp, www.tripadvisor.nl, www.tripadvisor.pt, www.tripadvisor.ru, www.tripadvisor.sear.tripadvisor.com

Validation rules

Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • latitude => longitude; longitude => latitude
  • NOT (next_page_token AND offset); next_page_token: opaque, expires after 1 hour; keep account, filters, device and limit unchanged

Examples

bash
curl --get "https://api.apihop.ai/v1/tripadvisor/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=restaurants in Austin"

Tripadvisor: Get place details

GET https://api.apihop.ai/v1/tripadvisor/place

Request parameters

FieldTypeConstraintsExample
idstringPositive Tripadvisor place ID up to 2147483647, or a canonical destination, restaurant, hotel, attraction, activity or airline URL.; id: REQUIRED27936245
languagestringSupported Tripadvisor language or regional language code. Defaults to the selected domain language; reviews are translated when available and retain their original language.; language: optional-
devicestringDevice presentation for the source request.; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanDo not archive source or parsed response artifacts.; zero_trace: optionaltrue
tripadvisor_domainstringTripadvisor locale domain. Defaults to www.tripadvisor.com, or the domain of a supplied place URL.; tripadvisor_domain: optional; ar.tripadvisor.com, cn.tripadvisor.com, en.tripadvisor.com.hk, fr.tripadvisor.be, fr.tripadvisor.ca, fr.tripadvisor.ch, it.tripadvisor.ch, no.tripadvisor.com, th.tripadvisor.com, tripadvisor.at, tripadvisor.be, tripadvisor.ca, tripadvisor.ch, tripadvisor.cl, tripadvisor.co, tripadvisor.co.id, tripadvisor.co.il, tripadvisor.co.kr, tripadvisor.co.nz, tripadvisor.co.uk, tripadvisor.co.za, tripadvisor.com, tripadvisor.com.ar, tripadvisor.com.au, tripadvisor.com.br, tripadvisor.com.eg, tripadvisor.com.gr, tripadvisor.com.hk, tripadvisor.com.mx, tripadvisor.com.my, tripadvisor.com.pe, tripadvisor.com.ph, tripadvisor.com.sg, tripadvisor.com.tr, tripadvisor.com.tw, tripadvisor.com.ve, tripadvisor.com.vn, tripadvisor.de, tripadvisor.dk, tripadvisor.es, tripadvisor.fr, tripadvisor.ie, tripadvisor.in, tripadvisor.it, tripadvisor.jp, tripadvisor.nl, tripadvisor.pt, tripadvisor.ru, tripadvisor.se, www.tripadvisor.at, www.tripadvisor.be, www.tripadvisor.ca, www.tripadvisor.ch, www.tripadvisor.cl, www.tripadvisor.co, www.tripadvisor.co.id, www.tripadvisor.co.il, www.tripadvisor.co.kr, www.tripadvisor.co.nz, www.tripadvisor.co.uk, www.tripadvisor.co.za, www.tripadvisor.com, www.tripadvisor.com.ar, www.tripadvisor.com.au, www.tripadvisor.com.br, www.tripadvisor.com.eg, www.tripadvisor.com.gr, www.tripadvisor.com.hk, www.tripadvisor.com.mx, www.tripadvisor.com.my, www.tripadvisor.com.pe, www.tripadvisor.com.ph, www.tripadvisor.com.sg, www.tripadvisor.com.tr, www.tripadvisor.com.tw, www.tripadvisor.com.ve, www.tripadvisor.com.vn, www.tripadvisor.de, www.tripadvisor.dk, www.tripadvisor.es, www.tripadvisor.fr, www.tripadvisor.ie, www.tripadvisor.in, www.tripadvisor.it, www.tripadvisor.jp, www.tripadvisor.nl, www.tripadvisor.pt, www.tripadvisor.ru, www.tripadvisor.sear.tripadvisor.com

Validation rules

Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • id: positive integer string <= 2147483647 OR canonical HTTPS Tripadvisor URL; no query, fragment, credentials or port

Examples

bash
curl --get "https://api.apihop.ai/v1/tripadvisor/place" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "id=27936245"

Tripadvisor: Get reviews

GET https://api.apihop.ai/v1/tripadvisor/reviews

Request parameters

FieldTypeConstraintsExample
idstringPositive Tripadvisor place ID up to 2147483647, or a canonical destination, restaurant, hotel, attraction, activity or airline URL.; id: REQUIRED27936245
languagestringSupported Tripadvisor language or regional language code. Defaults to the selected domain language; reviews are translated when available and retain their original language.; language: optional-
next_page_tokenstringCopy the opaque next_page_token from the previous response using the same account, search parameters, device, and result limit. Tokens expire after one hour; restart pagination if rejected or expired.; next_page_token: optional; UTF-8 bytes: 24576-
limitintegerMaximum number of items to return. The provider may return fewer.; limit: optional; min: 1; max: 201
sort_bystringThe provider's supported sort order.; sort_by: optional; recommended, newest, most_recent, detailed_reviewrecommended
devicestringDevice presentation for the source request.; device: optional; desktop, mobile, tabletdesktop
zero_tracebooleanDo not archive source or parsed response artifacts.; zero_trace: optionaltrue
ratingstringComma-separated distinct star ratings from 1 to 5.; rating: optional-
monthstringComma-separated distinct publication months from 1 (January) to 12 (December).; month: optional-
offsetintegerNumber of reviews to skip. Use this or next_page_token.; offset: optional; min: 0; max: 1000000
tripadvisor_domainstringTripadvisor locale domain. Defaults to www.tripadvisor.com, or the domain of a supplied place URL.; tripadvisor_domain: optional; ar.tripadvisor.com, cn.tripadvisor.com, en.tripadvisor.com.hk, fr.tripadvisor.be, fr.tripadvisor.ca, fr.tripadvisor.ch, it.tripadvisor.ch, no.tripadvisor.com, th.tripadvisor.com, tripadvisor.at, tripadvisor.be, tripadvisor.ca, tripadvisor.ch, tripadvisor.cl, tripadvisor.co, tripadvisor.co.id, tripadvisor.co.il, tripadvisor.co.kr, tripadvisor.co.nz, tripadvisor.co.uk, tripadvisor.co.za, tripadvisor.com, tripadvisor.com.ar, tripadvisor.com.au, tripadvisor.com.br, tripadvisor.com.eg, tripadvisor.com.gr, tripadvisor.com.hk, tripadvisor.com.mx, tripadvisor.com.my, tripadvisor.com.pe, tripadvisor.com.ph, tripadvisor.com.sg, tripadvisor.com.tr, tripadvisor.com.tw, tripadvisor.com.ve, tripadvisor.com.vn, tripadvisor.de, tripadvisor.dk, tripadvisor.es, tripadvisor.fr, tripadvisor.ie, tripadvisor.in, tripadvisor.it, tripadvisor.jp, tripadvisor.nl, tripadvisor.pt, tripadvisor.ru, tripadvisor.se, www.tripadvisor.at, www.tripadvisor.be, www.tripadvisor.ca, www.tripadvisor.ch, www.tripadvisor.cl, www.tripadvisor.co, www.tripadvisor.co.id, www.tripadvisor.co.il, www.tripadvisor.co.kr, www.tripadvisor.co.nz, www.tripadvisor.co.uk, www.tripadvisor.co.za, www.tripadvisor.com, www.tripadvisor.com.ar, www.tripadvisor.com.au, www.tripadvisor.com.br, www.tripadvisor.com.eg, www.tripadvisor.com.gr, www.tripadvisor.com.hk, www.tripadvisor.com.mx, www.tripadvisor.com.my, www.tripadvisor.com.pe, www.tripadvisor.com.ph, www.tripadvisor.com.sg, www.tripadvisor.com.tr, www.tripadvisor.com.tw, www.tripadvisor.com.ve, www.tripadvisor.com.vn, www.tripadvisor.de, www.tripadvisor.dk, www.tripadvisor.es, www.tripadvisor.fr, www.tripadvisor.ie, www.tripadvisor.in, www.tripadvisor.it, www.tripadvisor.jp, www.tripadvisor.nl, www.tripadvisor.pt, www.tripadvisor.ru, www.tripadvisor.sear.tripadvisor.com
type_of_visitstringComma-separated distinct visit types.; type_of_visit: optional-

Validation rules

Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • id: positive integer string <= 2147483647 OR canonical HTTPS Tripadvisor URL; no query, fragment, credentials or port
  • NOT (next_page_token AND offset); next_page_token: opaque, expires after 1 hour; keep account, filters, device and limit unchanged
  • rating: distinct 1..5; month: distinct 1..12; type_of_visit: distinct /^[A-Za-z_]+$/; lists comma-separated

Examples

bash
curl --get "https://api.apihop.ai/v1/tripadvisor/reviews" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "id=27936245"

Responses and errors

The native JSON response and numeric precision are preserved. The example below illustrates an empty successful result, not a live call. HTTP 400 means invalid input; 401 authentication required; 402 insufficient credit; 403 unavailable or unauthorized; 405 unsupported method; 429 rate limit; 5xx service or upstream failure. Keep X-Request-Id for diagnosis.

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}