# NYC Landlord Registry Lead List — HPD Portfolio Contacts (`malonestar/nyc-landlord-registry-lead-list`) Actor

Bulk NYC landlord & managing-agent contact lead lists from HPD building registrations. Killer filter: portfolio size — target owners of 5-50 Bronx buildings. Rolls up buildings per contact with business address, boroughs, ZIPs & samples. For prop-mgmt, insurance, lender & proptech sales.

- **URL**: https://apify.com/malonestar/nyc-landlord-registry-lead-list.md
- **Developed by:** [Kyle Maloney](https://apify.com/malonestar) (community)
- **Categories:** Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.25 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## NYC Landlord Registry Lead List — HPD Portfolio Contacts

Build **bulk landlord and managing-agent contact lead lists** from New York City's
legally mandated HPD (Housing Preservation & Development) registration data — with the
one filter no flat data dump gives you: **portfolio size per landlord**. Ask for
"owners of 5–50 Bronx buildings" and get one clean lead record per unique contact,
with their filed business address and a rollup of every building they're registered on.

Every residential building with 3+ units (and many 1–2 unit non-owner-occupied
buildings) in NYC **must** register annually with HPD and name an owner, head officer,
and managing agent. That makes this the most complete, legally mandated landlord
contact registry in the United States — refreshed continuously on NYC Open Data.

### Who it's for

- **Property-management companies** prospecting owners in a target borough / portfolio band
- **Insurance brokers** (landlord policies, umbrella, builders risk) building call lists
- **Lenders & mortgage brokers** targeting multi-building owners for refi outreach
- **Contractors, roofers, boiler/elevator service companies** selling to building operators
- **Proptech sales teams** who need decision-maker (HeadOfficer / Agent) leads, not LLC shells
- **Real-estate investors & brokers** mapping who actually controls a neighborhood

### What it does (the transform)

1. Pulls **HPD Multiple Dwelling Registrations** for your borough/ZIP (dataset `tesw-yqqr`).
2. Filters to **current registrations only** — registration end date on/after the
   dataset's own latest filing date (anchored to the data, not the wall clock; NYC
   registrations run in annual cycles ending September 1). Set `includeExpired: true`
   to keep lapsed registrations too.
3. Pulls the matching **HPD Registration Contacts** (dataset `feu5-w2e2`) in batched
   SoQL `IN (...)` queries, joined on `registrationid`.
4. **Groups by normalized contact identity** — corporation name (case/punctuation
   normalized) or person first+last name, plus filed business address — so the same
   management company across 40 buildings becomes ONE lead with `buildings_count: 40`.
5. Applies your lead filters: contact types, min/max portfolio size, entities only.
6. Outputs leads sorted by portfolio size (largest first), capped at `maxResults`.

### Example input

