# SBA Small Business Search Scraper (`solidcode/sba-gov-scraper`) Actor

\[💰 $1.5 / 1K] Extract U.S. small business leads from the SBA Dynamic Small Business Search. Get names, contacts, addresses, UEI/CAGE, NAICS codes, and certifications (8(a), WOSB, VOSB, SDVOSB, HUBZone) by state, industry, or keyword.

- **URL**: https://apify.com/solidcode/sba-gov-scraper.md
- **Developed by:** [SolidCode](https://apify.com/solidcode) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## SBA Small Business Search Scraper

Pull the U.S. Small Business Administration's Dynamic Small Business Search (DSBS) directory at scale — legal business names, verified contacts, federal UEI and CAGE identifiers, NAICS industry codes, and SBA set-aside certifications for the ~450,000 small businesses registered for government contracting. Built for government-contracting business developers, supplier-diversity teams, and prime contractors who need a clean, deduplicated list of certified small-business suppliers without registering, filling in an intake survey, or paging through the official portal by hand.

### Why This Scraper?

- **~450,000 registered small businesses** — the full federal DSBS directory across all 50 states, DC, Puerto Rico, and the U.S. territories (Guam, American Samoa, Northern Mariana Islands, U.S. Virgin Islands, and the Pacific freely-associated states).
- **Six SBA set-aside certification filters, named individually** — 8(a) Business Development, HUBZone, Women-Owned (WOSB), Economically-Disadvantaged Women-Owned (EDWOSB), Veteran-Owned (VOSB), and Service-Disabled Veteran-Owned (SDVOSB), including their Joint-Venture variants.
- **Federal identifiers on every row** — the SAM Unique Entity ID (UEI) and CAGE code, the two identifiers every prime contractor and contracting officer uses to look a supplier up in SAM.gov and DSBS.
- **NAICS industry targeting with a primary-only switch** — filter to one or more NAICS codes and choose whether to match a business's primary industry only, or any of its primary and secondary codes.
- **Business contacts on most records** — primary contact person, email, phone, and street address pulled straight from each firm's own DSBS profile, ready for outreach (email, phone, and street address populate on the large majority of records; website on roughly half).
- **Congressional district on every business** — target suppliers by district for set-aside sourcing, in-district hiring claims, and constituent-business outreach.
- **Full-text keyword search over names and capabilities** — search "cybersecurity", "solar installation", or any capability term across the whole directory; the official portal never exposed this.
- **Capabilities narrative and named principals on every profile** — each row carries the firm's self-written capabilities statement and its current principals (owners and officers), so you can qualify a supplier and find the right person to contact in one pass.
- **Deduplicated by Unique Entity ID** — a business that matches several states or filters appears exactly once, keyed on its federal UEI, not a listing row.
- **Zero-friction input** — no account, no required intake survey, no raw certification codes. Human-readable state and certification pickers, sensible defaults, runs on empty input.

### Use Cases

**Lead Generation for Government Contracting**
- Build outreach lists of certified small businesses by state, industry, and set-aside program
- Pull contact person, email, and phone for every firm in a target NAICS code
- Assemble a teaming-partner shortlist keyed on UEI and CAGE for capture planning
- Target businesses by congressional district for in-district partnership pitches

**Supplier Diversity & Supplier Discovery**
- Source WOSB, EDWOSB, VOSB, SDVOSB, HUBZone, and 8(a) suppliers for diversity spend goals
- Verify a supplier's active SBA certifications before awarding a set-aside
- Map certified suppliers by industry to fill category-management gaps
- Refresh a supplier master with current UEI, CAGE, and contact details

**Subcontractor Sourcing for Prime Contractors**
- Find qualified small-business subcontractors in a specific NAICS code and region
- Meet small-business subcontracting-plan goals with a ready pool of certified firms
- Build a bench of set-aside-eligible partners ahead of a solicitation
- Filter to businesses whose primary industry matches the scope of work

**Market Research**
- Size the certified small-business population by state, industry, or certification
- Track how many firms hold a given set-aside in a target market
- Compare industry concentration across states using NAICS distributions
- Benchmark a market before deciding where to compete for set-aside work

**Competitive Intelligence**
- Profile competitors' certifications, industries, and locations from their DSBS records
- Discover which firms in your NAICS code hold the same set-asides you do
- Monitor new and updated registrations in your market using the last-update date
- Map the certified-supplier landscape around a specific opportunity

### Getting Started

#### Browse a Single State

The simplest run — every registered business in Wyoming, up to 100 rows:

```json
{
    "states": ["Wyoming"],
    "maxResults": 100
}
````

#### Certified Suppliers in an Industry

Women-owned and service-disabled-veteran-owned firms in custom computer programming (NAICS 541511) across two states:

```json
{
    "states": ["Texas", "California"],
    "naicsCodes": ["541511"],
    "sbaCertifications": ["wosb", "sdvosb"],
    "maxResults": 500
}
```

#### Keyword Search, Primary Industry Only

Every business whose capabilities mention "cybersecurity" and whose primary industry is 541512, nationwide:

```json
{
    "searchQuery": "cybersecurity",
    "naicsCodes": ["541512"],
    "naicsPrimaryOnly": true,
    "maxResults": 1000
}
```

#### Nationwide 8(a) Sweep

Leave `states` empty to sweep all 50 states, DC, Puerto Rico, and the territories at once:

```json
{
    "sbaCertifications": ["8a"],
    "maxResults": 5000
}
```

### Input Reference

#### Search

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `searchQuery` | string | `""` | Optional keyword searched across business names and capabilities (for example "solar installation" or "cybersecurity"). Leave blank to browse all businesses that match your filters. |
| `states` | string\[] | `[]` | One or more U.S. states or territories to include, picked by full name from the dropdown (for example "California"). Leave empty to include the whole country. |

#### Industry

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `naicsCodes` | string\[] | `[]` | One or more NAICS industry codes, for example `541511` for custom computer programming or `236220` for commercial building construction. Leave empty to include all industries. |
| `naicsPrimaryOnly` | boolean | `false` | When on, keep only businesses whose primary industry matches one of the NAICS codes. When off, keep a business if any of its industry codes (primary or secondary) matches. |

#### Certifications

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `sbaCertifications` | string\[] | `[]` | Keep only businesses that currently hold one or more of these SBA certifications: 8(a), HUBZone, Women-Owned (WOSB), Economically-Disadvantaged Women-Owned (EDWOSB), Veteran-Owned (VOSB), or Service-Disabled Veteran-Owned (SDVOSB). Leave empty to include businesses regardless of certification. |

#### Limits

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `maxResults` | integer | `100` | How many businesses to collect in total. Set to `0` to collect as many as possible. |

### Output

Each row is one small business — a flat record with identity, contacts, address, industry codes, and certifications. Here is a representative result:

```json
{
    "legalBusinessName": "Summit Ridge Technologies LLC",
    "dbaName": "Summit Ridge Tech",
    "contactPerson": "Jordan Avery",
    "email": "contracts@summitridgetech.com",
    "phone": "3078567013",
    "fax": "3078567099",
    "website": "https://www.summitridgetech.com",
    "additionalWebsite": "https://www.summitridge.gov-contracts.com",
    "address1": "1420 Grand Avenue, Suite 210",
    "address2": "Attn: Contracts Office",
    "city": "Cheyenne",
    "state": "Wyoming",
    "zipcode": "82001",
    "county": "Laramie",
    "fipsCode": "56021",
    "congressionalDistrict": "00",
    "msa": "Cheyenne, WY",
    "uei": "ZQ7MDXK4L2P8",
    "cageCode": "9AB27",
    "naicsPrimary": "541512",
    "naicsSmallCodes": ["541512", "541511", "541519", "518210"],
    "naicsAllCodes": ["541512", "541511", "541519", "518210", "541513"],
    "businessTypeCodes": "27~2X~XS",
    "legalStructure": "2L",
    "yearEstablished": "2011",
    "currentPrincipals": "Jordan Avery, President; Morgan Lee, CFO",
    "capabilitiesNarrative": "Custom software development, cloud migration, and cybersecurity services for federal agencies.",
    "sbaCertifications": ["Service-Disabled Veteran-Owned Small Business", "HUBZone"],
    "activeCertifications": ["SDVOSB", "HUBZone"],
    "lastUpdateDate": "2026-05-18",
    "sbaProfileUrl": "https://search.certifications.sba.gov/profile/ZQ7MDXK4L2P8/9AB27"
}
```

#### Business Identity

| Field | Type | Description |
|-------|------|-------------|
| `legalBusinessName` | string | Official registered business name |
| `dbaName` | string | "Doing business as" trade name, when provided |
| `uei` | string | SAM Unique Entity Identifier — the row's deduplication key |
| `cageCode` | string | Commercial and Government Entity (CAGE) code |
| `legalStructure` | string | Legal entity type code (e.g. LLC, corporation) |
| `yearEstablished` | string | Year the business was founded |
| `sbaProfileUrl` | string | Canonical DSBS / SBA certifications profile link |

#### Contact & Address

| Field | Type | Description |
|-------|------|-------------|
| `contactPerson` | string | Primary contact name |
| `email` | string | Business email (present on most records) |
| `phone` | string | Business phone number (present on most records) |
| `fax` | string | Business fax number, when provided |
| `website` | string | Business website, when the firm lists one |
| `additionalWebsite` | string | Secondary website, when the firm lists one |
| `address1` | string | Street address (present on most records) |
| `address2` | string | Second address line (suite, attention line), when provided |
| `city` | string | City |
| `state` | string | State or territory (full name) |
| `zipcode` | string | ZIP / postal code |
| `county` | string | County name, when available |
| `fipsCode` | string | County FIPS code, when available — useful for geographic joins |
| `msa` | string | Metropolitan Statistical Area, when available |
| `congressionalDistrict` | string | Congressional district number |

#### Industry & Certifications

| Field | Type | Description |
|-------|------|-------------|
| `naicsPrimary` | string | Primary NAICS industry code |
| `naicsSmallCodes` | string\[] | NAICS codes the business is registered under as a small business |
| `naicsAllCodes` | string\[] | Every NAICS code on the record, small-business and otherwise |
| `sbaCertifications` | string\[] | Self-reported SBA certifications and designations, in full-text form |
| `activeCertifications` | string\[] | Compact list of currently-held set-aside certifications, in short form (e.g. `SDVOSB`, `HUBZone`, `8(a)`) |
| `businessTypeCodes` | string | Business-type / self-certification codes |

#### Business Profile

| Field | Type | Description |
|-------|------|-------------|
| `currentPrincipals` | string | Current principals — owners and officers — listed on the firm's profile, when provided |
| `capabilitiesNarrative` | string | The firm's self-written capabilities statement, when provided |

#### Metadata

| Field | Type | Description |
|-------|------|-------------|
| `lastUpdateDate` | string | Date the DSBS record was last updated (ISO date) |

### Tips for Best Results

- **Leave `states` empty to sweep the whole country**, or list specific states to focus a run — pairing a state list with a single NAICS code is the fastest way to a precise, on-topic vertical list.
- **Start small to validate.** Set `maxResults` to 50–100 on your first run to confirm the states, industries, and certifications match what you need, then scale up.
- **Use `naicsPrimaryOnly` for tighter lists.** With it off you also catch firms that list your NAICS code as a secondary industry — great for reach, noisier for precision. Turn it on when you only want firms whose core business is that industry.
- **Combine a certification with an industry** to build a supplier-diversity shortlist in one pass — for example WOSB plus a construction NAICS code returns women-owned construction firms directly.
- **WOSB already covers EDWOSB.** Selecting Women-Owned (WOSB) returns economically-disadvantaged women-owned firms too, since EDWOSB is a subset — only add EDWOSB when you want that subset exclusively.
- **`email`, `phone`, and `address1` populate on the large majority of records** but not every one; `website` appears on roughly half. Filter downstream on the contact field your workflow requires.
- **Match on UEI and CAGE, not on business name.** These federal identifiers are stable and unique, making them the reliable join key when enriching an existing supplier or CRM record.

### Pricing

**From $1.50 per 1,000 results** — a flat pay-per-result rate with no intake survey and no per-event upcharges. Bronze, Silver, and Gold subscribers pay progressively less; the table below shows total cost at each discount tier.

| Results | No discount | Bronze | Silver | Gold |
|---------|-------------|--------|--------|------|
| 100 | $0.18 | $0.17 | $0.16 | $0.15 |
| 1,000 | $1.80 | $1.70 | $1.60 | $1.50 |
| 10,000 | $18.00 | $17.00 | $16.00 | $15.00 |
| 100,000 | $180.00 | $170.00 | $160.00 | $150.00 |

A "result" is any business row in the output dataset. **No compute or time-based charges — you pay per result, plus a small fixed per-run start fee.**

### Integrations

Export data in JSON, CSV, Excel, XML, or RSS. Connect to 1,500+ apps via:

- **Zapier** / **Make** / **n8n** — Workflow automation
- **Google Sheets** — Direct spreadsheet export
- **Slack** / **Email** — Notifications on new results
- **Webhooks** — Trigger custom APIs on run completion
- **Apify API** — Full programmatic access

### Legal & Ethical Use

This actor collects business records from a public U.S. federal directory maintained by the Small Business Administration for government-contracting purposes. Use the data for legitimate business development, supplier discovery, market research, and diversity sourcing. You are responsible for complying with applicable laws, the SBA's terms of use, and anti-spam and data-protection regulations when contacting the businesses listed. Do not use extracted data for harassment, misrepresentation, or any unlawful purpose.

# Actor input Schema

## `searchQuery` (type: `string`):

Optional keyword to search across business names and capabilities (for example "solar installation" or "cybersecurity"). Leave blank to browse all businesses that match your filters below.

## `states` (type: `array`):

Limit results to one or more U.S. states or territories. Leave empty to include the whole country.

## `naicsCodes` (type: `array`):

Limit results to one or more NAICS industry codes — for example "541511" for custom computer programming or "236220" for commercial building construction. Leave empty to include all industries.

## `naicsPrimaryOnly` (type: `boolean`):

When on, only keep businesses whose primary industry matches one of the NAICS codes above. When off, a business is kept if any of its industry codes (primary or secondary) matches.

## `sbaCertifications` (type: `array`):

Keep only businesses that currently hold one or more of these SBA certifications. Leave empty to include businesses regardless of certification.

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

How many businesses to collect in total. Default 100 — increase for bigger runs, or set to 0 to collect as many as possible.

## Actor input object example

```json
{
  "states": [],
  "naicsCodes": [],
  "naicsPrimaryOnly": false,
  "sbaCertifications": [],
  "maxResults": 100
}
```

# Actor output Schema

## `overview` (type: `string`):

Table of businesses with name, location, primary industry, and certifications at a glance.

## `contacts` (type: `string`):

Table focused on contact details and federal identifiers (UEI, CAGE) for lead generation.

# 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 = {
    "searchQuery": "",
    "states": [],
    "naicsCodes": [],
    "naicsPrimaryOnly": false,
    "sbaCertifications": [],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("solidcode/sba-gov-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 = {
    "searchQuery": "",
    "states": [],
    "naicsCodes": [],
    "naicsPrimaryOnly": False,
    "sbaCertifications": [],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("solidcode/sba-gov-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQuery": "",
  "states": [],
  "naicsCodes": [],
  "naicsPrimaryOnly": false,
  "sbaCertifications": [],
  "maxResults": 100
}' |
apify call solidcode/sba-gov-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=solidcode/sba-gov-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "SBA Small Business Search Scraper",
        "description": "[💰 $1.5 / 1K] Extract U.S. small business leads from the SBA Dynamic Small Business Search. Get names, contacts, addresses, UEI/CAGE, NAICS codes, and certifications (8(a), WOSB, VOSB, SDVOSB, HUBZone) by state, industry, or keyword.",
        "version": "1.0",
        "x-build-id": "Ydl7gdW86cvZsftpz"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/solidcode~sba-gov-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-solidcode-sba-gov-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/solidcode~sba-gov-scraper/runs": {
            "post": {
                "operationId": "runs-sync-solidcode-sba-gov-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/solidcode~sba-gov-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-solidcode-sba-gov-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQuery": {
                        "title": "Keyword",
                        "type": "string",
                        "description": "Optional keyword to search across business names and capabilities (for example \"solar installation\" or \"cybersecurity\"). Leave blank to browse all businesses that match your filters below."
                    },
                    "states": {
                        "title": "States and territories",
                        "type": "array",
                        "description": "Limit results to one or more U.S. states or territories. Leave empty to include the whole country.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "Alabama",
                                "Alaska",
                                "American Samoa",
                                "Arizona",
                                "Arkansas",
                                "California",
                                "Colorado",
                                "Connecticut",
                                "Delaware",
                                "District of Columbia",
                                "Federated States of Micronesia",
                                "Florida",
                                "Georgia",
                                "Guam",
                                "Hawaii",
                                "Idaho",
                                "Illinois",
                                "Indiana",
                                "Iowa",
                                "Kansas",
                                "Kentucky",
                                "Louisiana",
                                "Maine",
                                "Marshall Islands",
                                "Maryland",
                                "Massachusetts",
                                "Michigan",
                                "Minnesota",
                                "Mississippi",
                                "Missouri",
                                "Montana",
                                "Nebraska",
                                "Nevada",
                                "New Hampshire",
                                "New Jersey",
                                "New Mexico",
                                "New York",
                                "North Carolina",
                                "North Dakota",
                                "Northern Mariana Islands",
                                "Ohio",
                                "Oklahoma",
                                "Oregon",
                                "Palau",
                                "Pennsylvania",
                                "Puerto Rico",
                                "Rhode Island",
                                "South Carolina",
                                "South Dakota",
                                "Tennessee",
                                "Texas",
                                "Utah",
                                "Vermont",
                                "Virginia",
                                "U.S. Virgin Islands",
                                "Washington",
                                "West Virginia",
                                "Wisconsin",
                                "Wyoming"
                            ]
                        }
                    },
                    "naicsCodes": {
                        "title": "NAICS industry codes",
                        "type": "array",
                        "description": "Limit results to one or more NAICS industry codes — for example \"541511\" for custom computer programming or \"236220\" for commercial building construction. Leave empty to include all industries.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "naicsPrimaryOnly": {
                        "title": "Match primary industry only",
                        "type": "boolean",
                        "description": "When on, only keep businesses whose primary industry matches one of the NAICS codes above. When off, a business is kept if any of its industry codes (primary or secondary) matches.",
                        "default": false
                    },
                    "sbaCertifications": {
                        "title": "SBA certifications",
                        "type": "array",
                        "description": "Keep only businesses that currently hold one or more of these SBA certifications. Leave empty to include businesses regardless of certification.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "8a",
                                "hubzone",
                                "wosb",
                                "edwosb",
                                "vosb",
                                "sdvosb"
                            ],
                            "enumTitles": [
                                "8(a) Business Development (incl. Joint Venture)",
                                "HUBZone",
                                "Women-Owned (WOSB)",
                                "Economically Disadvantaged Women-Owned (EDWOSB)",
                                "Veteran-Owned (VOSB, incl. Joint Venture)",
                                "Service-Disabled Veteran-Owned (SDVOSB, incl. Joint Venture)"
                            ]
                        }
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 0,
                        "type": "integer",
                        "description": "How many businesses to collect in total. Default 100 — increase for bigger runs, or set to 0 to collect as many as possible.",
                        "default": 100
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
