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

# /hotpads/buildings

> Get full HotPads multi-unit building details by short id (or building URL): building name, address, coordinates, neighborhood, description, price and beds/baths/sqft ranges, unit count, amenities, pet policies, photos, videos, 3D tours, lease terms, special offers, property manager, available units (floor plans and units with beds/baths/price/sqft) and per-bedroom pricing groups.

**Price:** 5 credits

**⚠️ Common errors:** 412: Building not found (well-formed but nonexistent building short id)



## OpenAPI

````yaml /openapi/real-estate.json post /api/hotpads/buildings
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/hotpads/buildings:
    post:
      tags:
        - /hotpads
      summary: /hotpads/buildings
      description: >-
        Get full HotPads multi-unit building details by short id (or building
        URL): building name, address, coordinates, neighborhood, description,
        price and beds/baths/sqft ranges, unit count, amenities, pet policies,
        photos, videos, 3D tours, lease terms, special offers, property manager,
        available units (floor plans and units with beds/baths/price/sqft) and
        per-bedroom pricing groups.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: Building not found (well-formed but
        nonexistent building short id)
      operationId: __api_hotpads_buildings_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HotpadsBuildingsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HotpadsBuilding'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HotpadsBuildingsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        building:
          type: string
          minLength: 1
      type: object
      required:
        - building
    HotpadsBuilding:
      properties:
        '@type':
          type: string
          default: HotpadsBuilding
        id:
          type: string
        url:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        property_type:
          anyOf:
            - type: string
            - type: 'null'
        listing_type:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - $ref: '#/components/schemas/HotpadsAddress'
            - type: 'null'
        neighborhood:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        price_min:
          anyOf:
            - type: number
            - type: 'null'
        price_max:
          anyOf:
            - type: number
            - type: 'null'
        bed_min:
          anyOf:
            - type: number
            - type: 'null'
        bed_max:
          anyOf:
            - type: number
            - type: 'null'
        bath_min:
          anyOf:
            - type: number
            - type: 'null'
        bath_max:
          anyOf:
            - type: number
            - type: 'null'
        sqft_min:
          anyOf:
            - type: number
            - type: 'null'
        sqft_max:
          anyOf:
            - type: number
            - type: 'null'
        unit_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_furnished:
          anyOf:
            - type: boolean
            - type: 'null'
        lease_terms:
          anyOf:
            - type: string
            - type: 'null'
        contact_times:
          anyOf:
            - type: string
            - type: 'null'
        amenities:
          items:
            type: string
          type: array
          default: []
        amenity_highlights:
          items:
            type: string
          type: array
          default: []
        pet_policies:
          items:
            $ref: '#/components/schemas/HotpadsPetPolicy'
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        photo_count:
          anyOf:
            - type: integer
            - type: 'null'
        videos:
          items:
            type: string
          type: array
          default: []
        tour_urls:
          items:
            type: string
          type: array
          default: []
        special_offers:
          items:
            type: string
          type: array
          default: []
        property_manager:
          anyOf:
            - type: string
            - type: 'null'
        property_manager_contact:
          anyOf:
            - type: string
            - type: 'null'
        property_manager_phone:
          anyOf:
            - type: string
            - type: 'null'
        property_manager_website:
          anyOf:
            - type: string
            - type: 'null'
        units:
          items:
            $ref: '#/components/schemas/HotpadsUnit'
          type: array
          default: []
        bed_groups:
          items:
            $ref: '#/components/schemas/HotpadsBedGroup'
          type: array
          default: []
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
        listed_at:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    HotpadsAddress:
      properties:
        '@type':
          type: string
          default: HotpadsAddress
        street:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        zip_code:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    HotpadsPetPolicy:
      properties:
        '@type':
          type: string
          default: HotpadsPetPolicy
        pet_type:
          anyOf:
            - type: string
            - type: 'null'
        pet_size:
          anyOf:
            - type: string
            - type: 'null'
        allowed:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    HotpadsUnit:
      properties:
        '@type':
          type: string
          default: HotpadsUnit
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        model_type:
          anyOf:
            - type: string
            - type: 'null'
        bed_count:
          anyOf:
            - type: number
            - type: 'null'
        bath_count:
          anyOf:
            - type: number
            - type: 'null'
        price_min:
          anyOf:
            - type: number
            - type: 'null'
        price_max:
          anyOf:
            - type: number
            - type: 'null'
        sqft:
          anyOf:
            - type: number
            - type: 'null'
        availability_date:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    HotpadsBedGroup:
      properties:
        '@type':
          type: string
          default: HotpadsBedGroup
        label:
          type: string
        bed_min:
          anyOf:
            - type: number
            - type: 'null'
        bed_max:
          anyOf:
            - type: number
            - type: 'null'
        bath_min:
          anyOf:
            - type: number
            - type: 'null'
        bath_max:
          anyOf:
            - type: number
            - type: 'null'
        price_min:
          anyOf:
            - type: number
            - type: 'null'
        price_max:
          anyOf:
            - type: number
            - type: 'null'
        sqft_min:
          anyOf:
            - type: number
            - type: 'null'
        sqft_max:
          anyOf:
            - type: number
            - type: 'null'
        unit_names:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - label
    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

````