Viator

App · 19 actions

Search Viator experiences and read product, destination, attraction, availability and review data.

Actions

ActionWhat it does
Check availabilityCheck availability.
Get attractionGet attraction.
Get availability scheduleGet availability schedule.
Get availability schedulesGet availability schedules.
Get booking questionsGet booking questions.
Get exchange ratesGet exchange rates.
Get locationsGet locations.
Get productGet product.
Get productsGet products.
List cancellation reasonsList cancellation reasons.
List changed availabilityList changed availability.
List changed productsList changed products.
List destinationsList destinations.
List product reviewsList product reviews.
List product tagsList product tags.
List supplier productsList supplier products.
Search attractionsSearch attractions.
Search free textSearch free text.
Search productsSearch products.

Check availability

Check availability.

Inputs

Product codeproduct_codetextRequired
Product code.
Product option codeproduct_option_codetext
Product option code.
Start timestart_timetime
Start time.
Travel datetravel_datedateRequired
Travel date.
CurrencycurrencytextRequired
Currency.
Pax mixpax_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 IDattraction_idnumberRequired
Attraction ID.
Campaign valuecampaign_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 codeproduct_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 codesproduct_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 currenciessource_currencieslist
Source currencies.
Target currenciestarget_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

LocationslocationslistRequired
Locations.

Outputs

dataobject
The response from Viator.
Example output
{
  "data": {
    "locations": [
      {
        "provider": "example",
        "reference": "example"
      }
    ]
  }
}

Get product

Get product.

Inputs

Campaign valuecampaign_valuetext
Campaign value.
Target landertarget_landertext
Target lander.
Product codeproduct_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 valuecampaign_valuetext
Campaign value.
Target landertarget_landertext
Target lander.
Product codesproduct_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

Typetypetext
Type.

Outputs

dataobject
The response from Viator.
Example output
{
  "data": {
    "reasons": [
      {
        "cancellationReasonCode": "example",
        "cancellationReasonText": "example"
      }
    ]
  }
}

List changed availability

List changed availability.

Inputs

Cursorcursortext
Cursor.
Countcountnumber
Count.From 1 to 500.
Modified sincemodified_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

Cursorcursortext
Cursor.
CountcountnumberRequired
Count.From 1 to 500.
Campaign valuecampaign_valuetext
Campaign value.
Target landertarget_landertext
Target lander.
Modified sincemodified_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 valuecampaign_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 codeproduct_codetextRequired
Product code.
CountcountnumberRequired
Count.
StartstartnumberRequired
Start.
ProviderprovidertextRequired
Provider.
Sort bysort_bytext
Sort by.
Reviews for non primary localereviews_for_non_primary_localetrue/false
Reviews for non primary locale.
Show machine translatedshow_machine_translatedtrue/false
Show machine translated.
Ratingsratingslist
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 codesproduct_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 valuecampaign_valuetext
Campaign value.
Destination IDdestination_idnumberRequired
Destination id.
Sortingsortingobject
Sorting.
Paginationpaginationobject
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 valuecampaign_valuetext
Campaign value.
Target landertarget_landertext
Target lander.
Search termsearch_termtextRequired
Search term.
Product filteringproduct_filteringobject
Product filtering.
Product sortingproduct_sortingobject
Product sorting.
Search typessearch_typeslistRequired
Search types.
CurrencycurrencytextRequired
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 valuecampaign_valuetext
Campaign value.
Target landertarget_landertext
Target lander.
FilteringfilteringobjectRequired
Filtering.
Sortingsortingobject
Sorting.
Paginationpaginationobject
Pagination.
CurrencycurrencytextRequired
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
  }
}

On this page