# SBA Small Business Search (DSBS) Scraper - Federal Contractors (`rel8ble/sba-small-business-search-scraper`) Actor

SBA Small Business Search (DSBS) scraper and API for federal contractors in SAM.gov: keywords, states, NAICS codes or SBA certifications (8(a), HUBZone, WOSB, SDVOSB). One row per profile: UEI, CAGE, NAICS, capabilities, website, e-mail, phone. $0.80 per 1,000, lowest DSBS price on 23 Nov 2026.

- **URL**: https://apify.com/rel8ble/sba-small-business-search-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 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

## SBA Small Business Search (DSBS) Scraper - Federal Contractors

This **SBA Small Business Search scraper** (the former **Dynamic Small Business Search, DSBS**) returns **US small businesses registered for federal contracting** as clean rows: **legal name, UEI, CAGE code, NAICS codes, active 8(a), HUBZone, WOSB, EDWOSB, VOSB and SDVOSB certifications** with dates, capabilities, keywords, quality standards, **website, business e-mail and phone**.

Use it to find **subcontractors and teaming partners** for a federal bid, build a **set-aside market list** by NAICS and state, or prospect **government contractors** for B2B sales, from your own code, Make, Zapier, n8n or an AI agent.

It calls the same public search the SBA website uses, over plain HTTP, with **no browser and no login**. The prefilled demo ("cnc machining" in Ohio, 20 rows) took 0.7 s of search time in a local run and 3.2 s in an Apify cloud run on 9 November 2026. **$0.80 per 1,000 results, no start fee.**

**What goes in:** a search term, states, NAICS codes, SBA certifications, self-certifications, keywords, ZIP codes, quality standards. **What comes out:** one row per small business profile. **When to use it:** you need a list of small businesses that registered to be found by federal and prime-contractor buyers, filtered the way the SBA site filters them, as a spreadsheet or JSON.

**What it does not have:** **no contact person names, no owner or principal names, no personal (gmail / yahoo ...) e-mails, no revenue or employee counts, no contract award history.** See the FAQ for why.

### What you get

- **Identity**: legal business name, DBA, UEI, CAGE code, link to the public SBA profile page, legal structure, year established, SAM.gov registration status (active / expired), last profile update.
- **What they do**: primary NAICS, all NAICS codes, the NAICS codes under which the firm counts as small, keywords, capabilities narrative, capabilities statement link, special equipment, quality standards (ISO 9000, MIL-Q-9858, MIL-STD-45662A, ANSI/ASQC Z1.4, ISO 10012-1), other certifications they list (AS9100, ISO 9001, state DBE ...).
- **Certifications**: active SBA certifications (8(a), 8(a) JV, HUBZone, WOSB, EDWOSB, VOSB, SDVOSB) with entrance and exit dates; pending or previous ones by name; self-certifications from SAM.gov (woman-owned, veteran-owned, minority-owned, tribally owned, ANC, NHO, manufacturer ...).
- **Contact**: website, business e-mail, phone, fax, street address, city, state, ZIP, county, congressional district, metro area code. Each only when the business chose to show it publicly.
- **Bonding and export**: construction / service bonding levels, exporter status, export activities and markets.

### Sample output

Real rows from the prefilled demo ("cnc machining" in Ohio), 9 November 2026, a few fields:

| business | city | primary NAICS | SBA certification | quality standard | established |
|---|---|---|---|---|---|
| SOLMET TECHNOLOGIES, INC. | Canton | 332721 | - | ISO-9000 Series | 1985 |
| GMD INDUSTRIES LLC | Dayton | 336412 | HUBZone | ISO-9000 Series | 1981 |
| BOWDEN MANUFACTURING CORP | Willoughby | 332710 | - | ISO-9000 Series | 1952 |

In that run 19 of 20 rows had a business e-mail, 19 a phone and 17 a website.

### Use cases

