# PadMapper Rental Listings Scraper (`bovi/padmapper-scraper`) Actor

Collect public PadMapper apartment listings by city, with rent ranges, beds and baths, address, neighborhood, coordinates, amenities, pet codes, phone, availability, and listing URLs.

- **URL**: https://apify.com/bovi/padmapper-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 padmapper rental listings scrapers

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## PadMapper Rental Listings Scraper

PadMapper Rental Listings Scraper is for real-estate and lead-generation work. It extracts public apartment listings from PadMapper pages without a login and saves rent, beds, baths, address, amenities, and listing URLs.

- Compare rent, bedroom, and bathroom ranges by neighborhood for market comps.
- Collect public phones, fee flags, and availability dates for lead lists when those values are present.
- Scrape one city slug or several, or submit PadMapper search and listing URLs, with no PadMapper login or API key.
- Keep amenity labels and the original numeric property-type and pet-policy codes from the page.
- Save each PadMapper listing ID once and skip listings outside the rent and bedroom filters you set.

### What you get

Search pages use preloaded search data. A detail URL uses preloaded listing data, plus public JSON-LD for a name, address, phone, description, URL, or coordinates. Missing fields are omitted, including `image_ids` when `includePhotos` is false.

| Family | Fields | Detail |
| --- | --- | --- |
| 🏠 Identity | `source`, `listing_id`, `url`, `name` | `padmapper.com`, PadMapper id, listing or building URL, and title or building name. |
| 📍 Location | `address`, `city`, `state`, `zipcode`, `neighborhood`, `latitude`, `longitude` | Street, city, state, ZIP, neighborhood, and coordinates when supplied. |
| 💵 Rent and layout | `price_min`, `price_max`, `beds_min`, `beds_max`, `baths_min`, `baths_max`, `square_feet_min`, `square_feet_max` | Minimum and maximum rent, bedrooms, bathrooms, and square footage. Bedroom counts can be 0. |
| 🔢 Source codes | `property_type_code`, `pet_policy_codes` | Integers as published. No label is added. No lead score. |
| 🛋️ Amenities | `amenities`, `building_amenities`, `amenity_codes`, `building_amenity_codes` | Labels from the page, plus numeric codes when PadMapper sends them. |
| 📞 Contact and fees | `phone`, `date_available`, `has_fees`, `leasing_fee`, `description` | Phone, availability date, fee flag, leasing fee, and description when present. |
| 🖼️ Photos and time | `image_ids`, `scraped_at` | Image IDs only if `includePhotos` is not false and IDs exist. `scraped_at` is the UTC time the listing was saved. |

### Sample output

Shortened sample. Left out: square footage, amenity labels and codes, pet-policy codes, phone, fees, image IDs, and `scraped_at`. No `description` or `date_available` in this record.

```json
{
  "source": "padmapper.com",
  "listing_id": 58574957,
  "url": "https://www.padmapper.com/buildings/1717500/blueground-san-francisco-apartments-at-149-san-francisco-new-montgomery-st-san-francisco-ca-94105",
  "name": "Blueground San Francisco",
  "address": "149 San Francisco New Montgomery St",
  "city": "San Francisco",
  "state": "CA",
  "zipcode": "94105",
  "neighborhood": "SOMA",
  "latitude": 37.78714246632131,
  "longitude": -122.39963719035394,
  "price_min": 2850,
  "price_max": 10650,
  "beds_min": 0,
  "beds_max": 3,
  "baths_min": 1,
  "baths_max": 2,
  "property_type_code": 2
}
```

### Pricing

Billing model: pay per event. Amounts below are Free-plan prices. There is no separate price list for other plans in the live billing setup.

| Event | When it is charged | Price on Free |
| --- | --- | --- |
| Actor Start (`apify-actor-start`) | When the Actor starts. The number of events follows Actor memory: one event per GB, with a minimum of one event. | $0.00005 per event on Free |
| PadMapper Rental Listings Scraper (`apify-default-dataset-item`) | One listing saved to the dataset. This is the primary event. Filtered-out and duplicate rows are not saved, so they are not charged as dataset items. | $0.0024 per saved listing on Free |

50 results = $0.12005 on Free. That is 50 × $0.0024 on Free for saved listings, plus one Actor Start event at $0.00005 on Free.

1,000 saved listings are 1,000 × $0.0024 = $2.4 on Free; with one Actor Start event, 1,000 results = $2.40005 on Free. 10,000 saved listings are 10,000 × $0.0024 = $24 on Free; with one Actor Start event, 10,000 results = $24.00005 on Free. 1,000 Actor Start events are 1,000 × $0.00005 = $0.05 on Free. 10,000 Actor Start events are 10,000 × $0.00005 = $0.5 on Free.

