
SBA Small Business Search Scraper
hipersoft/sba-dsbs-scraper
Scrape the SBA Small Business Search (DSBS) directory of federal contractors: business name, UEI, CAGE, contact person, email, phone, website, address, NAICS codes, 8(a)/HUBZone/WOSB/SDVOSB certifications, capabilities and keywords. Filter by state, NAICS, certification.
Total users
2Monthly users
2Total runs
25Per business
$0.002Last rebuilt
Oct 28, 2026Overview
SBA Small Business Search Scraper extracts business profiles from the U.S. Small Business Administration's Small Business Search (SBS), formerly the Dynamic Small Business Search (DSBS): the official directory where small businesses market themselves to federal agencies and prime contractors. For every business you get the legal business name, DBA, UEI, CAGE code, contact person, email, phone, website, full address, county and congressional district, primary and all NAICS codes, SBA certifications (8(a), HUBZone, WOSB, EDWOSB, VOSB, SDVOSB), self-certifications, keywords, capabilities narrative, year established, legal structure, SAM status, bonding levels and the profile link. Search by keyword, filter by state, NAICS code, ZIP code or certification, and export to CSV, Excel or JSON. Perfect for teaming partner search, subcontractor sourcing and B2B lead generation in government contracting.
What does SBA Small Business Search Scraper do?
- 🔎 Keyword search across business names, capabilities and keywords: cybersecurity, roofing, janitorial, IT services…
- 🗺️ State filter: all 50 states, DC, Puerto Rico, Guam and the U.S. Virgin Islands.
- 🏷️ NAICS filter: find every small business registered under specific NAICS codes.
- 🎖️ Certification filter: 8(a), HUBZone, WOSB, EDWOSB, VOSB and SDVOSB.
- 📮 ZIP code filter for local sourcing.
- ✅ Active SAM only filter and email-only filter for outreach lists.
- 📇 Contacts: contact person, email, phone and website (as published by each business).
- 🆔 Identifiers: UEI and CAGE code for each business.
- 📝 Capabilities narrative and keywords to qualify partners quickly.
- 🏗️ Bonding levels for construction and service contractors.
- 📈 Large exports: tens of thousands of businesses per run.
What data can you scrape from SBA Small Business Search?
| Field | Description |
|---|---|
| Business | Legal name, DBA, UEI, CAGE code, profile link |
| Contact | Contact person, email, phone, website |
| Location | Address, city, state, ZIP, county, congressional district |
| Industry | Primary NAICS, all NAICS codes, small-business NAICS codes |
| Certifications | Active SBA certifications, self-certifications |
| Profile | Keywords, capabilities narrative, capabilities statement link |
| Company | Year established, legal structure, SAM status, exporter |
| Bonding | Construction and service bonding per contract |
| Freshness | Last profile update date |
Use cases for SBA small business data
- Prime contractors: find qualified small-business subcontractors to meet set-aside and subcontracting goals.
- Teaming and joint ventures: identify 8(a), HUBZone, WOSB and SDVOSB partners by NAICS and state.
- B2B sales and marketing: build targeted lead lists of government-focused small businesses.
- Agencies and procurement officers: run market research for set-aside decisions.
- Consultants and service providers: reach firms that need proposal writing, compliance or certification help.
- Economic development: map small-business capacity by region and industry.
How to scrape SBA Small Business Search
- Click Try for free to open SBA Small Business Search Scraper in Apify Console.
- Enter search terms and/or pick states, NAICS codes, certifications or ZIP codes.
- Optionally turn on Only active SAM registrations or Only businesses with an email.
- Set Max businesses and click Start.
- Download the businesses as CSV, Excel or JSON.
Input
Example input
{
"searchTerms": ["cybersecurity"],
"states": ["VA", "MD"],
"certifications": ["sdvosb", "8a"],
"withEmailOnly": true,
"maxItems": 0
}
| Field | Description |
|---|---|
| Search terms | Keywords; one search each. |
| States | Only businesses in these states. |
| NAICS codes | Only businesses with these NAICS codes. |
| SBA certifications | Only businesses with one of these active certifications. |
| ZIP codes | Only businesses in these ZIP codes. |
| Only active SAM registrations | Skip businesses without an active SAM.gov registration. |
| Only businesses with an email | Skip businesses without an email address. |
| Max businesses | Stop after this many (0 = no limit). |
At least one search term or filter is required.
Output
Business example
{
"businessName": "OZ Building Contractors, Inc",
"uei": "W9JHUTB2KXN4",
"cageCode": "4HJ65",
"profileUrl": "https://search.certifications.sba.gov/profile/W9JHUTB2KXN4/4HJ65",
"contactPerson": "MONA OZONE",
"email": "[email protected]",
"phone": "8326236697",
"website": "obcinctx.com",
"address": "5330 Griggs Rd Ste G101",
"city": "Houston",
"state": "Texas",
"zipCode": "77021",
"county": "Harris County",
"congressionalDistrict": "Texas-18",
"naicsPrimary": "236220",
"naicsCodes": ["236220", "237310", "238110", "238160", "238210", "238910"],
"sbaCertifications": [],
"selfCertifications": ["Minority-Owned Business", "Self-Certified Small Disadvantaged Business", "Women-Owned Small Business", "DOT Certified DBE"],
"keywords": ["Drywall", "Metal Stud Framing", "Electrical", "Concrete", "Roofing"],
"capabilities": "Oz Building Contractors, Inc.'s mission is to provide quality service through economic development…",
"yearEstablished": 2005,
"legalStructure": "Corporate Entity (not tax exempt)",
"activeInSam": false,
"constructionBondingPerContract": 2000000,
"lastUpdated": "2022-03-11",
"search": "\"roofing\" TX"
}
Output schema
| Field | Type | Description |
|---|---|---|
businessName, dbaName, uei, cageCode, profileUrl |
string | Business identity. |
contactPerson, email, phone, website |
string | Contact details. |
address, city, state, zipCode, county, congressionalDistrict |
string | Location. |
naicsPrimary, naicsCodes, naicsSmallCodes |
mixed | Industry codes. |
sbaCertifications, selfCertifications |
array | Certifications. |
keywords, capabilities, capabilitiesStatementUrl |
mixed | Capabilities. |
yearEstablished, legalStructure, activeInSam, exporter, qualityStandards |
mixed | Company info. |
constructionBondingPerContract, serviceBondingPerContract |
number | Bonding. |
lastUpdated |
string | Last profile update. |
search, scrapedAt |
string | Source info. |
How much does it cost to scrape SBA Small Business Search?
The scraper uses pay-per-business pricing: a small fixed price per business, with automatic discounts on higher Apify plans. See the Pricing tab for the exact price.
More government contracting data
- SAM.gov Opportunities Scraper: federal contract opportunities.
- USAspending Scraper: federal contract and grant awards.
FAQ
Is this the same as DSBS? Yes. SBA's Dynamic Small Business Search (DSBS) is now called Small Business Search (SBS); this scraper uses the current directory.
How many businesses can I get? All businesses matching your filters, including tens of thousands for a whole state.
Why are some emails or phones empty? Businesses choose whether to display their email, phone and address; hidden fields are left empty.
Can I find 8(a) or HUBZone firms in my NAICS code? Yes. Combine NAICS codes with SBA certifications and optionally States.
What formats can I export? CSV, Excel, JSON, XML, HTML and RSS, or read the results through the Apify API.
Can I integrate this scraper with other apps? SBA Small Business Search Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. It works with Make, Zapier, Slack, Airbyte, GitHub, Google Drive and many more, plus the Apify API, JS/Python clients and MCP. Or use webhooks to trigger an action whenever a run finishes.
Is it legal to use this data? The directory is published by the SBA so that agencies and contractors can find small businesses. You are responsible for using contact details in line with applicable law, including anti-spam rules such as CAN-SPAM.
Notes
Original clean-room implementation. Returns only publicly displayed data. Not affiliated with the U.S. Small Business Administration.
Input
| Field | Type | Description |
|---|---|---|
searchTermsSearch terms | array | Keywords matched against business names, capabilities and keywords, e.g. cybersecurity, roofing, janitorial, software development. Each term is a separate search. |
statesStates | array | Only businesses in these states. Each state is searched separately. |
naicsCodesNAICS codes | array | Only businesses registered under these NAICS codes, e.g. 541511, 238160, 561720. |
certificationsSBA certifications | array | Only businesses holding one of these active SBA certifications. |
zipCodesZIP codes | array | Only businesses in these 5-digit ZIP codes. |
activeSamOnlyOnly active SAM registrations | boolean | Only businesses with an active SAM.gov registration. Default: false |
withEmailOnlyOnly businesses with an email | boolean | Skip businesses that do not list an email address. Default: false |
maxItemsMax businesses | integer | Stop after this many businesses. 0 means no limit. Default: 200 |
proxyConfigurationProxy configuration | object | Not required for normal use. Default: {"useApifyProxy": false} |
API
curl -X POST "https://api.apify.com/v2/acts/hipersoft~sba-dsbs-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"searchTerms": [
"cybersecurity"
],
"maxItems": 50
}'from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("hipersoft/sba-dsbs-scraper").call(run_input={
"searchTerms": [
"cybersecurity"
],
"maxItems": 50
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('hipersoft/sba-dsbs-scraper').call({
"searchTerms": [
"cybersecurity"
],
"maxItems": 50
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);Pricing
| Event | Price | Paid plans from |
|---|---|---|
| Business One small business profile scraped | $0.002 | $0.001 |
You pay only for what the run returns. Set a maximum cost per run and it stops cleanly at that limit.
Related scrapers
North Data Scraper
Look up European companies on North Data: legal name, former names, register number, address, founding date, LEI, business purpose, managing directors and officers, and recent register publications. Germany, UK, France, Austria and 20+ countries. Bulk lookups.
2,467 runs · 5 users · $0.004 / companyWebsite Content Crawler
Extract clean, readable content from any list of websites: page title, meta description, headings, main body text, word count and link/image counts. Optional same-domain crawl. Bulk-ready. Great for LLM/RAG ingestion, content audits and research.
206 runs · 20 users · $0.0024 / page scrapedSpyFu Domain Scraper
Bulk SEO and PPC reports for any domain from SpyFu: organic keywords, monthly SEO clicks and value, Google Ads budget, paid keywords, top keywords, competitors, top countries and monthly history. Competitor research for agencies. Export CSV/JSON.
185 runs · 7 users · $0.008 / domain reportTrustpilot Reviews Scraper
Scrape Trustpilot reviews and company ratings by company domain or Trustpilot URL: star rating, title, text, reviewer name & country, verification, date, company reply, plus company TrustScore and total reviews.
146 runs · 4 users · $0.0006 / review scrapedACRA Singapore Company Registry Scraper
Search and export Singapore's full ACRA corporate registry: UEN, entity name, status, incorporation date, address, SSIC industry codes, officers, former names and audit firms. Filter by name, status, entity type or industry. Public open data, no setup.
138 runs · 10 users · $0.01 / company scrapedWayback Machine Scraper
List every Internet Archive (Wayback Machine) snapshot of a URL or whole domain: timestamp, snapshot URL, status code, MIME type and content digest. Filter by date, status and dedupe. For SEO, OSINT and historical research. No setup.
135 runs · 15 users · $0.002 / snapshot scrapedSend the site and the fields. We build it and you get it first.