# Apartments (`superapis/apartments`) Actor

Apartments.com API (apartments.com): Rental Search & Listing Details. Get rental listings from Apartments.com by city or ZIP code, with rent, bedroom, bathroom, size, home type and pet filters, plus full listing details with units, fees, Walk Score, reviews and virtual tours.

- **URL**: https://apify.com/superapis/apartments.md
- **Developed by:** [SuperAPIs](https://apify.com/superapis) (community)
- **Categories:** Developer tools, Other
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 api requests

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

**Apartments.com API** gives you US rental data from Apartments.com - rental search in any city or ZIP code with rent, bedroom, bathroom, size, year built, home type and pet filters, full listing details with units and availabilities, fees and policies, tour options, Walk Score, Sound Score, renter reviews, similar rentals and virtual tours, through a plain HTTP JSON API.

### What makes it different

**It answers instantly.** This Actor runs in Standby mode, so it behaves like a normal REST API instead of a scraper you start and wait for. You send a `GET` request, you get JSON back in the same response - no runs to poll, no datasets to fetch.

**You pay per call, not per row.** A request can return a whole page of 25 rentals with their floor plans, or a full listing with every unit, fee and amenity, and is billed as a single request.

**Search the way renters do.** Give a city or ZIP code as plain text and narrow it down by monthly rent, bedrooms, bathrooms, unit size, year built, home type (apartment, house, condo, townhouse) and whether dogs or cats are allowed, sorted by best match or by price.

**Floor plans in every result.** Each rental in a search comes with its rent and bedroom range, the rent, size and number of available units per floor plan, current specials, monthly fees, pet policy, rating, photo and property manager - enough to compare buildings without opening each one.

**The whole picture of a building.** Full details with every unit and its availability date, lease terms, amenities, pet, parking and storage policies, office hours, nearby schools, colleges and transit, plus the complete list of recurring and one-time fees and deposits.

**The neighborhood around it.** Walk Score, Transit Score and Bike Score, a Sound Score for traffic, airport and local noise, what renters wrote in their reviews, similar rentals nearby, and the units that have a 3D or video tour.

**All endpoints, all documented.** Every endpoint is a plain `GET` with query parameters and a full OpenAPI schema, visible in the API tab. No input schemas to learn and no wrapper objects to unpack.

### Versioning

Endpoints are versioned in the path. Everything today lives under `/v1/`, and it will keep working exactly as it does now - new versions ship alongside it under their own prefix, never by changing what `/v1/` returns.

### Pricing

**$1.00 per 1,000 API requests.** A request is a request, no matter how much data comes back in it. There is no per-row charge, no minimum, and no charge for validation errors, missing parameters or upstream failures.

*Note: as with every Standby Actor on Apify, your run also consumes Apify platform usage while it is awake, billed to your own account at your plan's rate. This Actor is deliberately kept small, and its run shuts down automatically after 5 minutes without requests.*

### Notes and support

Found a bug or need an endpoint that is not covered yet? Open an issue in the **Issues** tab.

# Actor input Schema

## Actor input object example

```json
{}
```

# Actor output Schema

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("superapis/apartments").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("superapis/apartments").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call superapis/apartments --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,superapis/apartments"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/jaHJBCqk3i44R0f8e/builds/saCP4ktJtS5xigaWZ/openapi.json
