# New Business License Leads (US Cities) (`astounding_loam/new-business-licenses`) Actor

Newly licensed or registered businesses from official open data in Chicago, Los Angeles, Austin, Seattle and San Francisco. Name, address, NAICS/activity, issue or start date, status and phone where the city publishes it. One normalized schema. No login, API key or proxy.

- **URL**: https://apify.com/astounding_loam/new-business-licenses.md
- **Developed by:** [Colby Phelps](https://apify.com/astounding_loam) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## New Business License Leads (US Cities)

Get **newly licensed or registered businesses** from official open-data portals in **Chicago, Los Angeles, Austin, Seattle and San Francisco**. One clean row per license or location: legal name, DBA, address, ZIP, issue or start date, activity / NAICS, status, and a phone number where the city publishes one.

Built for **local-services sales teams, payment and insurance brokers, commercial real-estate and office-supply reps, marketing agencies, and anyone who wants to reach a business in its first weeks**.

### What does this Actor do?

- Searches each city's official business-license or tax-registration dataset for records in your date window (default: last 30 days).
- Marks Chicago ISSUE vs RENEW applications so you can skip renewals. Other cities have no renewal flag — the date window is the "new" filter.
- Normalizes every city's columns into **one schema**.
- No login, no API key, no proxies, no browser — public Socrata (SODA) APIs only.

### Supported cities

| City | Source | "New vs renewal" | Status | Phone | NAICS / activity |
|---|---|---|---|---|---|
| Chicago, IL | Business Licenses (`r5kz-chrr`) | ✅ ISSUE / RENEW | ✅ | – | activity description |
| Los Angeles, CA | Listing of Active Businesses (`6rrh-rzua`) | date only | active listing | – | ✅ |
| Austin, TX | Texas Comptroller active sales-tax permits (`jrea-zgmq`), outlet city Austin | date only | active permits | – | ✅ |
| Seattle, WA | Active Business License Tax Certificate (`wnbq-64tb`) | date only | active listing | ✅ | ✅ |
| San Francisco, CA | Registered Business Locations (`g8m3-pdis`) | date only | end date / closed flag | – | ✅ |

Austin does not publish a general municipal business-license file. The Actor uses the official Texas Comptroller *Active Sales Tax Permit Holders* dataset, filtered to outlets in Austin — the standard public-record proxy for a new Austin business.

### How to use it

1. Pick one or more **Cities**.
2. Set **Issued / started in the last N days** (or an exact date range).
3. Optional: skip renewals (Chicago), keep active only, NAICS prefix (e.g. `72` for restaurants), or keywords like `coffee`.
4. Click **Start** and download CSV, Excel or JSON — or schedule it daily/weekly.

#### Example input

```json
{
  "cities": ["chicago", "los-angeles", "austin", "seattle", "san-francisco"],
  "daysBack": 14,
  "onlyNew": true,
  "onlyActive": true,
  "maxResultsPerCity": 500,
  "maxResults": 2000
}
```

### Output example

```json
{
  "city": "Chicago",
  "state": "IL",
  "legalName": "EXAMPLE CAFE INC.",
  "dbaName": "EXAMPLE CAFE",
  "licenseNumber": "3108451",
  "licenseType": "Retail Food Establishment",
  "applicationType": "ISSUE",
  "isNew": true,
  "status": "AAI",
  "issueDate": "2026-11-06",
  "address": "2819 W 63RD ST",
  "zip": "60629",
  "naicsDescription": "Preparation of Food and Dining on Premises With Seating",
  "sourceDataset": "https://data.cityofchicago.org/resource/r5kz-chrr"
}
```

### How much does it cost?

You pay **per business returned** (pay-per-result) — no start fee. 1,000 leads cost about **$4**. Use **Max results in total** to cap any run.

### Use cases

- **Local sales and agencies:** restaurants, contractors, shops and professional offices in their first weeks, before they have a vendor.
- **Payments, insurance and payroll:** new legal entities with an address and start date.
- **Site selection and market research:** count new businesses by ZIP, NAICS and week.

### FAQ

**Is this data legal to use?** Yes. It comes from official public-records open-data portals. Follow local laws (CAN-SPAM, TCPA, do-not-call) when contacting anyone.

**Why do some rows have no phone or NAICS?** Not every city publishes those fields. The table above shows what each source provides.

**How fresh is the data?** As fresh as the city's (or Comptroller's) portal — most update daily.

**Can I run it on a schedule?** Yes — use Apify Schedules (e.g. every morning, `daysBack: 1`) and send results to Google Sheets, Slack, email, Zapier or Make.

**Something broke or a city is missing?** Report it in the Issues tab and it gets fixed fast.

# Actor input Schema

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

Official city (or, for Austin, Texas Comptroller) open-data sources to search.

## `daysBack` (type: `integer`):

Used when Date from is empty.

## `dateFrom` (type: `string`):

Optional. Overrides 'last N days'.

## `dateTo` (type: `string`):

Optional. Defaults to today.

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

Where the city publishes an application type (Chicago), keep ISSUE and drop RENEW. Other cities have no renewal flag, so the date window is the 'new' filter.

## `onlyActive` (type: `boolean`):

Drop expired, ended, cancelled or revoked rows where the city publishes a status or end date.

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

Optional phrases matched in the business name, DBA or activity / NAICS description, e.g. 'restaurant' or 'plumber'.

## `naicsPrefix` (type: `string`):

Optional. Keep rows whose NAICS code starts with this, e.g. '72' for accommodation and food, '23' for construction. Ignored in Chicago, which does not publish NAICS.

## `maxResultsPerCity` (type: `integer`):

Stop after this many businesses from any one city.

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

Hard cap on rows (and cost) for the whole run.

## Actor input object example

```json
{
  "cities": [
    "chicago",
    "los-angeles"
  ],
  "daysBack": 30,
  "onlyNew": true,
  "onlyActive": true,
  "maxResultsPerCity": 100,
  "maxResults": 200
}
```

# Actor output Schema

## `leads` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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",
        "los-angeles"
    ],
    "daysBack": 30,
    "maxResultsPerCity": 100,
    "maxResults": 200
};

// Run the Actor and wait for it to finish
const run = await client.actor("astounding_loam/new-business-licenses").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",
        "los-angeles",
    ],
    "daysBack": 30,
    "maxResultsPerCity": 100,
    "maxResults": 200,
}

# Run the Actor and wait for it to finish
run = client.actor("astounding_loam/new-business-licenses").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",
    "los-angeles"
  ],
  "daysBack": 30,
  "maxResultsPerCity": 100,
  "maxResults": 200
}' |
apify call astounding_loam/new-business-licenses --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,astounding_loam/new-business-licenses"
        }
    }
}
```

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/Wa9ID3tVMa8kEaGI4/builds/dzr5zObGCMF9lCCWR/openapi.json