The Apify Free plan includes $5 of monthly platform usage credit. After one Actor Start event, that credit covers 2083 saved listings: 2083 × $0.0024 on Free is $4.9992, and $4.9992 + $0.00005 on Free is $4.99925. Extra Actor Start events from higher memory are $0.00005 each on Free. Listings already saved are still charged if a later page fails the run.

On this pay-per-event Actor, platform usage for compute, Apify Proxy traffic (including residential), and storage is included in the event prices and is paid by the Actor developer. This Actor does not bill pay-per-event plus usage, so you are not charged a separate platform-usage fee.

### How to use

1. Open PadMapper Rental Listings Scraper in Apify and sign in with your Apify account.
2. Enter city slugs in `locations`, searched at https://www.padmapper.com/apartments/{slug}, or HTTPS URLs in `listingUrls` (non-empty replaces city searches).
3. Set the monthly rent and bedroom filters, plus `maxResults`, `maxPages`, and `includePhotos`.
4. Choose direct or Apify Proxy via `proxyConfiguration` (default `RESIDENTIAL`). The example uses a direct connection.
5. Run the Actor and open the dataset.
6. Repeat the run through Apify Schedules. A daily schedule is a starting point for listing checks; the Actor does not state how often PadMapper updates pages.

```json
{
  "locations": ["san-francisco-ca"],
  "maxResults": 50,
  "maxPages": 5,
  "includePhotos": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

Search URLs use `page`, up to `maxPages`. Page 1 omits `page`; an existing value is replaced. `/rentals/`, `/listings/`, `/buildings/`, and `/apartment-buildings/` are detail pages and are not paginated. City search reads embedded listings and does not open each result URL.

Export the dataset as JSON or CSV, or read the items through the Apify dataset API.

### Input parameters

| Parameter | What it does | Default |
| --- | --- | --- |
| `locations` | City slugs in order, such as `san-francisco-ca`, `new-york-ny`, or `toronto-on`. Lowercased; non-letters and non-digits become hyphens; each slug once. A string is accepted. Up to 50. If none remain, uses `san-francisco-ca`. | `["san-francisco-ca"]` |
| `location` | Optional single city slug appended to `locations` for older saved inputs. | None |
| `propertyType` | Only `apartments`. Any other value fails before a request; other category paths were not available during verification. | `apartments` |
| `minPrice` | Drops a listing when `price_max` is present and lower. Integer, minimum 0. | None |
| `maxPrice` | Drops a listing when `price_min` is present and higher. Integer, minimum 0. | None |
| `minBeds` | Drops a listing when `beds_max` is present and lower. `0` is a studio. Integer, minimum 0. | None |
| `maxBeds` | Drops a listing when `beds_min` is present and higher. Integer, minimum 0. | None |
| `maxResults` | Stop after this many listings are saved across every location and URL. 0 or below saves nothing and does not error. | `50` (1–10000) |
| `maxPages` | Search pages per location or search URL, capped at 1–1000. Not used for a detail URL. | `20` (1–1000) |
| `includePhotos` | When true, keep image IDs. Only explicit false omits `image_ids`. | `true` |
| `listingUrls` | Up to 1000 HTTPS PadMapper search or listing URLs. Non-empty replaces city searches. A `/` path is prefixed with `https://www.padmapper.com`. Usernames, passwords, ports, and other hosts are rejected. | None |
| `useApifyProxy` | `false` forces a direct connection even if `proxyConfiguration` is set. `true` turns Apify Proxy on. | None |
| `proxyConfiguration` | Optional proxy object. Used when non-empty and neither it nor `useApifyProxy` is false. Ignored when `useApifyProxy` inside it is false. | `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}` |

### Limits and edge cases

| Condition | What you see | What to do |
| --- | --- | --- |
| `maxResults` is reached | The run stops. Saved listings equal that cap. Later locations and pages are not read. | Raise `maxResults`. Maximum is 10000. |
| Same `listing_id`, including featured duplicates | Saved once for the whole run. | Nothing. Dedup is per run, not per page. |
| Rent or bedroom range misses the filter | Not saved. Skipped when the bound that check uses is missing. | Clear or widen `minPrice`, `maxPrice`, `minBeds`, or `maxBeds`. |
| First search page has no listings and nothing is saved | Fails with “No PadMapper search listings parsed from” that URL. | Check the slug, or pass a working PadMapper search URL in `listingUrls`. |
| A later search page has no listings | Pagination for that URL stops. Saved rows stay. The next location or URL still runs. | If empty, no change. If you hit the cap, raise `maxPages`. |
| `maxPages` is exhausted | No further pages for that search URL. | Raise `maxPages`, up to 1000. |
| Detail URL has no listing id or URL | Fails with “No PadMapper listing data parsed from” that URL. Earlier saves remain. | Confirm it is a PadMapper listing or building page. |
| HTTP 400 or higher, a client challenge, or a failed request | Tried 3 times, waits of 1 second then 2 seconds, timeout 40 seconds. Fails with “Could not fetch PadMapper page”. Earlier saves remain. | Run again, or switch between a direct connection and Apify Proxy. A challenge may remain. |
| `propertyType` is not `apartments` | The run fails before fetching. | Use `apartments`. |
| `listingUrls` is not HTTPS on `padmapper.com` or `www.padmapper.com`, or includes a username, password, or port | Fails before fetching and says `listingUrls` entries must use HTTPS on padmapper.com. | Fix the URL. A path that starts with `/` is allowed. |
| `maxResults` is 0 or below | Ends with no listings and no error. Form minimum is 1. | Set `maxResults` to at least 1. |