- **Prime contractors finding subcontractors**: machine shops, IT firms or janitorial companies in a state, by NAICS, with ISO 9000 or MIL standards
- **8(a), HUBZone, WOSB / EDWOSB and SDVOSB teaming partners** for set-aside bids and small business subcontracting plans
- **Set-aside market research**: how many certified firms exist in a NAICS code and state before an agency decides on a set-aside
- **B2B sales to government contractors**: software, insurance, bonding, accounting and staffing vendors prospecting small federal suppliers
- **Supplier diversity programmes**: woman-owned, veteran-owned, minority-owned and tribally owned suppliers by capability
- **Scheduled monitoring**: schedule a weekly run with `updatedWithin` set and keep only `uei`s you have not seen, to get newly listed or newly certified small businesses

### Pricing

**$0.80 per 1,000 results** (pay per result, $0.0008 each), **no start fee**, platform usage included. A result is one row saved to your dataset. Runs where nothing matches, input errors and failed searches are never charged. Set **Max results** to cap the cost of a run.

The data is public. You pay for the filtered, privacy-cleaned, flat rows, not for access.

Re-checked on 23 November 2026 (`dsbs` and `sba` searches read in full): no DSBS actor charges less than $0.80; the nearest are solidcode $1.80 + $0.005 per start and automation-lab $1.84 + $0.005 per start, and the most-used, jungle_synthesizer (126 users), charges $2.00 + $0.10 per start. Other SBA Small Business Search actors in live Apify Store searches on 15 and 17 November 2026 (`sba`, `small business search`, `sba small business`, `dsbs`, `federal contractors`; counts unchanged on the 17th), free-tier price per 1,000 results, users in the last 30 days: haketa $2.50 + $0.00005 per start (6 users), solidcode $1.80 + $0.005 per start (3), hipersoft $2.00 + $0.00005 per start (2), aboo.script $2.00 + $0.00005 per start (1), jungle_synthesizer $2.00 + $0.10 per start (1), fatihtahta $6.99 (1), automation-lab $1.84 + $0.005 per start (0). Their best volume tiers on 9 November 2026 ran from $0.96 to $3.59, so $0.80 flat sits below every tier of each of them. Prices change; check before you compare.

### FAQ

**Where does the data come from?** From SBA Small Business Search (search.certifications.sba.gov), the US Small Business Administration's public search of small businesses that registered in SAM.gov and chose to be found by federal agencies and prime contractors. This actor is not affiliated with or endorsed by the U.S. Small Business Administration.

**How fresh is it?** Every run searches live, so you get the profiles as they are at that moment. `lastUpdated` tells you when each business last touched its profile.

**What privacy choices does it make?**

- Contact person and current principals (owner names) are never output, even though the source has them.
- When a business hid its e-mail, phone, fax or address from public search, that field is `null`, exactly as on the SBA site.
- E-mails are output only when they are on the business's own domain. Free and ISP mailboxes (gmail, yahoo, hotmail, outlook, live, msn, aol, icloud, me.com, comcast, att, sbcglobal, bellsouth, verizon, cox, charter, earthlink, protonmail and similar) are set to `null`, because they are often a person's private address. `onlyWithEmail` counts only e-mails that pass this rule.
- Follow the CAN-SPAM Act and your own local law when you contact anyone on the list.

**In what order do rows come?** With a search term, in the SBA's relevance order (businesses with equal relevance can come in a different order from one run to the next); without one, in the order the SBA search returns them. Rows are not re-sorted, so **Max results** keeps the most relevant ones.

**Why no revenue or employee counts?** The SBA search answer leaves those fields empty; the actor does not invent them.

**Are there limits?** A filter is required: the SBA search refuses to return every profile at once. Big searches are fine: one NAICS code alone (541330, engineering services) returned 43,844 profiles (177 MB) in a local test during the 9 Nov 2026 build, which the actor reads as a stream and kept under 300 MB of memory.

**Does it search SAM.gov contract opportunities?** No. It lists the businesses (vendors) that registered in SAM.gov and opted into SBA Small Business Search, not the tenders or RFPs posted on SAM.gov. Use it to find who could bid or team with you; use a SAM.gov opportunities actor to find what is being bought. The UEI and CAGE in each row match the vendor records on SAM.gov.

**Known gaps**: no award history (use USAspending for that), no contact names, keyword filter is exact-match, county / district / metro filters are not exposed.

### How to use

