Tripadvisor

Read-only

Trip-planning data from Tripadvisor: geo search plus attractions, restaurants and hotels by location (geo_id), with ratings, reviews, price and coordinates. Resolve a place name with /search, then list with /attractions, /restaurants, /hotels. Generated from www.tripadvisor.com.

Base URL
https://api.maviapi.com/v1/sites/tripadvisor
8
Endpoints
527ms
p50 latency
136
Calls / 30d
GET/search

Geo search

Geo search: resolve a place name to TripAdvisor locations (geo_id + coordinates).

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
q
stringRequiredin query

Place name to resolve, e.g. a city or country

types
stringOptionalin query

TypeAhead result types

limit
integerOptionalin query

Max results per page

offset
integerOptionalin query

Result offset

refresh
booleanOptionalin query

Bypass and repopulate the cache

dataobject
cachedboolean
sourcestring
paginationobject
Try itLive
GET
https://api.maviapi.com/v1/sites/tripadvisor/search?q=paris&types=geo&limit=50&offset=0&refresh=false
Request
curl "https://api.maviapi.com/v1/sites/tripadvisor/search?q=paris&types=geo&limit=50&offset=0&refresh=false" \
-H "Authorization: Bearer $MAVI_KEY"
200 OKexample · 569 B
{
  "data": {
    "query": "paris",
    "results": [
      {
        "geo_id": "187147",
        "name": "Paris, Ile-de-France, France",
        "type": "GEO",
        "coordinates": {
          "latitude": 48.857037,
          "longitude": 2.349401
        },
        "url": "/Tourism-g187147-Paris_Ile_de_France-Vacations.html",
        "parent": "Ile-de-France, France"
      }
    ]
  },
  "cached": false,
  "source": "tripadvisor:typeahead-graphql",
  "pagination": {
    "total": 10,
    "limit": 50,
    "offset": 0,
    "count": 10,
    "has_more": false
  }
}