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
Version
8
Endpoints
293ms
p50 latency
11
Calls / 30d
GET/attractions

Attractions by location

Top attractions / things to do for a location (geo_id).

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

TripAdvisor geo_id from /search

integerOptionalin query

1-based source page (30 results each)

integerOptionalin query

Max items returned from the page

integerOptionalin query

Item offset within the page

booleanOptionalin query

Bypass and repopulate the cache

dataobject
cachedboolean
sourcestring
paginationobject
Try itLive
GET
https://api.maviapi.com/v1/sites/tripadvisor/attractions?geo=187147&page=1&limit=50&offset=0&refresh=false
Request
curl "https://api.maviapi.com/v1/sites/tripadvisor/attractions?geo=187147&page=1&limit=50&offset=0&refresh=false" \
-H "Authorization: Bearer $MAVI_KEY"
Example1.0 KB
{
  "data": {
    "location": {
      "geo_id": "187147",
      "name": "Paris",
      "country": "France",
      "region": "Ile-de-France",
      "city": "Paris",
      "coordinates": {
        "latitude": 48.857037,
        "longitude": 2.349401
      }
    },
    "attractions": [
      {
        "rank": 1,
        "id": "188151",
        "name": "Eiffel Tower",
        "url": "https://www.tripadvisor.com/Attraction_Review-g187147-d188151-Reviews-Eiffel_Tower-Paris_Ile_de_France.html",
        "rating": 4.6,
        "review_count": 143938,
        "category": "Points of Interest & Landmarks",
        "price": "Admission tickets from $67",
        "description": "Completed in 1889, this colossal landmark is now a famous symbol of French civic pride.",
        "coordinates": {
          "latitude": 48.858353,
          "longitude": 2.294464
        }
      }
    ]
  },
  "cached": false,
  "source": "tripadvisor:attractions-graphql",
  "pagination": {
    "total": 30,
    "limit": 50,
    "offset": 0,
    "count": 30,
    "has_more": false
  }
}

Get all the data, no code

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