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

# /skyscanner/stays/search

> Search Skyscanner hotels for a destination (by place entity id) for a check-in/check-out date range, guest and room count. Returns ranked hotels with name, star rating, guest review score and count, the cheapest nightly and total price (with and without taxes and any discount), distance to a nearby landmark, full address, postcode, neighbourhood and exact coordinates, photos and a link to the hotel page. The destination is a Skyscanner place entity id (resolve it via the places autosuggest).

**Price:** 10 credits per 10 results

**⚠️ Common errors:** 412: Destination not found or no hotels available for the given dates



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/skyscanner/stays/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/skyscanner/stays/search:
    post:
      tags:
        - /skyscanner
      summary: /skyscanner/stays/search
      description: >-
        Search Skyscanner hotels for a destination (by place entity id) for a
        check-in/check-out date range, guest and room count. Returns ranked
        hotels with name, star rating, guest review score and count, the
        cheapest nightly and total price (with and without taxes and any
        discount), distance to a nearby landmark, full address, postcode,
        neighbourhood and exact coordinates, photos and a link to the hotel
        page. The destination is a Skyscanner place entity id (resolve it via
        the places autosuggest).


        **Price:** 10 credits per 10 results


        **⚠️ Common errors:** 412: Destination not found or no hotels available
        for the given dates
      operationId: __api_skyscanner_stays_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SkyscannerStaysSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SkyscannerStay'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SkyscannerStaysSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        entity_id:
          type: string
          pattern: ^\d+$
        checkin_date:
          type: string
          format: date
        checkout_date:
          type: string
          format: date
        adults:
          type: integer
          maximum: 16
          minimum: 1
          default: 2
        children_ages:
          items:
            type: integer
          type: array
          default: []
        rooms:
          type: integer
          maximum: 8
          minimum: 1
          default: 1
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - entity_id
        - checkin_date
        - checkout_date
        - count
    SkyscannerStay:
      properties:
        '@type':
          type: string
          default: SkyscannerStay
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        stars:
          anyOf:
            - type: integer
            - type: 'null'
        review_score:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        review_label:
          anyOf:
            - type: string
            - type: 'null'
        rating_provider:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        price:
          anyOf:
            - type: number
            - type: 'null'
        price_total:
          anyOf:
            - type: number
            - type: 'null'
        price_with_taxes:
          anyOf:
            - type: number
            - type: 'null'
        price_without_discount:
          anyOf:
            - type: number
            - type: 'null'
        discount_percentage:
          anyOf:
            - type: integer
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        distance:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        postcode:
          anyOf:
            - type: string
            - type: 'null'
        location_text:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    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

````