# Business Licenses Scraper: New Business Leads by City (`tacps126/business-licenses-scraper`) Actor

New business licenses and registrations from US cities (Chicago, New York, Los Angeles, San Francisco, New Orleans and more) in one format: business name, license type, address, phone and dates. Filter by keyword; get only new businesses on a schedule. $3 per 1,000 licenses.

- **URL**: https://apify.com/tacps126/business-licenses-scraper.md
- **Developed by:** [Tapaswai Choudhary](https://apify.com/tacps126) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 licenses

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/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

## Business Licenses Scraper

New business licenses and registrations from US cities, in one format. Each license comes with the business
name, legal name, license type, business activity, address, phone (where the city publishes one) and dates,
read from the city's own official open-data table.

### At a glance

- **Cities:** Chicago, New York, Los Angeles, San Francisco, New Orleans, Baton Rouge (East Baton Rouge Parish)
  and Norfolk. Any other city that publishes its business licenses on an open-data site: paste the table's
  address.
- **New businesses only:** each city's newest licenses first, by the date the license was issued or the
  business location opened. Chicago returns new licenses, not renewals.
- **Filters:** issued in the last N days, keywords (restaurant, salon, contractor, retail...), words to leave
  out.
- **Monitoring:** turn on *Only new since last run* and put the run on a schedule to get each new business once.
- **Price:** $3 per 1,000 licenses, plus a small start fee per run. Empty runs cost only the start fee.

### Who uses it

- B2B sales teams that sell to businesses in their first months: payments, POS, payroll, banking, insurance,
  accounting, signage, internet and phone.
- Commercial real estate, suppliers and local agencies following who opens where.
- Researchers and local news tracking new business activity by neighborhood.

### Input

| Field | What it does |
|---|---|
| Cities | One or more cities from the list |
| Other cities | Address of a business licenses table on a city's open-data site |
| Issued in the last (days) | How far back to look (default 30) |
| Keywords / Exclude keywords | Words in the business name, license type or business activity |
| Max licenses per city / in total | Newest licenses first |
| Only new since last run | For scheduled monitoring |

Example: new restaurants and food businesses in Chicago and San Francisco from the last 7 days.

```json
{
  "cities": ["chicago", "san-francisco"],
  "issuedWithinDays": 7,
  "keywords": ["food", "restaurant", "722"]
}
```

### Output

One row per license. Fields a city does not publish are left out.

```json
{
  "jurisdiction": "Chicago",
  "state": "IL",
  "licenseNumber": "3109331",
  "businessName": "Example Coffee",
  "legalName": "Example Coffee LLC",
  "licenseType": "Retail Food Establishment",
  "category": "Retail Sales of Perishable Foods",
  "applicationType": "ISSUE",
  "status": "AAI",
  "issuedDate": "2026-11-12",
  "expirationDate": "2028-11-15",
  "address": "1700 W EXAMPLE ST",
  "locality": "CHICAGO",
  "zip": "60622",
  "latitude": 41.91,
  "longitude": -87.67,
  "source": "https://data.cityofchicago.org/d/r5kz-chrr"
}
```

`category` is the business activity or industry the city records (in San Francisco a NAICS code). `phone`
comes with New York and New Orleans licenses, `ownerName` with New Orleans, Baton Rouge and Norfolk.

### Questions

**How fresh is the data?** As fresh as the city's own table, usually updated daily.

**A city I need is missing.** If it has an open-data site, paste the address of its business licenses table
under *Other cities*. If that does not work, open an issue with the city name.

**Why do some licenses have no phone or type?** The city did not publish one for that license.

**Is this personal data?** Business licenses are public records. Some name an owner; use them within the law
that applies to you, including rules on unsolicited calls and email.

# Actor input Schema

## `cities` (type: `array`):

Cities to read. Each city's licenses come from its own official open-data table.

## `datasetUrls` (type: `array`):

A city that is not in the list: paste the address of its business licenses table on its open-data site (the address ends in an id like abcd-1234). The columns are recognised automatically.

## `issuedWithinDays` (type: `integer`):

Only licenses issued (or businesses opened) in this many days.

## `keywords` (type: `array`):

Keep licenses whose business name, license type or business activity has any of these words, for example restaurant, salon, contractor, retail.

## `excludeKeywords` (type: `array`):

Drop licenses whose business name, license type or business activity has any of these words.

## `maxItemsPerCity` (type: `integer`):

Newest first.

## `maxItems` (type: `integer`):

The run stops at this many licenses.

## `onlyNew` (type: `boolean`):

Return only rows that earlier runs with the same monitor name did not return. Use it with a schedule.

## `monitorName` (type: `string`):

A name for this monitor, so several schedules keep separate histories. Leave empty to keep one history per set of inputs.

## `tenantId` (type: `string`):

Optional. Keeps histories of different teams or clients apart.

## `debug` (type: `boolean`):

Write more detail to the log.

## Actor input object example

```json
{
  "cities": [
    "chicago"
  ],
  "issuedWithinDays": 14,
  "maxItemsPerCity": 500,
  "maxItems": 100,
  "onlyNew": false,
  "debug": false
}
```

# Actor output Schema

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

The produced items (default dataset items).

# 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 = {
    "cities": [
        "chicago"
    ],
    "issuedWithinDays": 14,
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/business-licenses-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 = {
    "cities": ["chicago"],
    "issuedWithinDays": 14,
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("tacps126/business-licenses-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 '{
  "cities": [
    "chicago"
  ],
  "issuedWithinDays": 14,
  "maxItems": 100
}' |
apify call tacps126/business-licenses-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tacps126/business-licenses-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/sXmdikiSLGC5lRPNx/builds/HogYdHSvRStGExZJh/openapi.json
