> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /viator/products/search

> Search Viator tours and activities by keyword, or list all of them for a destination. Provide exactly one of 'query' (free-text keyword) or 'destination_id'. Returns product cards with id, title, description, destination, star rating with review count, from-price, duration, languages, free-cancellation flag and image.

**Price:** 10 credits per 24 results



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/viator/products/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/viator/products/search:
    post:
      tags:
        - /viator
      summary: /viator/products/search
      description: >-
        Search Viator tours and activities by keyword, or list all of them for a
        destination. Provide exactly one of 'query' (free-text keyword) or
        'destination_id'. Returns product cards with id, title, description,
        destination, star rating with review count, from-price, duration,
        languages, free-cancellation flag and image.


        **Price:** 10 credits per 24 results
      operationId: __api_viator_products_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ViatorProductsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ViatorSearchProduct'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ViatorProductsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        query:
          anyOf:
            - type: string
            - type: 'null'
        destination_id:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - count
    ViatorSearchProduct:
      properties:
        '@type':
          type: string
          default: ViatorSearchProduct
        id:
          type: string
        url:
          type: string
        destination:
          anyOf:
            - type: string
            - type: 'null'
        destination_id:
          anyOf:
            - type: integer
            - type: 'null'
        parent_destination:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        rating_exact:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        duration_minutes:
          anyOf:
            - type: integer
            - type: 'null'
        languages:
          items:
            type: string
          type: array
          default: []
        has_free_cancellation:
          anyOf:
            - type: boolean
            - type: 'null'
        is_private_tour:
          anyOf:
            - type: boolean
            - type: 'null'
        is_likely_to_sell_out:
          anyOf:
            - type: boolean
            - type: 'null'
        is_new:
          anyOf:
            - type: boolean
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        badges:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - id
        - url
        - title
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````