There is no square-footage filter. Slug examples in the input are format examples, not a coverage claim for every city.

The Actor reads public data from PadMapper pages and does not log in. Whether that use is legal or allowed depends on PadMapper’s terms and applicable law for your use case. This page does not grant permission or a legal conclusion.

### FAQ

#### How much does it cost to scrape PadMapper?

See Pricing for every Free-plan amount, including the 50-result example and the monthly credit count. Unsaved filtered or duplicate rows are not charged.

#### Why did the run fail or save no listings?

See Limits and edge cases. Listings saved before a later failure stay in the dataset.

#### Do I need a PadMapper login?

No. The Actor does not ask for a PadMapper login, password, cookie, or API key. You run it with your own Apify account.

#### Why are fields missing or numeric?

Unsupplied fields are omitted, as is `image_ids` when `includePhotos` is false. Property-type and pet-policy codes stay numeric. No lead score is added.

#### Is it legal to collect public data from PadMapper listings?

The Actor reads public data (public listing fields) from PadMapper pages and does not log in. Whether that use is allowed depends on PadMapper’s terms and the law for your use case. This page does not grant permission or a legal conclusion.

### Usage statistics

This Actor creates a small, content-free summary at the end of each run, used only to monitor reliability and improve this Actor. No input values, credentials or scraped data are sent.

A copy of the exact record for your run is saved as `USAGE_STATS` in your own Apify key-value store.

To opt out, set `disableUsageStats` to `true` in the input. Nothing is sent then.

[Full list of collected fields](https://api.apify.com/v2/key-value-stores/v9rgHjMKLDGtHf8tD/records/index.html)

# Actor input Schema

## `locations` (type: `array`):

PadMapper city slugs, such as san-francisco-ca, new-york-ny, or toronto-on. Each location is searched in turn.

## `location` (type: `string`):

Optional single city slug; accepted alongside locations for compatibility.

## `propertyType` (type: `string`):

PadMapper's verified public search route. Other category routes returned 404 during verification.

## `minPrice` (type: `integer`):

Keep listings whose rent range reaches this monthly price.

## `maxPrice` (type: `integer`):

Keep listings whose rent range begins at or below this monthly price.

## `minBeds` (type: `integer`):

Keep listings whose bedroom range reaches this value; 0 means studio.

## `maxBeds` (type: `integer`):

Keep listings whose bedroom range begins at or below this value.

## `maxResults` (type: `integer`):

Maximum number of listing records to save.

## `maxPages` (type: `integer`):

Maximum PadMapper search pages to read per location.

## `includePhotos` (type: `boolean`):

Include the image IDs supplied in PadMapper's search data.

## `listingUrls` (type: `array`):

Optional PadMapper URLs to read instead of constructing apartment searches from locations.

## `useApifyProxy` (type: `boolean`):

Enable the proxy only when true. Leave unset or set false to connect directly.

## `proxyConfiguration` (type: `object`):

Optional proxy settings passed to Actor.create_proxy_configuration. This field is not required.

## Actor input object example

```json
{
  "locations": [
    "san-francisco-ca"
  ],
  "propertyType": "apartments",
  "maxResults": 50,
  "maxPages": 20,
  "includePhotos": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset with the scraped PadMapper listing records.

# 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 = {
    "locations": [
        "san-francisco-ca"
    ],
    "propertyType": "apartments",
    "maxResults": 50,
    "maxPages": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/padmapper-scraper").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 = {
    "locations": ["san-francisco-ca"],
    "propertyType": "apartments",
    "maxResults": 50,
    "maxPages": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/padmapper-scraper").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 '{
  "locations": [
    "san-francisco-ca"
  ],
  "propertyType": "apartments",
  "maxResults": 50,
  "maxPages": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/padmapper-scraper --silent --output-dataset

```

## MCP server setup

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

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/bIU7ztwfCG1MQ7HUX/builds/cjVRqwMgodXU3Ij4H/openapi.json