1. Open the actor and type a **Search term** (e.g. `cybersecurity`), and / or pick **States**, **NAICS codes** and **SBA certifications**. At least one filter is needed.
2. Optional: self-certifications, keywords, ZIP codes, quality standards, **Profile updated**, **Active SAM.gov registration only**, **Only rows with a business e-mail / website / phone**, **Established in or after**.
3. Set **Max results** (0 = all) and click **Start**. Export as CSV, Excel or JSON.

### Input

| Field | What it does |
|---|---|
| `searchTerm` | Free text matched against names, capabilities and keywords. Rows come in SBA relevance order. |
| `states` | State or territory names or 2-letter codes, e.g. `Ohio`, `TX`. |
| `naicsCodes` | 6-digit NAICS codes; a firm matches when it is small under any of them. |
| `primaryNaicsOnly` | Match NAICS against the primary NAICS only. |
| `sbaCertifications` | `8(a)`, `HUBZone`, `WOSB`, `EDWOSB`, `VOSB`, `SDVOSB` (active). WOSB includes EDWOSB firms. |
| `sbaCertificationsMatch` | `any` (default) or `all` of the selected certifications. |
| `selfCertifications` | SAM.gov self-certifications, e.g. `Native American Owned`, `Self-Certified Woman-Owned Small Business`. |
| `keywords` | Exact profile keywords, e.g. `Machining`. |
| `zipCodes` | 5-digit ZIP codes. |
| `qualityStandards` | e.g. `ISO 9000 Series`, `MIL-STD-45662A`. |
| `updatedWithin` | `anytime`, `past-3-months`, `past-6-months`, `past-year`. |
| `activeSamOnly` | Only firms with an active SAM.gov registration. |
| `onlyWithEmail` / `onlyWithWebsite` / `onlyWithPhone` | Drop rows without that contact field. |
| `minYearEstablished` | Keep firms established in this year or later; 0 = off. |
| `maxResults` | Rows to save; 0 = all. |

An unknown state, NAICS code or certification stops the run with a clear input error before anything is charged (if some values are valid, the unknown ones are skipped and listed in the run summary).

### Input example

```json
{
    "naicsCodes": ["332710", "332721"],
    "states": ["OH", "Michigan", "Indiana"],
    "sbaCertifications": ["HUBZone", "SDVOSB"],
    "qualityStandards": ["ISO 9000 Series"],
    "activeSamOnly": true,
    "onlyWithEmail": true,
    "maxResults": 0
}
```

### Output example

One real row from the demo run on 9 November 2026 (e-mail shortened here):

```json
{
    "name": "GMD INDUSTRIES LLC",
    "dba": null,
    "uei": "MMNNYKQK3QT8",
    "cageCode": "0EW35",
    "profileUrl": "https://search.certifications.sba.gov/profile/MMNNYKQK3QT8/0EW35",
    "primaryNaics": "336412",
    "naicsCodes": ["332710", "332721", "336412", "336413", "336992"],
    "smallBusinessNaics": ["332710", "332721", "336412", "336413", "336992"],
    "sbaCertifications": [
        { "name": "HUBZone", "status": "Active", "entranceDate": "2019-08-21", "exitDate": "2027-08-21" }
    ],
    "otherSbaCertifications": [],
    "selfCertifications": ["For Profit Organization", "Veteran-Owned Business", "Self-Certified HUBZone Joint Venture", "Limited Liability Company", "Manufacturer of Goods"],
    "qualityStandards": ["ISO-9000 Series"],
    "capabilities": "Screw Machine Products/ CNC Machinng/ Metal Turning/ Assembly",
    "capabilitiesStatementUrl": null,
    "keywords": ["precision machining", "screw machine", "CNC", "metal turning", "metal manufacturing", "job shop"],
    "specialEquipment": "Hydromat/ Euroturn/ CNC multi.spindle screw machines/ Assembly",
    "otherCertifications": null,
    "website": "http://www.psmco.com",
    "additionalWebsite": "http://www.psmco.com",
    "email": "m...@psmco.com",
    "phone": "(937) 252-3643",
    "fax": "(937) 252-1667",
    "address1": "1414 E 2ND ST",
    "address2": null,
    "city": "DAYTON",
    "state": "Ohio",
    "zip": "45403",
    "county": "Montgomery County",
    "congressionalDistrict": "Ohio-10",
    "msaCode": "19430",
    "yearEstablished": 1981,
    "legalStructure": "Partnership or Limited Liability Partnership",
    "bonding": null,
    "exporter": "yes",
    "exportActivities": ["Manufacturer"],
    "exportMarkets": ["FR", "GM", "MX", "PL", "UK"],
    "samRegistration": "active",
    "lastUpdated": "2026-07-03T00:00:00.000Z",
    "scrapedAt": "2026-11-09T18:40:58.281Z"
}
```

