APITravel — TripAdvisorTripAdvisor — Hotels

TripAdvisor — Hotels

Hotels at a geo URL.

GET/api/v1/travel/tripadvisor/hotelsFreeraw=true
URL with `Hotels-g…`.

Query / path parameters

url
url·queryrequired
TripAdvisor hotels URL.
Example: https://www.tripadvisor.com/Hotels-g189158-Lisbon-Hotels.html
limit
integer·query
Max items to return.
Default: 30
proxy
string·query
Full proxy URL (http://user:pass@host:port). Mutually exclusive with proxy_id / use_logpose_*.
proxy_id
string·query
ID of a saved proxy from /api/v1/proxies. Picks one of your stored proxies.
proxy_list_id
string·query
ID of a saved proxy list. The wrapper rotates through healthy proxies in the list and marks failures.
use_logpose_datacenter
boolean·query
Route through a datacenter proxy — supply your own via `proxy` / `proxy_id`. Best for easier targets.
Default: false
use_logpose_proxy
boolean·query
Route through a residential proxy — supply your own via `proxy` / `proxy_id`. Needed for hard-blocked targets.
Default: false
raw
boolean·query
When true, the executor captures the pre-parse scraper response alongside the typed result. Each platform captures its native shape: **Amazon / eBay / Etsy / Alibaba / Walmart / Realtor (browser path) / Zillow (property page)** = HTML; **Booking / TripAdvisor / Instagram / TikTok / Realtor (search) / Zillow (search)** = GraphQL/internal-API JSON. **Facebook** is the only exception — raw is not stored. Fetch via `GET /api/v1/jobs/:id/result?raw=true` or `GET /api/v1/results/:id?raw=true`.
Default: false

Response

placeholder inline shape — run scripts/dump_doc_samples.py on the server to populate real samples.
{
  "hotels": [
    {
      "location_id": "1234567",
      "name": "Lisbon Plaza",
      "rating": 4.5,
      "num_reviews": 2341,
      "price_level": "$$"
    }
  ]
}
API Key

Paste your full key once — cached in this browser for 7 days, then cleared.

const res = await fetch("https://api.logposervices.com/api/v1/travel/tripadvisor/hotels", {
  method: "GET",
  headers: {
    "X-API-Key": "<YOUR_API_KEY>",
  },
});
const data = await res.json();
Try it
Base URL
https://api.logposervices.com
Query
urlurlrequired
limitinteger
proxystring
proxy_idstring
proxy_list_idstring
use_logpose_datacenterboolean
use_logpose_proxyboolean
rawboolean
Response

Click Send Request above to try this endpoint.