APIs / Viator / Search

Viator: Search

Search from Viator as JSON. 1 credit per successful call.

GET /v1/viator/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
destination_idintegerRequiredAny
pageintegerOptionalAny

Example request

Viator
GET/v1/viator/search?destination_id=538
{
  "success": true,
  "data": {
    "destination_id": 538,
    "page": 1,
    "total_pages": 143,
    "total_results": 3429,
    "activities": [
      {
        "position": 1,
        "product_code": "70273P7",
        "title": "Small Group Tour to Sintra, Pena Palace, Cabo Roca and Cascais",
        "url": "https://www.viator.com/tours/Lisbon/Tour-to-Sintra-Pena-Palace-Cabo-da-Roca-Regaleira-and-Cascais/d538-70273P7",
        "description": "Explore beyond Lisbon city limits—and see several of Portugal’s top attractions in one day—on this seamless, small-group tour. Set off in the morning via air-conditioned vehicle and head to UNESCO-listed Sintra. Skip the long lines and expl…",
        "destination": {
          "id": 538,
          "name": "Lisbon, Portugal"
        },
        "price": {
          "amount": 79.02,
          "currency": "USD"
        },
        "rating": 4.9,
        "review_count": 5206,
        "duration_minutes": 480,
        "free_cancellation": true,
        "likely_to_sell_out": true,
        "languages": [
          "en",
          "es",
          "fr"
        ],
        "badges": [
          "likely_to_sell_out",
          "recommended_by_travellers"
        ],
        "image_url": "https://dynamic-media.tacdn.com/media/photo-o/32/b1/71/7e/caption.jpg?w=1600&h=1000&s=1"
      },
      {
        "position": 2,
        "product_code": "126453P1",
        "title": "Guided Tour to Sintra, Pena, Regaleira, Cabo da Roca and Cascais",
        "url": "https://www.viator.com/tours/Lisbon/Sintra-Cabo-da-Roca-Cascais-Estoril-Tour/d538-126453P1",
        "description": "Escape the bustle of Lisbon and spend the day in the charming Sintra region on a full-day tour. Join a small group to take guided tours through the colorful Palacio da Pena and the mystical Quinta da Regaleira. Your tour also includes time …",
        "destination": {
          "id": 538,
          "name": "Lisbon, Portugal"
        },
        "price": {
          "amount": 90.31,
          "currency": "USD"
        },
        "rating": 4.9,
        "review_count": 4096,
        "duration_minutes": 600,
        "free_cancellation": true,
        "languages": [
          "en",
          "es",
          "pt"
        ],
        "badges": [
          "recommended_by_travellers"
        ],
        "image_url": "https://dynamic-media.tacdn.com/media/photo-o/2e/ab/21/48/caption.jpg?w=1600&h=1000&s=1"
      },
      {
        "position": 3,
        "product_code": "70110P8",
        "title": "From Lisbon Fátima, Nazaré, Batalha and Óbidos Guided Tour",
        "url": "https://www.viator.com/tours/Lisbon/Private-Tour-FATIMA-FULL-DAY-Fatima-Batalha-Nazare-and-Obidos/d538-70110P8",
        "description": "Cover four must-see destinations on this attraction-packed day trip from Lisbon. Taste a sample of ginjinha—a local cherry liqueur—in the medieval town of Óbidos, admire sublime water views in seaside Nazaré, visit a centuries-old monastery…",
        "destination": {
          "id": 538,
          "name": "Lisbon, Portugal"
        },
        "price": {
          "amount": 63.22,
          "currency": "USD"
        },
        "rating": 4.7,
        "review_count": 1937,
        "duration_minutes": 600,
        "free_cancellation": true,
        "languages": [
          "en",
          "es",
          "fr"
        ],
        "badges": [
          "recommended_by_travellers"
        ],
        "image_url": "https://dynamic-media.tacdn.com/media/photo-o/2e/ab/c8/91/caption.jpg?w=1600&h=1000&s=1"
      }
    ],
    "has_more": true,
    "next_page": 2
  },
  "meta": {
    "endpoint_family": "search"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.activities has these 15 fields, read from a recorded call that returned 24 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
positioninteger
product_codestring
titlestring
urlurl
descriptionstring
destinationobject
priceobject
ratingnumber
review_countinteger
duration_minutesinteger
free_cancellationboolean
likely_to_sell_outboolean
languagesstring[]
badgesstring[]
image_urlurl