A run summary (`RUN_SUMMARY` in the key-value store) lists counts, the order used, the stop reason and any ignored input.

### Integrations

Run it from the Apify API, the JavaScript or Python client, Make, Zapier, n8n, Google Sheets, or as a tool for AI agents through the Apify MCP server. Schedule it weekly with **Profile updated: past 3 months** to catch new and refreshed profiles.

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

## `searchTerm` (type: `string`):

Words to search in business names, capabilities and keywords, e.g. "cnc machining", "cybersecurity", "janitorial". Results come in SBA relevance order.

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

US states or territories, by name ("Ohio") or 2-letter code ("OH"). Any of them matches. Accepted: 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` (type: `array`):

6-digit NAICS codes, e.g. 332710 (machine shops), 541512 (computer systems design), 236220 (commercial building construction). A business matches when it is small under any of them.

## `primaryNaicsOnly` (type: `boolean`):

Match the NAICS codes against the primary NAICS only.

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

Active SBA certifications. WOSB also matches EDWOSB firms; 8(a), VOSB and SDVOSB include their joint ventures.

## `sbaCertificationsMatch` (type: `string`):

"any" = a business with at least one of the selected SBA certifications matches; "all" = it must have every one.

## `selfCertifications` (type: `array`):

Self-certified status in SAM.gov.

## `selfCertificationsMatch` (type: `string`):

"any" = a business with at least one of the selected self-certifications matches; "all" = it must have every one.

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

Exact keywords from the business profiles, e.g. "Machining", "Welding". For free-text use Search term.

## `keywordsMatch` (type: `string`):

"any" = a business with at least one of the selected keywords matches; "all" = it must have every one.

## `zipCodes` (type: `array`):

5-digit ZIP codes.

## `qualityStandards` (type: `array`):

Keep businesses that list these standards.

## `updatedWithin` (type: `string`):

Keep profiles updated recently.

## `activeSamOnly` (type: `boolean`):

Keep only businesses with an active SAM.gov registration (can bid on federal contracts today).

## `onlyWithEmail` (type: `boolean`):

Drop rows without an e-mail we can output (hidden by the owner or a free / ISP mailbox).

## `onlyWithWebsite` (type: `boolean`):

Drop rows without a website.

## `onlyWithPhone` (type: `boolean`):

Drop rows without a public phone number.

## `minYearEstablished` (type: `integer`):

Keep businesses established in this year or later. 0 = no filter.

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

Rows to save. 0 = all that match.

## Actor input object example

```json
{
  "searchTerm": "cnc machining",
  "states": [
    "Ohio"
  ],
  "primaryNaicsOnly": false,
  "sbaCertificationsMatch": "any",
  "selfCertificationsMatch": "any",
  "keywordsMatch": "any",
  "updatedWithin": "anytime",
  "activeSamOnly": false,
  "onlyWithEmail": false,
  "onlyWithWebsite": false,
  "onlyWithPhone": false,
  "minYearEstablished": 0,
  "maxResults": 20
}
```

# Actor output Schema

## `results` (type: `string`):

One row per business profile in SBA Small Business Search: UEI, CAGE, NAICS, SBA certifications, capabilities, website, business e-mail and phone.

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

Counts, stop reason and any ignored input.

# 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 = {
    "searchTerm": "cnc machining",
    "states": [
        "Ohio"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/sba-small-business-search-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 = {
    "searchTerm": "cnc machining",
    "states": ["Ohio"],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/sba-small-business-search-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 '{
  "searchTerm": "cnc machining",
  "states": [
    "Ohio"
  ],
  "maxResults": 20
}' |
apify call rel8ble/sba-small-business-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rel8ble/sba-small-business-search-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/nxhSQXeLW6slFqB5C/builds/8PtN0z7MMuXARllSj/openapi.json
