count_businesses
Count businesses by state with filters for city, county, ZIP, NAICS, entity type, phone, email, and formation date before running a full search.
Instructions
Count businesses matching the filters, per state. Free: use it before search_businesses.
Args:
states: Comma-separated two-letter registration states, e.g. "FL" or "FL,TX". Required with city, county or zip.
city: Comma-separated business cities, e.g. "MIAMI".
county: Comma-separated counties, e.g. "MIAMI-DADE" (or "FL:MIAMI-DADE").
zip: Comma-separated 5-digit ZIP codes or 3-digit ZIP prefixes, e.g. "33139,331".
naics: Comma-separated NAICS prefixes, 2-6 digits, e.g. "23" (construction) or "722511".
entity_type: Comma-separated of LLC, CORP, LP, LLP, NONPROFIT, OTHER.
has_phone: Only businesses with a phone number on file.
has_email: Only businesses with an email on file.
formed_within: Formed in the current month or the N months before it (1 = this month or last). Set 0 for any formation date.
formed_from: First formation month, "YYYY-MM" (overrides formed_within).
formed_to: Last formation month, "YYYY-MM" (overrides formed_within).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ||
| city | No | ||
| naics | No | ||
| county | No | ||
| states | No | ||
| formed_to | No | ||
| has_email | No | ||
| has_phone | No | ||
| entity_type | No | ||
| formed_from | No | ||
| formed_within | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |