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

# /hostelworld/properties

> Get full Hostelworld property details by property id (or property URL): name, type (hostel/hotel/B&B), description, editorial overview, what the property is best for, directions, address, city, region, coordinates, distance from city centre, rating breakdown (overall, value, security, location, staff, atmosphere, cleanliness, facilities), review count, facilities by category, policies, sustainability levels, group-booking terms, photos, videos, payment methods, check-in window, cancellation policy (deposit-only, non-refundable and free-cancellation terms), tax and fee details, deposit, Hoscar awards and house rules.

**Price:** 1 credit

**⚠️ Common errors:** 412: Property not found (well-formed but nonexistent property id)



## OpenAPI

````yaml /openapi/travel-hospitality.json post /api/hostelworld/properties
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/hostelworld/properties:
    post:
      tags:
        - /hostelworld
      summary: /hostelworld/properties
      description: >-
        Get full Hostelworld property details by property id (or property URL):
        name, type (hostel/hotel/B&B), description, editorial overview, what the
        property is best for, directions, address, city, region, coordinates,
        distance from city centre, rating breakdown (overall, value, security,
        location, staff, atmosphere, cleanliness, facilities), review count,
        facilities by category, policies, sustainability levels, group-booking
        terms, photos, videos, payment methods, check-in window, cancellation
        policy (deposit-only, non-refundable and free-cancellation terms), tax
        and fee details, deposit, Hoscar awards and house rules.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Property not found (well-formed but
        nonexistent property id)
      operationId: __api_hostelworld_properties_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HostelworldPropertiesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HostelworldProperty'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HostelworldPropertiesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        property:
          type: string
          minLength: 1
      type: object
      required:
        - property
    HostelworldProperty:
      properties:
        '@type':
          type: string
          default: HostelworldProperty
        id:
          type: string
        url:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        property_type:
          anyOf:
            - type: string
            - type: 'null'
        hostelworld_says:
          anyOf:
            - type: string
            - type: 'null'
        directions:
          anyOf:
            - type: string
            - type: 'null'
        house_rules:
          anyOf:
            - type: string
            - type: 'null'
        star_rating:
          anyOf:
            - type: integer
            - type: 'null'
        is_new:
          anyOf:
            - type: boolean
            - type: 'null'
        is_featured:
          anyOf:
            - type: boolean
            - type: 'null'
        is_promoted:
          anyOf:
            - type: boolean
            - type: 'null'
        is_hostelworld_recommended:
          anyOf:
            - type: boolean
            - type: 'null'
        best_for:
          items:
            type: string
          type: array
          default: []
        policies:
          items:
            type: string
          type: array
          default: []
        sustainability_levels:
          items:
            type: string
          type: array
          default: []
        currency:
          anyOf:
            - type: string
            - type: 'null'
        business_number:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - $ref: '#/components/schemas/HostelworldCity'
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        distance_from_center_km:
          anyOf:
            - type: number
            - type: 'null'
        distance_from_center_miles:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        rating:
          anyOf:
            - $ref: '#/components/schemas/HostelworldRating'
            - type: 'null'
        deposit_percentage:
          anyOf:
            - type: integer
            - type: 'null'
        max_guests_per_booking:
          anyOf:
            - type: integer
            - type: 'null'
        check_in_from:
          anyOf:
            - type: string
            - type: 'null'
        check_in_until:
          anyOf:
            - type: string
            - type: 'null'
        latest_checkout:
          anyOf:
            - type: string
            - type: 'null'
        has_free_cancellation:
          anyOf:
            - type: boolean
            - type: 'null'
        free_cancellation_days:
          anyOf:
            - type: integer
            - type: 'null'
        cancellation_policy:
          anyOf:
            - $ref: '#/components/schemas/HostelworldPropertyCancellationPolicy'
            - type: 'null'
        is_tax_included:
          anyOf:
            - type: boolean
            - type: 'null'
        taxes:
          items:
            $ref: '#/components/schemas/HostelworldTax'
          type: array
          default: []
        is_fee_included:
          anyOf:
            - type: boolean
            - type: 'null'
        fees:
          items:
            $ref: '#/components/schemas/HostelworldFee'
          type: array
          default: []
        group_info:
          anyOf:
            - $ref: '#/components/schemas/HostelworldGroupInfo'
            - type: 'null'
        facilities:
          items:
            $ref: '#/components/schemas/HostelworldFacilityCategory'
          type: array
          default: []
        images:
          items:
            type: string
          type: array
          default: []
        videos:
          items:
            type: string
          type: array
          default: []
        payment_methods:
          items:
            type: string
          type: array
          default: []
        awards:
          items:
            $ref: '#/components/schemas/HostelworldAward'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    HostelworldCity:
      properties:
        '@type':
          type: string
          default: HostelworldCity
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    HostelworldRating:
      properties:
        '@type':
          type: string
          default: HostelworldRating
        overall:
          anyOf:
            - type: integer
            - type: 'null'
        value:
          anyOf:
            - type: integer
            - type: 'null'
        security:
          anyOf:
            - type: integer
            - type: 'null'
        location:
          anyOf:
            - type: integer
            - type: 'null'
        staff:
          anyOf:
            - type: integer
            - type: 'null'
        atmosphere:
          anyOf:
            - type: integer
            - type: 'null'
        cleanliness:
          anyOf:
            - type: integer
            - type: 'null'
        facilities:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    HostelworldPropertyCancellationPolicy:
      properties:
        '@type':
          type: string
          default: HostelworldPropertyCancellationPolicy
        deposit_only:
          anyOf:
            - $ref: '#/components/schemas/HostelworldCancellationSubPolicy'
            - type: 'null'
        non_refundable:
          anyOf:
            - $ref: '#/components/schemas/HostelworldCancellationSubPolicy'
            - type: 'null'
        free_cancellation:
          anyOf:
            - $ref: '#/components/schemas/HostelworldCancellationSubPolicy'
            - type: 'null'
      type: object
    HostelworldTax:
      properties:
        '@type':
          type: string
          default: HostelworldTax
        type:
          anyOf:
            - type: string
            - type: 'null'
        amount:
          anyOf:
            - type: number
            - type: 'null'
        is_fixed:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    HostelworldFee:
      properties:
        '@type':
          type: string
          default: HostelworldFee
        type:
          anyOf:
            - type: string
            - type: 'null'
        amount:
          anyOf:
            - type: number
            - type: 'null'
        is_fixed:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    HostelworldGroupInfo:
      properties:
        '@type':
          type: string
          default: HostelworldGroupInfo
        additional_terms:
          anyOf:
            - type: string
            - type: 'null'
        cancellation_terms:
          anyOf:
            - type: string
            - type: 'null'
        group_terms:
          anyOf:
            - type: string
            - type: 'null'
        remainder_due:
          anyOf:
            - type: string
            - type: 'null'
        group_max_pax:
          anyOf:
            - type: integer
            - type: 'null'
        group_types:
          items:
            type: string
          type: array
          default: []
        age_ranges:
          items:
            type: string
          type: array
          default: []
      type: object
    HostelworldFacilityCategory:
      properties:
        '@type':
          type: string
          default: HostelworldFacilityCategory
        name:
          type: string
        facilities:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - name
    HostelworldAward:
      properties:
        '@type':
          type: string
          default: HostelworldAward
        year:
          anyOf:
            - type: string
            - type: 'null'
        place:
          anyOf:
            - type: integer
            - type: 'null'
        label:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        key:
          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
    HostelworldCancellationSubPolicy:
      properties:
        '@type':
          type: string
          default: HostelworldCancellationSubPolicy
        days:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````