# Tripadvisor Search

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.

Documentation: https://openany.si/tripadvisor/tripadvisor-search-ed7ca4c6/46d83260-0307-4b71-82e1-1dc785111c07/
API ID: 46d83260-0307-4b71-82e1-1dc785111c07
Provider: litescrape
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/tripadvisor/search
Page update time: 2026-12-03T02:48:56.225Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:48:55.735Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## 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.

## 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. |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Tripadvisor Search request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "description": "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
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "q": "coffee Austin Texas"
        }
      ],
      "properties": {
        "geo_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional positive Tripadvisor geography identifier.",
          "title": "Geo Id",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Geography ID",
            "placeholder": "30196",
            "summary": "Optional positive Tripadvisor geography identifier."
          }
        },
        "lat": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional search-center latitude; requires lon.",
          "title": "Lat",
          "x-litescrape": {
            "conditional": true,
            "formGroup": 0,
            "group": 0,
            "label": "Latitude",
            "placeholder": "30.27",
            "summary": "Optional search-center latitude; requires lon."
          }
        },
        "locale": {
          "default": "en-US",
          "description": "Language or language-COUNTRY code.",
          "title": "Locale",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Locale",
            "placeholder": "en-US",
            "summary": "Language or language-COUNTRY code."
          }
        },
        "lon": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional search-center longitude; requires lat.",
          "title": "Lon",
          "x-litescrape": {
            "conditional": true,
            "formGroup": 0,
            "group": 0,
            "label": "Longitude",
            "placeholder": "-97.74",
            "summary": "Optional search-center longitude; requires lat."
          }
        },
        "num": {
          "default": 30,
          "description": "Result count from 1 through 30.",
          "title": "Num",
          "type": "integer",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "kind": "number",
            "label": "Result count",
            "placeholder": "5",
            "summary": "Result count from 1 through 30."
          }
        },
        "page_token": {
          "default": "",
          "description": "Use pagination.next_page_token with the next start offset and the same search settings to fetch the next page directly.\n\nFollow pagination.next to preserve all pagination parameters automatically. Some searches may require another lookup before a continuation token is available.",
          "maxLength": 16000,
          "title": "Page Token",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Page token",
            "notes": [
              "Follow pagination.next to preserve all pagination parameters automatically. Some searches may require another lookup before a continuation token is available."
            ],
            "placeholder": "",
            "summary": "Use pagination.next_page_token with the next start offset and the same search settings to fetch the next page directly."
          }
        },
        "place_type": {
          "default": "all",
          "description": "Result entity type.",
          "enum": [
            "all",
            "accommodation",
            "attraction",
            "attraction_product",
            "eatery",
            "geo"
          ],
          "title": "Place Type",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "kind": "select",
            "label": "Place type",
            "options": [
              {
                "label": "all",
                "value": "all"
              },
              {
                "label": "accommodation",
                "value": "accommodation"
              },
              {
                "label": "attraction",
                "value": "attraction"
              },
              {
                "label": "attraction_product",
                "value": "attraction_product"
              },
              {
                "label": "eatery",
                "value": "eatery"
              },
              {
                "label": "geo",
                "value": "geo"
              }
            ],
            "summary": "Result entity type."
          }
        },
        "q": {
          "description": "Required search text, up to 500 characters.",
          "title": "Q",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Query",
            "placeholder": "coffee",
            "summary": "Required search text, up to 500 characters."
          }
        },
        "start": {
          "default": 0,
          "description": "Result offset from 0 through 10,000.",
          "title": "Start",
          "type": "integer",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "kind": "number",
            "label": "Start offset",
            "placeholder": "0",
            "summary": "Result offset from 0 through 10,000."
          }
        },
        "tripadvisor_domain": {
          "default": "www.tripadvisor.com",
          "description": "Supported localized Tripadvisor hostname.",
          "title": "Tripadvisor Domain",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Tripadvisor domain",
            "placeholder": "www.tripadvisor.com",
            "summary": "Supported localized Tripadvisor hostname."
          }
        }
      },
      "required": [
        "q"
      ],
      "title": "Request",
      "type": "object",
      "description": "Search Tripadvisor hotels, restaurants and attractions."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "map_previews": {
      "type": "null"
    },
    "pagination": {
      "type": "null"
    },
    "search_information": {
      "type": "null"
    },
    "search_metadata": {
      "type": "null"
    },
    "search_parameters": {
      "type": "null"
    },
    "search_results": {
      "type": "null"
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```bash
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"
}'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "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>"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## 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.

## Available implementations
- litescrape: https://openany.si/tripadvisor/tripadvisor-search-ed7ca4c6/46d83260-0307-4b71-82e1-1dc785111c07/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
