OpenAny
Get API keyAPI Key
APIReviews & AppsScrapers

tripadvisor logo
Tripadvisor Search API

Search Tripadvisor via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by LiteScrape, pass parameters such as q, and retrieve structured data including nullable search-result container, pagination container when returned, and map-preview container when returned for travel discovery, and search continuation, ready for production pipelines and AI agent automation.

Selected price
$0.00015 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Statistics unavailable
Success rate · 30d
—Statistics unavailable
USE THIS API

Tripadvisor Search API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Tripadvisor Search API

Tripadvisor Search API

Send required q and optional place_type, geo_id or paired lat/lon in the JSON body. The envelope has nullable search_results, pagination and map_previews containers; continuation uses a returned token with its next offset and unchanged settings.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs JSON body requires q; optional body fields: geo_id, lat, locale, lon, num, page_token, place_type, start, tripadvisor_domain. Optional query parameter: timeout (greater than 0, at most 90 seconds).
Selected implementation litescrape · Tripadvisor Search
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Travel discovery: Query supported place types within a selected geography.
  • Search continuation: Keep text, location and locale fixed when using returned continuation data.

Response Envelope

Field Meaning
search_results Nullable search-result container.
pagination Pagination container when returned.
map_previews Map-preview container when returned.
search_information Search summary container when returned.

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request POST \
  https://api.openany.si/v1/agent-apis/litescrape/api/tripadvisor/search \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '{"q":"coffee Austin Texas"}'

Request and Response Examples

The response example is a schema template; placeholder values are not observed records. The documented request is a calling template; inspect the returned response for the selected implementation.

Published Tripadvisor Search API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Search Tripadvisor hotels, restaurants and attractions.
Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

Response template · not a real response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
litescrapeCurrent
Tripadvisor Search · POST · View API reference
$0.00015 / call—
—successP50—
Selected pricing · litescrapeUSD / call
Unit price
$0.00015

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.

calls

Total $0.015

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/tripadvisor/search
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
qJSON request bodybodystringYes

Required search text, up to 500 characters.

timeoutURL query parametersquerynumberNo

Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

maximum: 90

geo_idJSON request bodybodyinteger | nullNo

Optional positive Tripadvisor geography identifier.

latJSON request bodybodynumber | nullNo

Optional search-center latitude; requires lon.

localeJSON request bodybodystringNo

Language or language-COUNTRY code.

lonJSON request bodybodynumber | nullNo

Optional search-center longitude; requires lat.

numJSON request bodybodyintegerNo

Result count from 1 through 30.

page_tokenJSON request bodybodystringNo

Use pagination.next_page_token with the next start offset and the same search settings to fetch the next page directly. Follow pagination.next to preserve all pagination parameters automatically. Some searches may require another lookup before a continuation token is available.

maxLength: 16000

place_typeJSON request bodybodystringNo

Result entity type.

enum: "all", "accommodation", "attraction", "attraction_product", "eatery", "geo"

startJSON request bodybodyintegerNo

Result offset from 0 through 10,000.

tripadvisor_domainJSON request bodybodystringNo

Supported localized Tripadvisor hostname.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • map_previewsnull
  • paginationnull
  • search_informationnull
  • search_metadatanull
  • search_parametersnull
  • search_resultsnull
  • submit_feedback_for_this_response_herestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Schema template (HTTP assumed)

Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 2

    Review these request fields before running. Keep the published provider and request method unchanged.

    timeout
    Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
    body
    Search Tripadvisor hotels, restaurants and attractions.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/litescrape/api/tripadvisor/search' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "q": "coffee Austin Texas"
    }'
  3. Check the response

    Response template · not a real response · Configured HTTP 200; actual status is unverified.

    Response template · not a real response
    {
      "map_previews": null,
      "pagination": null,
      "search_information": null,
      "search_metadata": null,
      "search_parameters": null,
      "search_results": null,
      "submit_feedback_for_this_response_here": "<submit_feedback_for_this_response_here>"
    }

Common questions

Which place types can I search?

place_type accepts all, accommodation, attraction, attraction_product, eatery or geo. q is required and allows up to 500 characters.

Can I specify geography or coordinates?

Use a positive geo_id or provide lat and lon together for a search center. locale and tripadvisor_domain control localized source context independently.

How do result count and continuation work?

num is 1–30, default 30, and start is an offset from 0 to 10,000. Use a returned next_page_token with the next start and the same settings; some searches need another lookup before a continuation token is available.

Should null search_results be treated as a complete empty list?

Check the response status and actual returned structure first. Nullable result and pagination containers are not a fixed record schema or an exhaustive-results guarantee.

Where should I set the request timeout?

Set timeout in the query string, including for POST requests. It must be greater than 0 and at most 90 seconds; page_timeout cannot extend this total execution budget.

Can I add arbitrary parameters to the JSON body?

Use the body fields exposed by this implementation. Its JSON schema rejects additional properties; query parameters such as timeout belong outside the JSON body.

Use Tripadvisor Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.