# US City Business License Scraper (`moving_beacon-owner1/us-city-business-license-scraper`) Actor

Scrapes official business license records from Chicago, New Orleans, and Kansas City, capturing business names, owners, license numbers, business types, addresses, ZIP codes, phone numbers, license statuses, dates, with filters for city, business name, activity, and ZIP code.

- **URL**: https://apify.com/moving_beacon-owner1/us-city-business-license-scraper.md
- **Developed by:** [Jamshaid Arif](https://apify.com/moving_beacon-owner1) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 96.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.99 / 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.

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

## US City Business License Scraper

Collects licensed businesses straight from the official city registers that
license them — Chicago, New Orleans and Kansas City. Every record is a real
business the city has authorised to trade, with its legal and trading name,
licensed address, licence type and trading activity, and — where the city
publishes it — the owner's name, a phone number and map coordinates.

Search by city, business name, trade type or ZIP code to build a verified local
business list: every bakery licensed in Chicago, every restaurant licence in New
Orleans, or every business registered to a given ZIP.

Because this is the licensing authority's own record rather than a directory
listing, each row is evidence the business is registered with the city, and it
carries the licence number you can quote back to that authority.

No API key or account is needed.

### Input

| Field | Default | Description |
|---|---|---|
| Cities | `Chicago` | Comma-separated cities to search. Supported: `Chicago`, `New Orleans`, `Kansas City`. |
| Business name contains | *(empty)* | Text the licensed name must contain — `bakery` to find bakeries, or a company name to look one up. |
| Business type contains | *(empty)* | Licence category or activity, e.g. `restaurant`, `retail`, `contractor`. |
| License status contains | *(empty)* | e.g. `AAI`. Only Chicago publishes a status field. |
| ZIP code starts with | *(empty)* | A ZIP prefix such as `606`, or a full five-digit code. |
| Max results | `25` | Maximum number of businesses to return across all selected cities. |
| Socrata app token | *(empty)* | Optional. The registers answer without one; a free token only raises the rate limit on very large runs. |
| Proxy configuration | Off | Optional. These are US city open-data portals and normally need no proxy. |

### Output

One row per licence. These are real records from live runs (a default Chicago run, a New Orleans `restaurant` search and a Kansas City `starbucks` search).

```json
{
  "source": "IL-CHICAGO",
  "source_label": "City of Chicago",
  "business_name": "03226 NLINCOLN AVENUE CORP",
  "dba_name": "FOREST JEWELRY & LOAN",
  "owner_name": "",
  "license_number": "56357",
  "license_type": "Pawnbroker",
  "business_activity": "Pledging of Property for Money (Pawnbroker / Pawn Shop)",
  "status": "AAI",
  "address": "3226 N LINCOLN AVE 1ST",
  "city": "CHICAGO",
  "state": "IL",
  "zip_code": "60657",
  "phone": "",
  "latitude": "41.9404443595",
  "longitude": "-87.6693584164",
  "start_date": "2002-02-16",
  "issued_date": "2002-02-07",
  "expiration_date": "2003-02-15",
  "record_url": "https://data.cityofchicago.org/resource/r5kz-chrr.json?id=56357-20020216"
}
```

```json
{
  "source": "LA-NEW-ORLEANS",
  "source_label": "City of New Orleans",
  "business_name": "1000 FIGS",
  "dba_name": "",
  "owner_name": "THE SUNNY KITCHEN,LLC",
  "license_number": "105000731",
  "license_type": "",
  "business_activity": "Full Service Restaurants(table service available)",
  "status": "",
  "address": "3141 PONCE DE LEON ST",
  "city": "NEW ORLEANS",
  "state": "LA",
  "zip_code": "70119",
  "phone": "504-301-0848",
  "latitude": "29.980563361097094",
  "longitude": "-90.0842472831528",
  "start_date": "2014-11-08",
  "issued_date": "",
  "expiration_date": "",
  "record_url": "https://data.nola.gov/resource/hjcd-grvu.json?businesslicensenumber=105000731"
}
```

```json
{
  "source": "MO-KANSAS-CITY",
  "source_label": "Kansas City, Missouri",
  "business_name": "STARBUCKS CORPORATION",
  "dba_name": "STARBUCKS COFFEE #67095",
  "owner_name": "",
  "license_number": "",
  "license_type": "",
  "business_activity": "All Other Specialty Food Retailers",
  "status": "",
  "address": "8430 N INDIANA AVE",
  "city": "KANSAS CITY",
  "state": "MO",
  "zip_code": "64156",
  "phone": "",
  "latitude": "39.2481",
  "longitude": "-94.53988",
  "start_date": "",
  "issued_date": "",
  "expiration_date": "2025-12-31",
  "record_url": "https://data.kcmo.org/resource/pnm4-68wg.json?id=2019975808"
}
```

Fields a given city does not publish come back as an empty string rather than
being dropped, so every row has the same shape and spreadsheets stay aligned.

### Sources

| Code | Register | What it adds |
|---|---|---|
| `IL-CHICAGO` | City of Chicago business licences | Legal **and** trading name, licence status, licence and expiry dates, detailed licence descriptions, map coordinates |
| `LA-NEW-ORLEANS` | City of New Orleans occupational licences | **Phone number**, owner name and **map coordinates** — the richest of the three for contact data |
| `MO-KANSAS-CITY` | Kansas City business licence holders | Licensee and trading name, business type, licensed address, licence year and map coordinates |

### Coverage — read this before you plan a run

This is a **city-level** dataset, not a national one. Most US cities do not
publish their business register as open data, so the three above are what can be
collected without a key. A business trading in a city that is not listed will not
appear, and absence from these registers is not evidence a business is unlicensed.

Only New Orleans publishes phone numbers. If contact data is what you need, run
that city specifically.

A filter a city cannot answer causes that city to be **skipped** rather than
returned unfiltered — so a status filter silently drops New Orleans and Kansas
City, which publish no status field. If none of the chosen cities can answer your
filters, the run stops and says so rather than handing back rows the filter was
never applied to.

### Notes on the data

- Values are returned exactly as each city publishes them, including
  inconsistent casing and address formatting.
- `city` is the address on the licence, which is occasionally a neighbouring
  town for a business licensed to trade in the city (Kansas City sometimes
  lists the licensee's mailing address instead). The `source` field always
  tells you which register the record came from.
- All dates are returned as `YYYY-MM-DD`. New Orleans publishes only a business
  start date and Kansas City only the date its licence runs to, which is
  returned as `expiration_date`.
- `status` is Chicago's licence status code: `AAI` issued, `AAC` cancelled
  during its term, `REV` revoked, `REA` revocation appealed.
- `license_type` is Chicago's licence category. New Orleans and Kansas City
  publish a single business-type field, which is returned as
  `business_activity`.
- `latitude` / `longitude` are left empty for New Orleans rows the city could
  not geocode (it publishes 0.0 / 0.0 for those).
- `record_url` returns that one licence record from the city's open-data API.
- A few New Orleans rows carry a placeholder business name such as `0`. Where
  that happens the owner's name is used instead, rather than shipping a digit as
  a company name.
- Searching more than one city returns the registers in order and stops once
  **Max results** is reached, so raise it when you want full coverage of each.

# Actor input Schema

## `cities` (type: `string`):

Comma-separated cities to search. Supported: Chicago, New Orleans, Kansas City.

## `business_name` (type: `string`):

Text the licensed business name must contain, e.g. 'bakery' to find bakeries, or a company name to look one up.

## `business_type` (type: `string`):

Licence category or activity text, e.g. 'restaurant', 'retail', 'contractor'. Cities that do not publish an activity field are skipped for this filter rather than returning unfiltered rows.

## `status` (type: `string`):

Chicago licence status code: 'AAI' (issued), 'AAC' (cancelled during its term), 'REV' (revoked) or 'REA' (revocation appealed). Only Chicago publishes a status field, so New Orleans and Kansas City are skipped when this is set.

## `zip_code` (type: `string`):

Optional ZIP prefix, e.g. '606' for central Chicago, or a full five-digit code.

## `max_results` (type: `integer`):

Maximum number of licensed businesses to return across all selected cities.

## `app_token` (type: `string`):

Optional free Socrata app token. Not required — the registers answer without one. A token only raises the shared rate limit on very large runs.

## `proxyConfiguration` (type: `object`):

Optional. These are US city open-data portals and normally need no proxy.

## Actor input object example

```json
{
  "cities": "Chicago",
  "business_name": "bakery",
  "business_type": "",
  "status": "",
  "zip_code": "",
  "max_results": 25,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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",
    "business_name": "bakery",
    "business_type": "",
    "status": "",
    "zip_code": "",
    "max_results": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("moving_beacon-owner1/us-city-business-license-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",
    "business_name": "bakery",
    "business_type": "",
    "status": "",
    "zip_code": "",
    "max_results": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("moving_beacon-owner1/us-city-business-license-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",
  "business_name": "bakery",
  "business_type": "",
  "status": "",
  "zip_code": "",
  "max_results": 25
}' |
apify call moving_beacon-owner1/us-city-business-license-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moving_beacon-owner1/us-city-business-license-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/XSZdEmheUB4XPGU7q/builds/9nw9aRIF9kyvqXDBd/openapi.json
