# Bulk Lawyer Lead List in New York

**Use case:** 

Pull a large lead list of lawyers in New York, NY in one run. Set maxPages to 5 to collect up to 150 listings (30 per page), each with title, categories, star_rating, rating_count, phone, website, address, email, opening_hours and source_url. This scraper uses rotating residential proxies and visits every business detail page, so your bulk export stays complete and reliable.

## Input

```json
{
  "searchKeyword": [
    "Lawyers"
  ],
  "location": "New York, NY",
  "sort": "Default",
  "maxPages": 5,
  "urls": []
}
```

## Output

```json
{
  "is_ad": {
    "label": "Ad Status",
    "format": "boolean"
  },
  "title": {
    "label": "Business Name",
    "format": "text"
  },
  "is_claimed": {
    "label": "Claimed",
    "format": "text"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "star_rating": {
    "label": "Star Rating",
    "format": "text"
  },
  "rating_count": {
    "label": "Rating Count",
    "format": "text"
  },
  "opening_hours": {
    "label": "Opening Hours",
    "format": "text"
  },
  "phone": {
    "label": "Phone",
    "format": "text"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "address": {
    "label": "Address",
    "format": "text"
  },
  "email": {
    "label": "Email",
    "format": "text"
  },
  "regular_hours": {
    "label": "Regular Hours",
    "format": "object"
  },
  "more_info": {
    "label": "More Info",
    "format": "object"
  },
  "reviews": {
    "label": "Reviews",
    "format": "array"
  },
  "source_url": {
    "label": "Source URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [YellowPages Scraper - USA Business Leads](https://apify.com/delicious_zebu/yellowpages-usa-business-lead-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/delicious_zebu/yellowpages-usa-business-lead-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/delicious_zebu/yellowpages-usa-business-lead-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`).
