> ## 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.

# /safaribookings/operators/tours

> Get every safari tour offered by a SafariBookings tour operator. Each tour comes back with its title, duration, price range per person in the requested currency, the countries it covers, whether it is private or shared, its comfort level and accommodation type and the route it follows.

**Price:** 1 credit

**⚠️ Common errors:** 412: Tour operator not found (well-formed id with no SafariBookings profile)



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/safaribookings/operators/tours
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/safaribookings/operators/tours:
    post:
      tags:
        - /safaribookings
      summary: /safaribookings/operators/tours
      description: >-
        Get every safari tour offered by a SafariBookings tour operator. Each
        tour comes back with its title, duration, price range per person in the
        requested currency, the countries it covers, whether it is private or
        shared, its comfort level and accommodation type and the route it
        follows.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Tour operator not found (well-formed id with
        no SafariBookings profile)
      operationId: __api_safaribookings_operators_tours_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SafaribookingsOperatorsToursPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SafaribookingsTourCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SafaribookingsOperatorsToursPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        operator:
          type: string
          minLength: 1
        currency:
          $ref: '#/components/schemas/SafaribookingsCurrency'
          default: USD
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - operator
        - count
    SafaribookingsTourCard:
      properties:
        '@type':
          type: string
          default: SafaribookingsTourCard
        id:
          type: string
        tour_title:
          type: string
        duration_days:
          anyOf:
            - type: integer
            - type: 'null'
        duration_label:
          anyOf:
            - type: string
            - type: 'null'
        price_from:
          anyOf:
            - type: number
            - type: 'null'
        price_to:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        countries:
          items:
            type: string
          type: array
          default: []
        tour_type:
          anyOf:
            - type: string
            - type: 'null'
        max_pax:
          anyOf:
            - type: integer
            - type: 'null'
        comfort:
          anyOf:
            - type: string
            - type: 'null'
        accommodation_type:
          anyOf:
            - type: string
            - type: 'null'
        route:
          items:
            $ref: '#/components/schemas/SafaribookingsRouteStop'
          type: array
          default: []
        operator:
          anyOf:
            - $ref: '#/components/schemas/SafaribookingsTourOperatorRef'
            - type: 'null'
        badges:
          items:
            type: string
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        tour_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - tour_title
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    SafaribookingsCurrency:
      type: string
      enum:
        - USD
        - CAD
        - EUR
        - CHF
        - CZK
        - DKK
        - GBP
        - HUF
        - ISK
        - NOK
        - PLN
        - RON
        - RUB
        - SEK
        - TRY
        - AUD
        - NZD
        - AED
        - CNY
        - HKD
        - ILS
        - INR
        - JPY
        - KRW
        - KWD
        - MYR
        - QAR
        - SAR
        - SGD
        - TWD
        - EGP
        - NAD
        - ZAR
        - ARS
        - BRL
        - CLP
        - MXN
    SafaribookingsRouteStop:
      properties:
        '@type':
          type: string
          default: SafaribookingsRouteStop
        name:
          type: string
        tag:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    SafaribookingsTourOperatorRef:
      properties:
        '@type':
          type: string
          default: SafaribookingsTourOperatorRef
        name:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        office_countries:
          items:
            $ref: '#/components/schemas/SafaribookingsCountryRef'
          type: array
          default: []
      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
    SafaribookingsCountryRef:
      properties:
        '@type':
          type: string
          default: SafaribookingsCountryRef
        name:
          anyOf:
            - type: string
            - type: 'null'
        code:
          anyOf:
            - type: string
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````