> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapebadger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Multifamily Building

> A Zillow apartment community — floor plans, per-unit rents, availability dates, amenities, schools and walk/transit scores.

Zillow serves multi-unit rentals as **buildings**, not homes: they live on `/apartments/...` and `/b/...` URLs and embed a different data blob, so [Get Property Detail](https://docs.scrapebadger.com/api-reference/endpoint/zillow/get-property.md) cannot read them (it answers `400 building_url` if you pass one).

Pass the `detail_url` of any [search](https://docs.scrapebadger.com/api-reference/endpoint/zillow/search.md) result whose `home_type` is `BUILDING` — `GET /v1/zillow/search?location=Kansas+City,+MO&status=for_rent` returns them.

## Query Parameters

**url** `string` *required*

Full Zillow building URL, e.g. `https://www.zillow.com/apartments/kansas-city-mo/brookside-51/CkBJqt/`. A `/homedetails/...` URL is rejected with `400 not_a_building_url`.

## Response

The response wraps a single `Building` object under a `building` key.

**building** `object`

**Building object**

**url** `string`

Canonical building URL (nullable).

**lot\_id** `string`

Zillow's building id (nullable).

**zpid** `string`

Zillow id of the building's primary unit (nullable).

**name** `string`

Community name, e.g. `Brookside 51` (nullable).

**building\_type** `string`

`FOR_RENT` (nullable).

**home\_types** `string[]`

e.g. `["apartment"]`.

**provider\_listing\_id** `string`

Feed provider's listing id — joins to a search card's `provider_listing_id` (nullable).

**street\_address** `string`

Street address (nullable).

**full\_address** `string`

Full one-line address (nullable).

**city** `string`

City (nullable).

**state** `string`

State code (nullable).

**zipcode** `string`

ZIP code (nullable).

**county** `string`

County (nullable).

**country** `string`

Country (nullable).

**neighborhood** `string`

Neighborhood (nullable).

**latitude** `number`

Latitude (nullable).

**longitude** `number`

Longitude (nullable).

**time\_zone** `string`

IANA time zone (nullable).

**phone** `string`

Leasing-office phone (nullable).

**contact\_name** `string`

Property manager, e.g. `Greystar` (nullable).

**rental\_applications\_accepted** `string`

Whether Zillow accepts applications for this building (nullable).

**currency** `string`

ISO 4217 currency code (nullable).

**rent\_min** `integer`

Cheapest advertised total monthly price across the live inventory (nullable).

**rent\_max** `integer`

Most expensive advertised total monthly price (nullable).

**base\_rent\_min** `integer`

Cheapest base rent — excludes mandatory monthly fees (nullable).

**base\_rent\_max** `integer`

Most expensive base rent (nullable).

**list\_price\_includes\_required\_fees** `boolean`

Whether the headline price already includes the required monthly fees (nullable).

**units\_available** `integer`

Units Zillow reports as available (nullable).

**unit\_count** `integer`

Units in the building's feed (nullable).

**description** `string`

Marketing description (nullable).

**building\_details** `string[]`

Verbatim summary facts, e.g. `["170 units", "built in 2018"]`.

**amenities** `string[]`

Building amenities.

**unit\_features** `string[]`

In-unit features.

**policies** `string[]`

Parking and other policies.

**special\_features** `string[]`

Highlighted features.

**special\_offers** `string[]`

Current move-in concessions.

**office\_hours** `string[]`

Leasing-office hours.

**allowed\_pets** `string[]`

Pet types allowed.

**walk\_score** `integer`

Walk Score (nullable).

**transit\_score** `integer`

Transit Score (nullable).

**bike\_score** `integer`

Bike Score (nullable).

**is\_waitlisted** `boolean`

Building is waitlisted (nullable).

**is\_low\_income** `boolean`

Income-restricted housing (nullable).

**is\_senior\_housing** `boolean`

Senior housing (nullable).

**is\_student\_housing** `boolean`

Student housing (nullable).

**floor\_plans** `FloorPlan[]`

Floor-plan models: `name`, `beds`, `baths`, `sqft`, `price_min`/`price_max`, `base_rent_min`/`base_rent_max`, `required_monthly_fee_min`/`max`, `available_from_at`, `lease_term`, `description`, `photos[]`, `units[]`, `units_available`.

**units** `Unit[]`

Every unit across every floor plan, flattened: `unit_number`, `zpid`, `beds`, `baths`, `sqft`, `price`, `base_rent`, `required_monthly_fee_min`/`max`, `list_price_includes_required_fees`, `available_from_at`, `allowed_pets[]`.

**schools** `School[]`

`name`, `rating`, `grades`, `level`, `type`, `distance`.

**photos** `Photo[]`

`url`, `caption`, responsive `sources[]`.

**scraped\_at** `string`

Scrape time, ISO-8601 (nullable).

> [!TIP]
>
> `price` is the total monthly leasing price Zillow advertises; `base_rent` excludes the mandatory monthly fees, which are carried in `required_monthly_fee_min`/`max`. For rent comps, compare `base_rent` across buildings — the fee bundle differs by operator.

> [!NOTE]
>
> Some buildings — typically landlord-managed ones — publish floor-plan pricing without enumerating individual units. There `units` is empty and `rent_min`/`rent_max` come from the floor plans.

## Example

```json Response theme={null}
{
  "building": {
    "url": "https://www.zillow.com/apartments/kansas-city-mo/brookside-51/CkBJqt/",
    "lot_id": "2750786886",
    "zpid": "2062673170",
    "name": "Brookside 51",
    "building_type": "FOR_RENT",
    "home_types": ["apartment"],
    "street_address": "5100 Oak St",
    "full_address": "5100 Oak St, Kansas City, MO 64112",
    "city": "Kansas City",
    "state": "MO",
    "zipcode": "64112",
    "county": "Jackson County",
    "neighborhood": "South Plaza",
    "latitude": 39.03416,
    "longitude": -94.58333,
    "phone": "(816) 608-6275",
    "contact_name": "Greystar",
    "currency": "USD",
    "rent_min": 2015,
    "rent_max": 2580,
    "base_rent_min": 1734,
    "base_rent_max": 2299,
    "list_price_includes_required_fees": true,
    "units_available": 5,
    "unit_count": 5,
    "building_details": ["170 units", "built in 2018"],
    "floor_plans": [
      {
        "name": "B2 (1BR)",
        "beds": 1,
        "baths": 1,
        "sqft": 795,
        "price_min": 2015,
        "price_max": 2045,
        "base_rent_min": 1734,
        "base_rent_max": 1764,
        "available_from_at": "2026-09-26T07:00:00Z",
        "lease_term": "Available months 6,7,8,9,10,11,12,13,14,15",
        "units_available": 2,
        "units": [
          {
            "unit_number": "Unit 243",
            "zpid": "2062673170",
            "beds": 1,
            "baths": 1,
            "sqft": 795,
            "price": 2015,
            "base_rent": 1734,
            "required_monthly_fee_min": 281,
            "required_monthly_fee_max": 281,
            "list_price_includes_required_fees": true,
            "available_from_at": "2026-10-28T07:00:00Z",
            "allowed_pets": ["Dogs", "Cats"]
          }
        ]
      }
    ],
    "amenities": ["Club House", "Fitness Center", "Lounge: TV Lounge", "In Unit: In-Home Washers & Dryers"],
    "unit_features": ["Dryer", "Washer", "High End Stainless Steel Appliances"],
    "policies": ["Covered Parking", "Surface Lot"],
    "special_offers": ["Preferred Employer Discount: Receive $340 off move-in costs."],
    "office_hours": ["Mon - Fri: 9:00AM - 6:00PM", "Sat: 10:00AM - 2:00PM", "Sun: Closed"],
    "allowed_pets": ["Cats", "Large dogs", "Small dogs"],
    "walk_score": 85,
    "transit_score": 56,
    "bike_score": 42,
    "schools": [
      { "name": "Hale Cook Elementary", "rating": 8, "grades": "PK-6", "type": "PUBLIC", "distance": 2.8 }
    ],
    "photos": [
      { "url": "https://photos.zillowstatic.com/fp/84cf-cc_ft_1536.webp", "caption": "Community photo" }
    ],
    "scraped_at": "2026-09-09T08:12:44Z"
  }
}
```

> [!NOTE]
>
> Each building request costs **8 credits**. Failed requests are not charged.


## OpenAPI

````yaml GET /v1/zillow/building
openapi: 3.1.0
info:
  title: ScrapeBadger Zillow API
  version: 1.0.0
  description: >-
    Dedicated Zillow scraping API for searching for-sale / for-rent / sold
    listings, fetching maximal property detail (resoFacts home facts,
    price/tax/Zestimate history, schools, agent attribution, mortgage rates,
    photos), agent profiles (reviews, past sales, licenses), region/address
    autocomplete, and coverage reference data.
servers:
  - url: https://scrapebadger.com
    description: Production
security:
  - apiKeyAuth: []
paths:
  /v1/zillow/building:
    get:
      tags:
        - Zillow Property
      summary: Get Multifamily Building
      description: >-
        Get a Zillow apartment community with its floor plans and per-unit
        pricing. Zillow serves multi-unit rentals on `/apartments/...` and
        `/b/...` pages, which the property endpoint cannot read — pass the
        `detail_url` of a search result whose `home_type` is `BUILDING`.
      operationId: getZillowBuilding
      parameters:
        - name: url
          in: query
          required: true
          schema:
            type: string
          description: >-
            Full Zillow building URL, e.g.
            `https://www.zillow.com/apartments/kansas-city-mo/brookside-51/CkBJqt/`.
      responses:
        '200':
          description: Building detail
          content:
            application/json:
              schema:
                type: object
                properties:
                  building:
                    $ref: '#/components/schemas/Building'
components:
  schemas:
    Building:
      description: >-
        A Zillow multifamily building (an apartment community, not a single
        home).
      type: object
      properties:
        url:
          anyOf:
            - type: string
            - type: 'null'
        lot_id:
          anyOf:
            - type: string
            - type: 'null'
        zpid:
          anyOf:
            - type: string
            - type: 'null'
        name:
          description: Community name, e.g. `Brookside 51`.
          anyOf:
            - type: string
            - type: 'null'
        building_type:
          description: '`FOR_RENT`.'
          anyOf:
            - type: string
            - type: 'null'
        home_types:
          description: e.g. `["apartment"]`.
          type: array
          items:
            type: string
        provider_listing_id:
          anyOf:
            - type: string
            - type: 'null'
        street_address:
          anyOf:
            - type: string
            - type: 'null'
        full_address:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        zipcode:
          anyOf:
            - type: string
            - type: 'null'
        county:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        neighborhood:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        time_zone:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          description: Leasing-office phone.
          anyOf:
            - type: string
            - type: 'null'
        contact_name:
          description: Property manager, e.g. `Greystar`.
          anyOf:
            - type: string
            - type: 'null'
        rental_applications_accepted:
          anyOf:
            - type: string
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        rent_min:
          description: Cheapest advertised total monthly price across the live inventory.
          anyOf:
            - type: integer
            - type: 'null'
        rent_max:
          anyOf:
            - type: integer
            - type: 'null'
        base_rent_min:
          description: Excludes mandatory monthly fees.
          anyOf:
            - type: integer
            - type: 'null'
        base_rent_max:
          anyOf:
            - type: integer
            - type: 'null'
        list_price_includes_required_fees:
          anyOf:
            - type: boolean
            - type: 'null'
        units_available:
          anyOf:
            - type: integer
            - type: 'null'
        unit_count:
          anyOf:
            - type: integer
            - type: 'null'
        description:
          anyOf:
            - type: string
            - type: 'null'
        building_details:
          description: e.g. `["170 units", "built in 2018"]`.
          type: array
          items:
            type: string
        amenities:
          items:
            type: string
          type: array
        unit_features:
          items:
            type: string
          type: array
        policies:
          items:
            type: string
          type: array
        special_features:
          items:
            type: string
          type: array
        special_offers:
          items:
            type: string
          type: array
        office_hours:
          items:
            type: string
          type: array
        allowed_pets:
          items:
            type: string
          type: array
        walk_score:
          anyOf:
            - type: integer
            - type: 'null'
        transit_score:
          anyOf:
            - type: integer
            - type: 'null'
        bike_score:
          anyOf:
            - type: integer
            - type: 'null'
        is_waitlisted:
          anyOf:
            - type: boolean
            - type: 'null'
        is_low_income:
          anyOf:
            - type: boolean
            - type: 'null'
        is_senior_housing:
          anyOf:
            - type: boolean
            - type: 'null'
        is_student_housing:
          anyOf:
            - type: boolean
            - type: 'null'
        floor_plans:
          type: array
          items:
            $ref: '#/components/schemas/BuildingFloorPlan'
        units:
          description: Every unit across every floor plan, flattened.
          type: array
          items:
            $ref: '#/components/schemas/BuildingUnit'
        schools:
          items:
            $ref: '#/components/schemas/School'
          type: array
        photos:
          items:
            $ref: '#/components/schemas/Photo'
          type: array
        scraped_utc:
          anyOf:
            - type: number
            - type: 'null'
        scraped_at:
          anyOf:
            - type: string
            - type: 'null'
    BuildingFloorPlan:
      description: A floor-plan model, which groups one or more units of the same layout.
      type: object
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
        beds:
          anyOf:
            - type: number
            - type: 'null'
        baths:
          anyOf:
            - type: number
            - type: 'null'
        sqft:
          anyOf:
            - type: integer
            - type: 'null'
        price_min:
          anyOf:
            - type: integer
            - type: 'null'
        price_max:
          anyOf:
            - type: integer
            - type: 'null'
        base_rent_min:
          anyOf:
            - type: integer
            - type: 'null'
        base_rent_max:
          anyOf:
            - type: integer
            - type: 'null'
        required_monthly_fee_min:
          anyOf:
            - type: integer
            - type: 'null'
        required_monthly_fee_max:
          anyOf:
            - type: integer
            - type: 'null'
        available_from_utc:
          anyOf:
            - type: number
            - type: 'null'
        available_from_at:
          anyOf:
            - type: string
            - type: 'null'
        lease_term:
          anyOf:
            - type: string
            - type: 'null'
        description:
          anyOf:
            - type: string
            - type: 'null'
        photos:
          items:
            type: string
          type: array
        units:
          type: array
          items:
            $ref: '#/components/schemas/BuildingUnit'
        units_available:
          type: integer
    BuildingUnit:
      description: >-
        One rentable unit inside a multifamily floor plan. `price` is the total
        monthly leasing price Zillow advertises; `base_rent` excludes the
        mandatory monthly fees, which are carried separately.
      type: object
      properties:
        unit_number:
          anyOf:
            - type: string
            - type: 'null'
        zpid:
          anyOf:
            - type: string
            - type: 'null'
        beds:
          anyOf:
            - type: number
            - type: 'null'
        baths:
          anyOf:
            - type: number
            - type: 'null'
        sqft:
          anyOf:
            - type: integer
            - type: 'null'
        price:
          description: Total advertised monthly leasing price.
          anyOf:
            - type: integer
            - type: 'null'
        base_rent:
          description: Rent excluding mandatory monthly fees.
          anyOf:
            - type: integer
            - type: 'null'
        required_monthly_fee_min:
          anyOf:
            - type: integer
            - type: 'null'
        required_monthly_fee_max:
          anyOf:
            - type: integer
            - type: 'null'
        list_price_includes_required_fees:
          anyOf:
            - type: boolean
            - type: 'null'
        available_from_utc:
          anyOf:
            - type: number
            - type: 'null'
        available_from_at:
          description: Move-in date, ISO-8601 Z.
          anyOf:
            - type: string
            - type: 'null'
        allowed_pets:
          items:
            type: string
          type: array
    School:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: integer
            - type: 'null'
        grades:
          anyOf:
            - type: string
            - type: 'null'
        level:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        distance:
          anyOf:
            - type: number
            - type: 'null'
        link:
          anyOf:
            - type: string
            - type: 'null'
        student_count:
          anyOf:
            - type: integer
            - type: 'null'
        assigned:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    Photo:
      description: A single listing photo with its responsive source variants.
      properties:
        url:
          anyOf:
            - type: string
            - type: 'null'
        caption:
          anyOf:
            - type: string
            - type: 'null'
        subject_type:
          anyOf:
            - type: string
            - type: 'null'
        sources:
          items:
            additionalProperties: true
            type: object
          type: array
      type: object
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.