Viator
App · 19 actions
Search Viator experiences and read product, destination, attraction, availability and review data.
Actions
| Action | What it does |
|---|---|
| Check availability | Check availability. |
| Get attraction | Get attraction. |
| Get availability schedule | Get availability schedule. |
| Get availability schedules | Get availability schedules. |
| Get booking questions | Get booking questions. |
| Get exchange rates | Get exchange rates. |
| Get locations | Get locations. |
| Get product | Get product. |
| Get products | Get products. |
| List cancellation reasons | List cancellation reasons. |
| List changed availability | List changed availability. |
| List changed products | List changed products. |
| List destinations | List destinations. |
| List product reviews | List product reviews. |
| List product tags | List product tags. |
| List supplier products | List supplier products. |
| Search attractions | Search attractions. |
| Search free text | Search free text. |
| Search products | Search products. |
Check availability
Check availability.
Inputs
- Product code
product_codetextRequired - Product code.
- Product option code
product_option_codetext - Product option code.
- Start time
start_timetime - Start time.
- Travel date
travel_datedateRequired - Travel date.
- Currency
currencytextRequired - Currency.
- Pax mix
pax_mixlistRequired - Pax mix.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"bookableItems": [
{
"available": true,
"capacity": {},
"extraChargesSummary": {},
"lineItems": [
{}
],
"productOptionCode": "example",
"startTime": "example",
"totalPrice": {},
"translationInfo": {},
"unavailableReason": "example"
}
],
"currency": "example",
"productCode": "example",
"tax": {
"breakdown": [
{}
],
"isExempt": true,
"isTaxable": true,
"jurisdiction": {
"city": "example",
"country": "example",
"county": "example",
"postcode": "example",
"state": "example",
"street": "example"
}
},
"travelDate": "example"
}
}Get attraction
Get attraction.
Inputs
- Attraction ID
attraction_idnumberRequired - Attraction ID.
- Campaign value
campaign_valuetext - Campaign value.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"address": {
"city": "example",
"postcode": "example",
"state": "example",
"street": "example"
},
"attractionId": 1,
"attractionUrl": "example",
"center": {
"latitude": 1,
"longitude": 1
},
"destinations": [
{
"id": 1,
"primary": true
}
],
"freeAttraction": true,
"images": [
{
"height": 1,
"url": "example",
"width": 1
}
],
"name": "example",
"openingHours": "example",
"productCodes": [
"example"
],
"productCount": 1,
"reviews": {
"combinedAverageRating": 1,
"reviewCountTotals": [
{}
],
"sources": [
{}
],
"totalReviews": 1
},
"translationInfo": {
"containsMachineTranslatedText": true,
"translationAttribution": "example",
"translationSource": "example"
},
"viatorUniqueContent": {
"introduction": "example",
"overview": {
"sections": [
{}
]
}
}
}
}Get availability schedule
Get availability schedule.
Inputs
- Product code
product_codetextRequired - Product code.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"bookableItems": [
{
"productOptionCode": "example",
"seasons": [
{}
]
}
],
"currency": "example",
"extraChargesSummary": {
"extraCharges": 1,
"fromPrice": 1,
"fromPriceBeforeDiscount": 1
},
"productCode": "example",
"summary": {
"fromPrice": 1,
"fromPriceBeforeDiscount": 1
},
"tax": {
"breakdown": [
{}
],
"isExempt": true,
"isTaxable": true,
"jurisdiction": {
"city": "example",
"country": "example",
"county": "example",
"postcode": "example",
"state": "example",
"street": "example"
}
}
}
}Get availability schedules
Get availability schedules.
Inputs
- Product codes
product_codeslistRequired - Product codes.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"availabilitySchedules": [
{
"bookableItems": [
{}
],
"currency": "example",
"extraChargesSummary": {},
"productCode": "example",
"summary": {},
"tax": {}
}
]
}
}Get booking questions
Get booking questions.
Inputs
None.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"bookingQuestions": [
{
"allowedAnswers": [
"example"
],
"group": "example",
"hint": "example",
"id": "example",
"label": "example",
"legacyBookingQuestionId": 1,
"maxLength": 1,
"required": "example",
"type": "example",
"units": [
"example"
]
}
]
}
}Get exchange rates
Get exchange rates.
Inputs
- Source currencies
source_currencieslist - Source currencies.
- Target currencies
target_currencieslist - Target currencies.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"rates": [
{
"expiry": "example",
"lastUpdated": "example",
"rate": 1,
"sourceCurrency": "example",
"targetCurrency": "example"
}
]
}
}Get locations
Get locations.
Inputs
- Locations
locationslistRequired - Locations.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"locations": [
{
"provider": "example",
"reference": "example"
}
]
}
}Get product
Get product.
Inputs
- Campaign value
campaign_valuetext - Campaign value.
- Target lander
target_landertext - Target lander.
- Product code
product_codetextRequired - Product code.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"createdAt": "example",
"language": "example",
"lastUpdatedAt": "example",
"productCode": "example",
"status": "example"
}
}Get products
Get products.
Inputs
- Campaign value
campaign_valuetext - Campaign value.
- Target lander
target_landertext - Target lander.
- Product codes
product_codeslistRequired - Product codes.
Outputs
datalist- The response from Viator.
Example output
{
"data": [
{
"createdAt": "example",
"language": "example",
"lastUpdatedAt": "example",
"productCode": "example",
"status": "example"
}
]
}List cancellation reasons
List cancellation reasons.
Inputs
- Type
typetext - Type.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"reasons": [
{
"cancellationReasonCode": "example",
"cancellationReasonText": "example"
}
]
}
}List changed availability
List changed availability.
Inputs
- Cursor
cursortext - Cursor.
- Count
countnumber - Count.From 1 to 500.
- Modified since
modified_sincedate and time - Modified since.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"availabilitySchedules": [
{
"bookableItems": [
{}
],
"currency": "example",
"extraChargesSummary": {},
"productCode": "example",
"summary": {},
"tax": {}
}
],
"nextCursor": "example"
}
}List changed products
List changed products.
Inputs
- Cursor
cursortext - Cursor.
- Count
countnumberRequired - Count.From 1 to 500.
- Campaign value
campaign_valuetext - Campaign value.
- Target lander
target_landertext - Target lander.
- Modified since
modified_sincedate and time - Modified since.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"nextCursor": "example",
"products": [
{
"createdAt": "example",
"language": "example",
"lastUpdatedAt": "example",
"productCode": "example",
"status": "example"
}
]
}
}List destinations
List destinations.
Inputs
- Campaign value
campaign_valuetext - Campaign value.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"destinations": [
{
"center": {},
"countryCallingCode": "example",
"defaultCurrencyCode": "example",
"destinationId": 1,
"destinationUrl": "example",
"iataCodes": [
"example"
],
"languages": [
"example"
],
"lookupId": "example",
"name": "example",
"parentDestinationId": 1,
"timeZone": "example",
"type": "example"
}
],
"totalCount": 1
}
}List product reviews
List product reviews.
Inputs
- Product code
product_codetextRequired - Product code.
- Count
countnumberRequired - Count.
- Start
startnumberRequired - Start.
- Provider
providertextRequired - Provider.
- Sort by
sort_bytext - Sort by.
- Reviews for non primary locale
reviews_for_non_primary_localetrue/false - Reviews for non primary locale.
- Show machine translated
show_machine_translatedtrue/false - Show machine translated.
- Ratings
ratingslist - Ratings.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"filteredReviewsSummary": {
"sources": [
{}
],
"totalReviews": 1
},
"reviews": [
{
"activityDate": "example",
"avatarUrl": "example",
"helpfulVotes": 1,
"language": "example",
"machineTranslated": true,
"ownerResponse": {},
"photosInfo": [
{}
],
"provider": "example",
"publishedDate": "example",
"rating": 1,
"reviewReference": "example",
"text": "example",
"title": "example",
"userName": "example"
}
],
"totalReviewsSummary": {
"reviewCountTotals": [
{}
],
"sources": [
{}
],
"totalReviews": 1
}
}
}List product tags
List product tags.
Inputs
None.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"tags": [
{
"allNamesByLocale": {},
"parentTagIds": [
1
],
"tagId": 1
}
]
}
}List supplier products
List supplier products.
Inputs
- Product codes
product_codeslistRequired - Product codes.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"suppliers": [
{
"contact": {},
"logo": "example",
"name": "example",
"productCode": "example",
"reference": "example",
"registeredBusinessNumber": "example",
"registrationCountry": "example",
"supplierAgreedToLegalCompliance": true,
"supplierInfoVerified": true,
"tradeRegisterName": "example",
"type": "example"
}
]
}
}Search attractions
Search attractions.
Inputs
- Campaign value
campaign_valuetext - Campaign value.
- Destination ID
destination_idnumberRequired - Destination id.
- Sorting
sortingobject - Sorting.
- Pagination
paginationobject - Pagination.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"attractions": [
{
"address": {},
"attractionId": 1,
"attractionUrl": "example",
"center": {},
"destinations": [
{}
],
"freeAttraction": true,
"images": [
{}
],
"name": "example",
"openingHours": "example",
"productCodes": [
"example"
],
"productCount": 1,
"reviews": {},
"translationInfo": {},
"viatorUniqueContent": {}
}
],
"totalCount": 1
}
}Search free text
Search free text.
Inputs
- Campaign value
campaign_valuetext - Campaign value.
- Target lander
target_landertext - Target lander.
- Search term
search_termtextRequired - Search term.
- Product filtering
product_filteringobject - Product filtering.
- Product sorting
product_sortingobject - Product sorting.
- Search types
search_typeslistRequired - Search types.
- Currency
currencytextRequired - Currency.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"attractions": {
"results": [
{}
],
"totalCount": 1
},
"destinations": {
"results": [
{}
],
"totalCount": 1
},
"products": {
"results": [
{}
],
"totalCount": 1
}
}
}Search products
Search products.
Inputs
- Campaign value
campaign_valuetext - Campaign value.
- Target lander
target_landertext - Target lander.
- Filtering
filteringobjectRequired - Filtering.
- Sorting
sortingobject - Sorting.
- Pagination
paginationobject - Pagination.
- Currency
currencytextRequired - Currency.
Outputs
dataobject- The response from Viator.
Example output
{
"data": {
"products": [
{
"confirmationType": "example",
"description": "example",
"destinations": [
{}
],
"duration": {},
"flags": [
"example"
],
"images": [
{}
],
"itineraryType": "example",
"pricing": {},
"productCode": "example",
"productUrl": "example",
"reviews": {},
"tags": [
1
],
"tax": {},
"title": "example",
"translationInfo": {},
"videos": [
{}
]
}
],
"totalCount": 1
}
}