# Tripadvisor on Onekey > 16 endpoints for Tripadvisor (0 stable, 16 beta), 1 to 5 credits each. Category: Travel, local & reviews. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Access: 13 of 16 endpoints are marked "needs a pack" or "may need a pack": free-grant credits reach only the open fetch path; a verified email and a purchased pack unlock the rest. Page: https://onekey.dev/platforms/tripadvisor Reference (Markdown): https://onekey.dev/docs/api/tripadvisor.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 16 mapped Tripadvisor endpoints return each: - `entity.name` (string): 12 - `entity.id` (string): 11 - `entity.stats.rating` (number): 11 - `entity.description` (string): 10 - `entity.url` (URL): 10 - `entity.stats.ratingCount` (integer): 9 - `media.thumbnailUrl` (URL): 9 - `place.address` (string): 6 - `content.createdAt` (ISO 8601 date): 4 - `content.id` (string): 4 - `content.text` (string): 4 - `content.title` (string): 4 - `place.city` (string): 4 - `place.lat` (number): 4 - `place.lon` (number): 4 - `author.displayName` (string): 3 - `engagement.votes` (integer): 3 - `author.username` (string): 1 - `content.url` (URL): 1 - `entity.type` (string): 1 - plus 5 platform-specific fields under `ext.` ## Endpoints ### tripadvisor.attraction A TripAdvisor attraction. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tripadvisor/attraction?url_path=Attraction_Review-g293916-d311040-Reviews-Grand_Palace-Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `url_path` (string, required): Place url_path as returned by the search endpoints, or a full page URL - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `entity.stats.ratingCount`, `media.thumbnailUrl`, `place.address`, `place.city`, `place.lat`, `place.lon`, `ext.phone`, `ext.priceRange` - Reference: https://onekey.dev/docs/api/tripadvisor/attraction.md ### tripadvisor.attraction_reviews Reviews of a TripAdvisor attraction. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/attraction_reviews?url_path=Attraction_Review-g293916-d311040-Reviews-Grand_Palace-Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `url_path` (string, required): Place url_path as returned by the search endpoints, or a full page URL - Fields returned: `content.id`, `content.title`, `content.text`, `content.createdAt`, `author.displayName`, `engagement.votes`, `ext.rating` - Reference: https://onekey.dev/docs/api/tripadvisor/attraction_reviews.md ### tripadvisor.attractions Search TripAdvisor attractions and things to do. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/attractions?q=Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `entity.stats.ratingCount`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/tripadvisor/attractions.md ### tripadvisor.autocomplete Autocomplete TripAdvisor places. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/autocomplete?q=Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.name`, `entity.type` - Reference: https://onekey.dev/docs/api/tripadvisor/autocomplete.md ### tripadvisor.cruise A TripAdvisor cruise ship. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tripadvisor/cruise?url_path=Attraction_Review-g293916-d311040-Reviews-Grand_Palace-Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `url_path` (string, required): Place url_path as returned by the search endpoints, or a full page URL - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `entity.stats.ratingCount`, `media.thumbnailUrl`, `place.address`, `place.city`, `place.lat`, `place.lon`, `ext.phone`, `ext.priceRange` - Reference: https://onekey.dev/docs/api/tripadvisor/cruise.md ### tripadvisor.cruise_reviews Reviews of a TripAdvisor cruise ship. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/cruise_reviews?url_path=Attraction_Review-g293916-d311040-Reviews-Grand_Palace-Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `url_path` (string, required): Place url_path as returned by the search endpoints, or a full page URL - Fields returned: `content.id`, `content.title`, `content.text`, `content.createdAt`, `author.displayName`, `engagement.votes`, `ext.rating` - Reference: https://onekey.dev/docs/api/tripadvisor/cruise_reviews.md ### tripadvisor.cruises Search TripAdvisor cruises. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/cruises?q=Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `entity.stats.ratingCount`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/tripadvisor/cruises.md ### tripadvisor.experience_types Experience types TripAdvisor lists for a destination. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/experience_types?query=headphones` with header `x-api-key: YOUR_API_KEY` - Parameters: - `query` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `entity.stats.ratingCount`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/tripadvisor/experience_types.md ### tripadvisor.hotel A TripAdvisor hotel. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tripadvisor/hotel?url_path=Attraction_Review-g293916-d311040-Reviews-Grand_Palace-Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `url_path` (string, required): Place url_path as returned by the search endpoints, or a full page URL - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `entity.stats.ratingCount`, `media.thumbnailUrl`, `place.address`, `place.city`, `place.lat`, `place.lon`, `ext.phone`, `ext.priceRange` - Reference: https://onekey.dev/docs/api/tripadvisor/hotel.md ### tripadvisor.hotels Search TripAdvisor hotels. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/hotels?q=Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `entity.stats.ratingCount`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/tripadvisor/hotels.md ### tripadvisor.location TripAdvisor location details (Content API). - Price: 1 credit per fresh call. Status: beta. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tripadvisor/location?location_id=93589` with header `x-api-key: YOUR_API_KEY` - Parameters: - `location_id` (string, required): TripAdvisor location id - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `place.address`, `ext.reviews`, `ext.ranking` - Reference: https://onekey.dev/docs/api/tripadvisor/location.md ### tripadvisor.restaurant A TripAdvisor restaurant. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/tripadvisor/restaurant?url_path=Attraction_Review-g293916-d311040-Reviews-Grand_Palace-Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `url_path` (string, required): Place url_path as returned by the search endpoints, or a full page URL - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `entity.stats.ratingCount`, `media.thumbnailUrl`, `place.address`, `place.city`, `place.lat`, `place.lon`, `ext.phone`, `ext.priceRange` - Reference: https://onekey.dev/docs/api/tripadvisor/restaurant.md ### tripadvisor.restaurant_reviews Reviews of a TripAdvisor restaurant. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/restaurant_reviews?url_path=Attraction_Review-g293916-d311040-Reviews-Grand_Palace-Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `url_path` (string, required): Place url_path as returned by the search endpoints, or a full page URL - Fields returned: `content.id`, `content.title`, `content.text`, `content.createdAt`, `author.displayName`, `engagement.votes`, `ext.rating` - Reference: https://onekey.dev/docs/api/tripadvisor/restaurant_reviews.md ### tripadvisor.restaurants Search TripAdvisor restaurants. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/restaurants?q=Bangkok` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `entity.stats.ratingCount`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/tripadvisor/restaurants.md ### tripadvisor.reviews Latest reviews of a TripAdvisor location (Content API returns up to 5). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/reviews?location_id=93589` with header `x-api-key: YOUR_API_KEY` - Parameters: - `location_id` (string, required): TripAdvisor location id - Fields returned: `content.id`, `content.title`, `content.text`, `content.url`, `content.createdAt`, `author.username`, `entity.stats.rating` - Reference: https://onekey.dev/docs/api/tripadvisor/reviews.md ### tripadvisor.search Search TripAdvisor locations (Content API). - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/tripadvisor/search?q=hilton%20new%20york` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `place.address` - Reference: https://onekey.dev/docs/api/tripadvisor/search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/tripadvisor/location?location_id=93589" \ -H "x-api-key: YOUR_API_KEY" ```