# Find 20 NYC contractors with published business emails

**Use case:** 

Find up to 20 New York City general contractors with active DOB records and published business emails. Export license numbers, boroughs and official source links.

## Input

```json
{
  "licenseType": "GENERAL CONTRACTOR",
  "borough": "All five boroughs",
  "maxItems": 20,
  "requireEmail": true
}
```

## Output

```json
{
  "businessName": {
    "label": "Registered business name",
    "format": "string"
  },
  "category": {
    "label": "DOB license type",
    "format": "string"
  },
  "borough": {
    "label": "NYC business borough",
    "format": "string"
  },
  "primaryEmail": {
    "label": "Published business email",
    "format": "string"
  },
  "phone": {
    "label": "Published business phone",
    "format": "string"
  },
  "licenseNumber": {
    "label": "DOB license number",
    "format": "string"
  },
  "contactType": {
    "label": "Billed contact type",
    "format": "string"
  },
  "contactSourceUrl": {
    "label": "Public source for billed contact",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The NYC Contractors | $1.45 / 1,000 Public Emails (Free Plan) Actor is ready to run with the inputs already set for "Find 20 NYC contractors with published business emails". [Sign up or log in](https://console.apify.com/create-task-from-example/rwthXhWLPzDkj0PPp) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find 20 NYC contractors with published business emails" task

The NYC Contractors | $1.45 / 1,000 Public Emails (Free Plan) Actor will start running based on the input automatically. You can also change all the input fields, like DOB license type, business borough, and more, to match your specific use case.

### 3. Receive the "Find 20 NYC contractors with published business emails" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as registered business name, DOB license type, NYC business borough, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find 20 NYC contractors with published business emails" task via API](https://apify.com/perceptive_city_af7/nyc-contractors-scraper.md).

## FAQ

### What does the New York City filter include?

The example selects active general contractor registrations whose business addresses can be placed in one of the five boroughs using the city’s own record.

### How can I check a contact?

Open the source link to see the business email published in the NYC Department of Buildings record. Email delivery and current phone service are untested.

### What is the cost limit?

This example requests up to 20 matching companies and caps Actor charges at $0.03. Open the Pricing tab for your plan’s result price.

## About this Actor

This example demonstrates how to use [NYC Contractors | $1.45 / 1,000 Public Emails (Free Plan)](https://apify.com/perceptive_city_af7/nyc-contractors-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/perceptive_city_af7/nyc-contractors-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/perceptive_city_af7/nyc-contractors-scraper.md

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`).
