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
- 1Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
Tripadvisor Search API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent Tripadvisor Search · POST · View API reference | $0.00015 / call | 1 | 100.00%successP501.11s |
- 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.
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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
q | JSON request bodybody | string | Yes | Required search text, up to 500 characters. |
timeout | URL query parametersquery | number | No | 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_id | JSON request bodybody | integer | null | No | Optional positive Tripadvisor geography identifier. |
lat | JSON request bodybody | number | null | No | Optional search-center latitude; requires lon. |
locale | JSON request bodybody | string | No | Language or language-COUNTRY code. |
lon | JSON request bodybody | number | null | No | Optional search-center longitude; requires lat. |
num | JSON request bodybody | integer | No | Result count from 1 through 30. |
page_token | JSON request bodybody | string | No | 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_type | JSON request bodybody | string | No | Result entity type. enum: "all", "accommodation", "attraction", "attraction_product", "eatery", "geo" |
start | JSON request bodybody | integer | No | Result offset from 0 through 10,000. |
tripadvisor_domain | JSON request bodybody | string | No | Supported localized Tripadvisor hostname. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
map_previewsnullpaginationnullsearch_informationnullsearch_metadatanullsearch_parametersnullsearch_resultsnullsubmit_feedback_for_this_response_herestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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" }'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>" }