```json
{
  "borough": "BRONX",
  "contactTypes": ["HeadOfficer", "Agent"],
  "minPortfolioBuildings": 5,
  "maxPortfolioBuildings": 50,
  "entityOnly": false,
  "maxResults": 500
}
````

### Output fields

| Field | Description |
| --- | --- |
| `contact_name` | Person name (falls back to corporation for pure entity records) |
| `corporation` | Corporation/LLC name as filed, or null for individuals |
| `contact_type` | Most frequent role: HeadOfficer, Agent, CorporateOwner, IndividualOwner, Officer, SiteManager... |
| `contact_types` | All roles this identity appears under |
| `business_address` / `business_city` / `business_state` / `business_zip` | Filed business address |
| `buildings_count` | **Portfolio size** — distinct registered buildings linked to this contact in the scanned area |
| `boroughs` / `zips` | Where the portfolio's buildings are |
| `sample_buildings` | Up to 5 buildings as "housenumber streetname, borough" |
| `registration_ids_count` | Distinct HPD registrations this contact appears on |
| `is_entity` | true = corporation/LLC, false = individual person |
| `source_url` | NYC Open Data source dataset |

### Use as an MCP tool

This actor is callable by AI agents (Claude, Cursor, custom agents) via
`mcp.apify.com` — the described input schema and field-level output docs make it a
clean chainable tool for "find me NYC landlord leads" workflows.

### FAQ

**How do I get a list of NYC landlords by portfolio size?**
Set `minPortfolioBuildings` / `maxPortfolioBuildings` (e.g. 5–50) and a borough.
Portfolio size is computed within the scanned area, so a Bronx run counts Bronx buildings.

**Is this data legal to use for outreach?**
The addresses are **business addresses** filed under NYC Housing Maintenance Code
§27-2097, published as public open data by the City of New York precisely so the
public can identify who is responsible for a building. No phone numbers or emails
are in the source; this actor republishes only what the city publishes.

**Which contact type should I target?**
`HeadOfficer` (the decision-maker behind the owning entity) and `Agent` (the managing
agent who buys services day-to-day) are the highest-value roles. `CorporateOwner`
rows give you the owning LLC itself.

**Does it include expired registrations?**
No — by default only current-cycle registrations (end date on/after the dataset's
latest filing date). Set `includeExpired: true` to include lapsed ones, e.g. to
prospect owners who fell out of compliance.

**Can I run it city-wide?**
Yes — leave `borough` empty. Expect a much longer run (~165k current registrations
across all five boroughs); borough-by-borough runs are faster and cheaper.

**What about new-landlord alerts?**
A delta mode (only contacts on registrations filed since your last run) is planned
for v1.1.

### Pricing

Pay-per-result: you're charged only for the lead records actually pushed to the
dataset. Runs that match nothing cost only the minimal actor start.

### Data sources

- [HPD Multiple Dwelling Registrations (`tesw-yqqr`)](https://data.cityofnewyork.us/Housing-Development/Multiple-Dwelling-Registrations/tesw-yqqr)
- [HPD Registration Contacts (`feu5-w2e2`)](https://data.cityofnewyork.us/Housing-Development/Registration-Contacts/feu5-w2e2)

Both are keyless, public NYC Open Data (Socrata) endpoints maintained by the NYC
Department of Housing Preservation & Development.

### Related actors — the NYC investor shelf

| Actor | What it adds |
|---|---|
| [NYC Distressed Property Leads](https://apify.com/malonestar/distressed-property-signal-stacker) | Which of those buildings are actually under pressure (violations, liens, evictions) |
| [NYC ACRIS Deed Transfer Intel](https://apify.com/malonestar/acris-deed-transfer-intel) | Whether the owner has been buying or selling, with price and cash/LLC flags |
| [Parcel Owner Lookup](https://apify.com/malonestar/parcel-owner-lookup) | Address → owner of record for one-off checks |

Typical play: build a portfolio-banded contact list here → screen those BBLs for distress → time the outreach against recent ACRIS activity.

# Actor input Schema

## `borough` (type: `string`):

Limit leads to landlords/agents of buildings in one NYC borough. Leave empty for all five boroughs (city-wide runs fetch far more data and take longer).

## `zip` (type: `string`):

Optional 5-digit ZIP code of the BUILDINGS (not the contact's business address). Narrows the portfolio scan to buildings in this ZIP.

## `contactTypes` (type: `array`):

Which HPD registration contact roles to return. Common values: HeadOfficer, Agent, CorporateOwner, IndividualOwner, Officer, SiteManager. Leave empty for all types. HeadOfficer + Agent are the highest-value decision-maker leads.

## `minPortfolioBuildings` (type: `integer`):

Only return contacts linked to at least this many distinct buildings. The killer filter: set 5 to skip mom-and-pop owners, e.g. 'owners of 5-50 Bronx buildings'.

## `maxPortfolioBuildings` (type: `integer`):

Only return contacts linked to at most this many distinct buildings. Use with the minimum to target a portfolio band (e.g. 5-50). Leave empty for no upper bound.

## `entityOnly` (type: `boolean`):

When true, only return corporate/LLC contacts (records with a corporation name) and drop individual-person leads.

## `includeExpired` (type: `boolean`):

By default only CURRENT registrations are scanned (registration end date on/after the dataset's own latest filing date). Set true to also include lapsed/expired registrations.

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

Maximum number of lead records (one per unique landlord/agent contact) to push to the dataset. Leads are sorted by portfolio size, largest first, before the cap is applied.

## Actor input object example

```json
{
  "borough": "BRONX",
  "contactTypes": [
    "HeadOfficer",
    "Agent"
  ],
  "minPortfolioBuildings": 1,
  "entityOnly": false,
  "includeExpired": false,
  "maxResults": 200
}
```

# Actor output Schema

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

The default dataset of landlord/agent contact leads.

# 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 = {
    "borough": "BRONX",
    "contactTypes": [
        "HeadOfficer",
        "Agent"
    ],
    "minPortfolioBuildings": 1,
    "maxResults": 200
};

// Run the Actor and wait for it to finish
const run = await client.actor("malonestar/nyc-landlord-registry-lead-list").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 = {
    "borough": "BRONX",
    "contactTypes": [
        "HeadOfficer",
        "Agent",
    ],
    "minPortfolioBuildings": 1,
    "maxResults": 200,
}

# Run the Actor and wait for it to finish
run = client.actor("malonestar/nyc-landlord-registry-lead-list").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "borough": "BRONX",
  "contactTypes": [
    "HeadOfficer",
    "Agent"
  ],
  "minPortfolioBuildings": 1,
  "maxResults": 200
}' |
apify call malonestar/nyc-landlord-registry-lead-list --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=malonestar/nyc-landlord-registry-lead-list",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "NYC Landlord Registry Lead List — HPD Portfolio Contacts",
        "description": "Bulk NYC landlord & managing-agent contact lead lists from HPD building registrations. Killer filter: portfolio size — target owners of 5-50 Bronx buildings. Rolls up buildings per contact with business address, boroughs, ZIPs & samples. For prop-mgmt, insurance, lender & proptech sales.",
        "version": "1.0",
        "x-build-id": "thRCrDDoB5uy3pfO0"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/malonestar~nyc-landlord-registry-lead-list/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-malonestar-nyc-landlord-registry-lead-list",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/malonestar~nyc-landlord-registry-lead-list/runs": {
            "post": {
                "operationId": "runs-sync-malonestar-nyc-landlord-registry-lead-list",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/malonestar~nyc-landlord-registry-lead-list/run-sync": {
            "post": {
                "operationId": "run-sync-malonestar-nyc-landlord-registry-lead-list",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "borough": {
                        "title": "Borough",
                        "enum": [
                            "",
                            "MANHATTAN",
                            "BRONX",
                            "BROOKLYN",
                            "QUEENS",
                            "STATEN ISLAND"
                        ],
                        "type": "string",
                        "description": "Limit leads to landlords/agents of buildings in one NYC borough. Leave empty for all five boroughs (city-wide runs fetch far more data and take longer).",
                        "default": "BRONX"
                    },
                    "zip": {
                        "title": "Building ZIP code",
                        "type": "string",
                        "description": "Optional 5-digit ZIP code of the BUILDINGS (not the contact's business address). Narrows the portfolio scan to buildings in this ZIP."
                    },
                    "contactTypes": {
                        "title": "Contact types",
                        "type": "array",
                        "description": "Which HPD registration contact roles to return. Common values: HeadOfficer, Agent, CorporateOwner, IndividualOwner, Officer, SiteManager. Leave empty for all types. HeadOfficer + Agent are the highest-value decision-maker leads.",
                        "default": [
                            "HeadOfficer",
                            "Agent"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "minPortfolioBuildings": {
                        "title": "Min portfolio size (buildings)",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Only return contacts linked to at least this many distinct buildings. The killer filter: set 5 to skip mom-and-pop owners, e.g. 'owners of 5-50 Bronx buildings'.",
                        "default": 1
                    },
                    "maxPortfolioBuildings": {
                        "title": "Max portfolio size (buildings)",
                        "minimum": 1,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Only return contacts linked to at most this many distinct buildings. Use with the minimum to target a portfolio band (e.g. 5-50). Leave empty for no upper bound."
                    },
                    "entityOnly": {
                        "title": "Entities only",
                        "type": "boolean",
                        "description": "When true, only return corporate/LLC contacts (records with a corporation name) and drop individual-person leads.",
                        "default": false
                    },
                    "includeExpired": {
                        "title": "Include expired registrations",
                        "type": "boolean",
                        "description": "By default only CURRENT registrations are scanned (registration end date on/after the dataset's own latest filing date). Set true to also include lapsed/expired registrations.",
                        "default": false
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Maximum number of lead records (one per unique landlord/agent contact) to push to the dataset. Leads are sorted by portfolio size, largest first, before the cap is applied.",
                        "default": 500
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
