> ## 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/tours

> Get one SafariBookings safari tour by its id or URL: title, description, duration, price per person in the requested currency, the countries and parks visited day by day, tour features such as comfort level, group size and customization, activities and transportation, accommodation and meals per day, minimum age, and the offering tour operator with rating, review count, offices, size, address, phone and website.

**Price:** 1 credit

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



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/safaribookings/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/tours:
    post:
      tags:
        - /safaribookings
      summary: /safaribookings/tours
      description: >-
        Get one SafariBookings safari tour by its id or URL: title, description,
        duration, price per person in the requested currency, the countries and
        parks visited day by day, tour features such as comfort level, group
        size and customization, activities and transportation, accommodation and
        meals per day, minimum age, and the offering tour operator with rating,
        review count, offices, size, address, phone and website.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Tour not found (well-formed id with no
        SafariBookings listing)
      operationId: __api_safaribookings_tours_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SafaribookingsToursPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SafaribookingsTour'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SafaribookingsToursPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        tour:
          type: string
          minLength: 1
        currency:
          $ref: '#/components/schemas/SafaribookingsCurrency'
          default: USD
      type: object
      required:
        - tour
    SafaribookingsTour:
      properties:
        '@type':
          type: string
          default: SafaribookingsTour
        id:
          type: string
        tour_title:
          type: string
        duration_days:
          anyOf:
            - type: integer
            - type: 'null'
        is_available:
          type: boolean
          default: true
        price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        native_currency:
          anyOf:
            - type: string
            - type: 'null'
        countries:
          items:
            type: string
          type: array
          default: []
        itinerary:
          items:
            $ref: '#/components/schemas/SafaribookingsTourItineraryStop'
          type: array
          default: []
        features:
          items:
            $ref: '#/components/schemas/SafaribookingsTourFeatureItem'
          type: array
          default: []
        activities:
          items:
            type: string
          type: array
          default: []
        accommodation:
          items:
            $ref: '#/components/schemas/SafaribookingsTourStay'
          type: array
          default: []
        min_age:
          anyOf:
            - type: integer
            - type: 'null'
        is_camping:
          anyOf:
            - type: boolean
            - type: 'null'
        operator:
          anyOf:
            - $ref: '#/components/schemas/SafaribookingsTourOperator'
            - type: 'null'
        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
    SafaribookingsTourItineraryStop:
      properties:
        '@type':
          type: string
          default: SafaribookingsTourItineraryStop
        day_label:
          anyOf:
            - type: string
            - type: 'null'
        name:
          type: string
        tag:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        park_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    SafaribookingsTourFeatureItem:
      properties:
        '@type':
          type: string
          default: SafaribookingsTourFeatureItem
        name:
          type: string
      type: object
      required:
        - name
    SafaribookingsTourStay:
      properties:
        '@type':
          type: string
          default: SafaribookingsTourStay
        days:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        meals:
          anyOf:
            - type: string
            - type: 'null'
        website:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    SafaribookingsTourOperator:
      properties:
        '@type':
          type: string
          default: SafaribookingsTourOperator
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        office_countries:
          items:
            $ref: '#/components/schemas/SafaribookingsCountryRef'
          type: array
          default: []
        founded_in:
          anyOf:
            - type: integer
            - type: 'null'
        employees:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        website:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
      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

````