Agentic Search
Recommendations
Returns AI-powered Location recommendations for a natural-language query.
<p>Accepts a free-text query plus optional geographic context, category filters, and a result limit, and returns a ranked set of recommended Locations (and Experiences), each with supporting review citations. Built on Tripadvisor's user-generated content and metadata for use in agentic workflows.post/recommendations/search
Request
- Base URLhttps://terra.tripadvisor.com/api
- URLhttps://terra.tripadvisor.com/api/recommendations/search
- AuthAPI key in header X-API-Key
Query parameters
localestring[]
preferred locales for localized fields in the recommended results, in priority order; falls back to the default locale when omitted
Request body
Example request
{
"geo": {
"name": "'Paris', 'Boston MA', 'Brooklyn, New York, USA'"
}
}Response
the ranked recommendation results for the query
Example response
{
"search_results": [
{
"location": {
"opening_hours": {
"periods": [
{
"closes": "20:00:00",
"opens": "08:00:00"
}
]
}
}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.