Tripadvisor

List Tripadvisor attractions in a city

List the attractions and things to do in a Tripadvisor city or region, with ratings, categories and short descriptions.

GET/v1/tripadvisor/attractions
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
geoIdintegerrequiredquery

Tripadvisor geo id of a city or region, e.g. `60763` (New York City): the `g` number in a Tripadvisor address, or `locationId` of a `geo` search result.

≥ 1 · ≤ 2147483647

cursorstringoptionalquery

Pass `page.nextCursor` from the previous response to get the next page. Omit it for the first page.

min 1 chars · max 1024 chars · pattern: ^[A-Za-z0-9_-]+$

Response fields
36

Endpoint-specific response payload.

datalookupStatus
string

`not_found` when no city or region has this geo id.

one of: found, not_found

datageoId
integer

The geo id asked for.

datatotalCount
integernullable

Places in the list, as the page counts them. Can be more than the list reaches: see `truncated`.

datatruncated
boolean

True when the site's list stops before the end, at 10,000 places: paging ends there although `totalCount` is larger. Narrow by a smaller geo id to reach the rest.

Places on this page, in the site's own order. Sponsored places are left out.

dataplaces[]locationId
integer

Tripadvisor location id.

dataplaces[]type
string

Kind of place: `hotel`, `restaurant` or `attraction`.

one of: hotel, restaurant, attraction

dataplaces[]name
string

Name of the place.

dataplaces[]url
string

The place's Tripadvisor page.

dataplaces[]rating
numbernullable

Average traveller rating, 1 to 5, to one decimal.

dataplaces[]reviewCount
integernullable

Reviews.

dataplaces[]ranking
stringnullable

Rank in its city as the site words it, e.g. `#86 of 1,219 hotels in London`.

Latitude and longitude.

dataplaces[]coordinateslatitude
number
dataplaces[]coordinateslongitude
number
dataplaces[]address
stringnullable

The whole address on one line, when the list shows it.

dataplaces[]phone
stringnullable

Phone number, when the list shows it.

dataplaces[]priceRange
stringnullable

Price level, e.g. `$$ - $$$`, for restaurants.

Cuisines, for restaurants; empty for other places.

dataplaces[]cuisines[]
stringoptional

Kinds of attraction, e.g. `Parks`; empty for other places.

dataplaces[]categories[]
stringoptional
dataplaces[]description
stringnullable

The short description the list shows, when it shows one.

dataplaces[]image
stringnullable

Main photo URL. Link only; not hosted by Social Fetch.

dataplaces[]award
stringnullable

The site's award for the year, e.g. `Travellers' Choice 2026`, when it shows one.

Pagination state for the current page.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Pass as `cursor` to get the next page; null on the last page.

datapageoffset
integer

Position of this page's first row in the full list.

≥ 0

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metastale
booleanoptional

Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.

one of: true

metafetchedAt
stringoptional

When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.

Code example

curl "https://api.socialfetch.dev/v1/tripadvisor/attractions?geoId=187147" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Attractions and things to do in a Tripadvisor city or region.