Skip to content

Tripadvisor Search v2 API

Resolve a place or venue name to up to 10 TripAdvisor locations of any kind (cities, hotels, attractions, tours, restaurants, ...): id, name, type, parent, coordinates, URL and a thumbnail, optionally ranked toward a lat/lng point.

GEThttps://api.maviapi.com/v1/sites/tripadvisor/search-v25 credits per call

Parameters

NameRequiredExampleDescription
qstring in queryOptionalGalata Towerplace or venue name, e.g. a city, landmark or hotel
latstring in queryOptionalNoneoptional latitude to rank results near (give together with lng)
lngstring in queryOptionalNoneoptional longitude to rank results near (give together with lat)
typesstring in queryOptionalNoneoptional comma list of kinds to search (geo, accommodation, attraction, attraction_product, eatery, airline, ship, cruise_line); omit for every kind

Response fields

querystringe.g."Galata Tower"
centernull
resultsobject[]7 fields
geo_idstringe.g."295194"
namestringe.g."Galata Tower"
typestringe.g."ATTRACTION"
parentstringe.g."Istanbul, Türkiye"
coordinatesobject2 fields
latitudenumbere.g.41.02558
longitudenumbere.g.28.97412
urlstringe.g."https://www.tripadvisor.com/Attraction_Review-g293974-d295194-Reviews-Galata_Tower-Istanbul.html"
thumbnailobject4 fields
urlstringe.g."https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1c/25/a7/16/galata-kulesi.jpg?w=400&h=-1&s=1"
url_templatestringe.g."https://dynamic-media-cdn.tripadvisor.com/media/photo-o/1c/25/a7/16/galata-kulesi.jpg?w={width}&h={height}&s=1"
max_widthintegere.g.782
max_heightintegere.g.1310
paginationobject3 fields
countintegere.g.10
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T17:55:11.836Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/tripadvisor/search-v2' \
  -H "Authorization: Bearer $MAVI_KEY"

Tripadvisor Search v2 API questions

What you get, what it costs and how to call it.

What does the Tripadvisor Search v2 API return?

Resolve a place or venue name to up to 10 TripAdvisor locations of any kind (cities, hotels, attractions, tours, restaurants, ...): id, name, type, parent, coordinates, URL and a thumbnail, optionally ranked toward a lat/lng point. The response has query, center, results, pagination, fetched_at and age.

Which parameters does the Tripadvisor Search v2 API take?

Every parameter of GET /search-v2 is optional. You can pass q, lat, lng and types.

How much does one Tripadvisor Search v2 API call cost?

One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the Tripadvisor Search v2 API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/tripadvisor/search-v2 with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the Tripadvisor Search v2 API official?

No. It is an independent, hosted API from maviapi for the public data on tripadvisor.com, and it is not made, endorsed or supported by Tripadvisor. Its parameters and response fields are documented on this page.