# US Municipal Business License New Openings Scraper (`jungle_synthesizer/us-municipal-business-license-new-openings-scraper`) Actor

Fresh US business-license openings from Chicago, San Francisco, Los Angeles, New York City and Texas in one normalized schema, with opening dates, NAICS codes, addresses and coordinates. Built as a new-business lead feed.

- **URL**: https://apify.com/jungle_synthesizer/us-municipal-business-license-new-openings-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 91.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 record scrapeds

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

## US Municipal Business License New Openings Scraper

Find businesses that just opened. This actor returns newly issued business licenses from Chicago, San Francisco, Los Angeles, New York City and Texas in one normalized format, newest first, so you can build a prospecting feed instead of exporting a whole license registry.

### What you get

Each record is one business, with the date it started trading, a NAICS code where the city publishes one, the address and map coordinates, and a normalized category you can filter on. Every record also carries the untouched source row in `source_raw`, so nothing is lost in normalization.

| Field                                                                 | What it holds |
|-----------------------------------------------------------------------|-------------------------------------------------------------------------------|
| `record_id`                                                           | License, account or certificate number assigned by the source |
| `source_jurisdiction`                                                 | `chicago`, `san-francisco`, `los-angeles`, `nyc` or `texas` |
| `business_legal_name`                                                 | Registered name, where the source publishes it |
| `doing_business_as_name`                                              | Trade name |
| `license_type`                                                        | License description as the source words it |
| `license_category`                                                    | Normalized: `food-service`, `retail`, `personal-care`, `contractor`, and more |
| `license_start_date`                                                  | The date the license or business registration began |
| `first_sales_date`                                                    | Texas only: the day the outlet made its first sale |
| `is_new_opening`                                                      | True when the opening date falls inside your lookback window |
| `days_since_opening`                                                  | Whole days between the opening date and the run |
| `business_activity`                                                   | Chicago only: the business activity description |
| `contact_phone`                                                       | New York City only: the business contact phone |
| `naics_code`                                                          | Industry code, for Los Angeles, San Francisco and Texas |
| `business_address`, `business_city`, `business_state`, `business_zip` | Business location |
| `latitude`, `longitude`                                               | Coordinates, where the source publishes them |
| `mailing_address`                                                     | San Francisco and Texas |
| `council_district`, `community_area`                                  | Local district and neighborhood, where published |
| `source_raw`                                                          | The original source record |

Some fields are empty for some cities because that city does not publish them. Texas rows carry no coordinates, and New York City rows carry no NAICS code.

### Inputs

| Input             | Default  | Meaning                                                                                            |
|-------------------|----------|----------------------------------------------------------------------------------------------------|
| `jurisdictions`   | all five | Which cities and states to include                                                                 |
| `lookbackDays`    | 30       | A business counts as a new opening when it started within this many days                           |
| `newOpeningsOnly` | on       | Off returns the newest licenses of any age; `is_new_opening` then marks the ones inside the window |
| `maxItems`        | 10       | Maximum records for the whole run. Jurisdictions are read in the order you list them               |

Chicago results contain first-time license issues only. Renewals are left out so a renewed license is never mistaken for a new business.

### Example

```json
{
  "jurisdictions": ["chicago", "san-francisco", "texas"],
  "lookbackDays": 14,
  "maxItems": 500
}
```

### Good to know

- Opening dates come from each city's own records, so how recent "new" is depends on how often that city updates its data. New York City licenses, for example, currently trail the others by several weeks.
- Los Angeles and Texas also list future-dated registrations. These are left out until their start date arrives.
- Business licenses are public records. Use the data in line with the rules that apply to your outreach.

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

## `jurisdictions` (type: `array`):

Cities and states to pull business licenses from. Leave empty to include all five.

## `lookbackDays` (type: `integer`):

A business counts as a new opening when its start date falls within this many days before today.

## `newOpeningsOnly` (type: `boolean`):

When on, only businesses that opened inside the lookback window are returned. When off, the newest licenses are returned regardless of age and is_new_opening marks which ones fall inside the window.

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

Maximum number of records to return across all selected jurisdictions, newest first.

## Actor input object example

```json
{
  "sp_contact": "Share your email here...",
  "jurisdictions": [
    "chicago",
    "san-francisco",
    "los-angeles",
    "nyc",
    "texas"
  ],
  "lookbackDays": 30,
  "newOpeningsOnly": true,
  "maxItems": 10
}
```

# 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 = {
    "sp_contact": "Share your email here...",
    "jurisdictions": [
        "chicago",
        "san-francisco",
        "los-angeles",
        "nyc",
        "texas"
    ],
    "lookbackDays": 30,
    "newOpeningsOnly": true,
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/us-municipal-business-license-new-openings-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 = {
    "sp_contact": "Share your email here...",
    "jurisdictions": [
        "chicago",
        "san-francisco",
        "los-angeles",
        "nyc",
        "texas",
    ],
    "lookbackDays": 30,
    "newOpeningsOnly": True,
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/us-municipal-business-license-new-openings-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 '{
  "sp_contact": "Share your email here...",
  "jurisdictions": [
    "chicago",
    "san-francisco",
    "los-angeles",
    "nyc",
    "texas"
  ],
  "lookbackDays": 30,
  "newOpeningsOnly": true,
  "maxItems": 10
}' |
apify call jungle_synthesizer/us-municipal-business-license-new-openings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jungle_synthesizer/us-municipal-business-license-new-openings-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/CA4ra9uG7HXWymeGL/builds/P6cPh9jANYpXotJsj/openapi.json
