Skip to content

Tripadvisor Search API

Resolve a place name to its 4 best-matching TripAdvisor geo locations (cities, regions, countries), best first: geo_id, name, type, parent, coordinates and URL.

GEThttps://api.maviapi.com/v1/sites/tripadvisor/search5 credits per call

Parameters

NameRequiredExampleDescription
qstring in queryOptionalparisplace name to resolve, e.g. a city or country
typesstring in queryOptionalNoneoptional comma list of kinds to search instead of geos (geo, accommodation, attraction, attraction_product, eatery, airline, ship, cruise_line); omit for cities, regions and countries

Response fields

querystringe.g."paris"
resultsobject[]6 fields
geo_idstringe.g."187147"
namestringe.g."Paris"
typestringe.g."CITY"
parentstringe.g."Ile-de-France, France"
coordinatesobject2 fields
latitudenumbere.g.48.857037
longitudenumbere.g.2.349401
urlstringe.g."https://www.tripadvisor.com/Tourism-g187147-Paris_Ile_de_France-Vacations.html"
paginationobject3 fields
countintegere.g.4
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T17:55:11.533Z"
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' \
  -H "Authorization: Bearer $MAVI_KEY"

Tripadvisor Search API questions

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

What does the Tripadvisor Search API return?

Resolve a place name to its 4 best-matching TripAdvisor geo locations (cities, regions, countries), best first: geo_id, name, type, parent, coordinates and URL. The response has query, results, pagination, fetched_at and age.

Which parameters does the Tripadvisor Search API take?

Every parameter of GET /search is optional. You can pass q and types.

How much does one Tripadvisor Search 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 API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/tripadvisor/search 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 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.