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

> Get the seasonal rates of a SafariBookings safari tour: for every start-date period the price for a single traveler in their own room and the per-person price when sharing rooms, plus the full list of what the tour price includes and excludes and the notes on children and tipping. Prices are returned in the requested currency.

**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/rates
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/rates:
    post:
      tags:
        - /safaribookings
      summary: /safaribookings/tours/rates
      description: >-
        Get the seasonal rates of a SafariBookings safari tour: for every
        start-date period the price for a single traveler in their own room and
        the per-person price when sharing rooms, plus the full list of what the
        tour price includes and excludes and the notes on children and tipping.
        Prices are returned in the requested currency.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Tour not found (well-formed id with no
        SafariBookings listing)
      operationId: __api_safaribookings_tours_rates_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SafaribookingsToursRatesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SafaribookingsTourRates'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SafaribookingsToursRatesPayload:
      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
    SafaribookingsTourRates:
      properties:
        '@type':
          type: string
          default: SafaribookingsTourRates
        tour_id:
          type: string
        currency:
          anyOf:
            - type: string
            - type: 'null'
        native_currency:
          anyOf:
            - type: string
            - type: 'null'
        seasons:
          items:
            $ref: '#/components/schemas/SafaribookingsSeasonRate'
          type: array
          default: []
        included:
          items:
            type: string
          type: array
          default: []
        excluded:
          items:
            type: string
          type: array
          default: []
        notes:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - tour_id
    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
    SafaribookingsSeasonRate:
      properties:
        '@type':
          type: string
          default: SafaribookingsSeasonRate
        period:
          type: string
        single_price:
          anyOf:
            - type: number
            - type: 'null'
        sharing_price:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - period
    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

````