Skip to content
ajar.Get started

Hotel get

skyscanner.hotel.get

View connector

Read hotel photos, amenities, location and policies

POST /v1/operations/skyscanner.hotel.get

Headers

Authorization: Bearer YOUR_CONNECTOR_TOKEN
x-connection-ref: YOUR_CONNECTION_REF
Content-Type: application/json

Inputs

ParameterExample typeExample value
hotel_entity_idstring"46945771"

Example input

{
  "hotel_entity_id": "46945771"
}

Illustrative response for the example input. Availability, prices and result order vary. Replace example references and URLs with values returned by your own requests.

Example response

{
  "hotel_entity_id": "46945771",
  "name": "Example London hotel",
  "stars": 4,
  "description": "Illustrative hotel description.",
  "photos": [
    "https://example.com/hotel-photo.jpg"
  ],
  "amenities": [
    "Wi-Fi"
  ],
  "address": "Example address, London",
  "latitude": 51.5074,
  "longitude": -0.1278,
  "review_score": 4.2,
  "review_count": 100,
  "checkin_time": "15:00",
  "checkout_time": "11:00",
  "policies": [
    {
      "name": "Check-in",
      "text": "Illustrative policy; consult the returned hotel policies."
    }
  ]
}
Open JSON schema

Input schema

{
  "$id": "https://useajar.com/schemas/skyscanner/hotel-get.input.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "hotel_entity_id": {
      "pattern": "^[0-9]{1,20}$",
      "type": "string"
    }
  },
  "required": [
    "hotel_entity_id"
  ],
  "type": "object"
}