Tripadvisor

DegradedRead-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
328ms
p50 latency
286
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.
stringRequiredin query

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

stringOptionalin query

TypeAhead result types

integerOptionalin query

Max results per page

integerOptionalin query

Result offset

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"
Example569 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
  }
}

Get all the data, no code

Collect every page of GET /search into a dataset, then download it as CSV or JSON. One credit per page; the download is free.