{
  "data": {
    "id": "9hgZg2mav85zuskvr",
    "actId": "c7ybk5OIC4jonNcQ6",
    "userId": "zq8lKbpLzTjGDayPC",
    "startedAt": "2026-11-22T08:17:55.348Z",
    "finishedAt": "2026-11-22T08:17:59.706Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 4297,
      "runTimeSecs": 4.297,
      "computeUnits": 0.004774444444444445,
      "imageSizeBytes": 319811072
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "GK9YjZRyQZVzOdoH5",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"SBA Small Business Search Scraper Input\",\n  \"description\": \"Search the U.S. Small Business Administration's public Small Business Search directory by name/keyword, US state, NAICS industry code, or federal certification. No login required.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"byState\",\n        \"byNaicsCode\",\n        \"byCertification\"\n      ],\n      \"enumTitles\": [\n        \"Search by name/keyword/UEI/CAGE\",\n        \"Browse by US state\",\n        \"Browse by NAICS industry code\",\n        \"Browse by federal certification\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"searchTerm\": {\n      \"title\": \"Search term\",\n      \"type\": \"string\",\n      \"description\": \"Business name, UEI, CAGE code, or keyword (matches capabilities narrative and tags too). Note: SBA's own search does raw substring matching across a large free-text narrative field, not word-boundary matching — a common term (e.g. \\\"bakery\\\") can surface loosely-related businesses whose name or narrative merely contains a similar-looking substring (e.g. a firm with \\\"Baker\\\" in its name). This is an upstream search-relevance characteristic, not something this actor filters — for precise results, combine with `states`/`naicsCodes`/`certifications`.\",\n      \"editor\": \"textfield\",\n      \"prefill\": \"bakery\"\n    },\n    \"states\": {\n      \"title\": \"US states (mode=byState)\",\n      \"type\": \"array\",\n      \"description\": \"Restrict results to businesses located in these states/territories.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"AL\",\n          \"AK\",\n          \"AS\",\n          \"AZ\",\n          \"AR\",\n          \"CA\",\n          \"CO\",\n          \"CT\",\n          \"DE\",\n          \"DC\",\n          \"FM\",\n          \"FL\",\n          \"GA\",\n          \"GU\",\n          \"HI\",\n          \"ID\",\n          \"IL\",\n          \"IN\",\n          \"IA\",\n          \"KS\",\n          \"KY\",\n          \"LA\",\n          \"ME\",\n          \"MH\",\n          \"MD\",\n          \"MA\",\n          \"MI\",\n          \"MN\",\n          \"MS\",\n          \"MO\",\n          \"MT\",\n          \"NE\",\n          \"NV\",\n          \"NH\",\n          \"NJ\",\n          \"NM\",\n          \"NY\",\n          \"NC\",\n          \"ND\",\n          \"MP\",\n          \"OH\",\n          \"OK\",\n          \"OR\",\n          \"PW\",\n          \"PA\",\n          \"PR\",\n          \"RI\",\n          \"SC\",\n          \"SD\",\n          \"TN\",\n          \"TX\",\n          \"UT\",\n          \"VT\",\n          \"VA\",\n          \"VI\",\n          \"WA\",\n          \"WV\",\n          \"WI\",\n          \"WY\"\n        ],\n        \"enumTitles\": [\n          \"Alabama (AL)\",\n          \"Alaska (AK)\",\n          \"American Samoa (AS)\",\n          \"Arizona (AZ)\",\n          \"Arkansas (AR)\",\n          \"California (CA)\",\n          \"Colorado (CO)\",\n          \"Connecticut (CT)\",\n          \"Delaware (DE)\",\n          \"District of Columbia (DC)\",\n          \"Federated States of Micronesia (FM)\",\n          \"Florida (FL)\",\n          \"Georgia (GA)\",\n          \"Guam (GU)\",\n          \"Hawaii (HI)\",\n          \"Idaho (ID)\",\n          \"Illinois (IL)\",\n          \"Indiana (IN)\",\n          \"Iowa (IA)\",\n          \"Kansas (KS)\",\n          \"Kentucky (KY)\",\n          \"Louisiana (LA)\",\n          \"Maine (ME)\",\n          \"Marshall Islands (MH)\",\n          \"Maryland (MD)\",\n          \"Massachusetts (MA)\",\n          \"Michigan (MI)\",\n          \"Minnesota (MN)\",\n          \"Mississippi (MS)\",\n          \"Missouri (MO)\",\n          \"Montana (MT)\",\n          \"Nebraska (NE)\",\n          \"Nevada (NV)\",\n          \"New Hampshire (NH)\",\n          \"New Jersey (NJ)\",\n          \"New Mexico (NM)\",\n          \"New York (NY)\",\n          \"North Carolina (NC)\",\n          \"North Dakota (ND)\",\n          \"Northern Mariana Islands (MP)\",\n          \"Ohio (OH)\",\n          \"Oklahoma (OK)\",\n          \"Oregon (OR)\",\n          \"Palau (PW)\",\n          \"Pennsylvania (PA)\",\n          \"Puerto Rico (PR)\",\n          \"Rhode Island (RI)\",\n          \"South Carolina (SC)\",\n          \"South Dakota (SD)\",\n          \"Tennessee (TN)\",\n          \"Texas (TX)\",\n          \"Utah (UT)\",\n          \"Vermont (VT)\",\n          \"Virginia (VA)\",\n          \"U.S. Virgin Islands (VI)\",\n          \"Washington (WA)\",\n          \"West Virginia (WV)\",\n          \"Wisconsin (WI)\",\n          \"Wyoming (WY)\"\n        ]\n      },\n      \"uniqueItems\": true,\n      \"default\": []\n    },\n    \"zipCodes\": {\n      \"title\": \"ZIP codes\",\n      \"type\": \"array\",\n      \"description\": \"Restrict results to these 5-digit ZIP codes.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"naicsSector\": {\n      \"title\": \"NAICS sector (mode=byNaicsCode)\",\n      \"type\": \"string\",\n      \"description\": \"Top-level industry sector to browse. Applied as a client-side refinement (the upstream API only exact-matches NAICS codes) — pair with `searchTerm`, `naicsCodes`, `states`, or `certifications` for a well-narrowed search.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"11\",\n        \"21\",\n        \"22\",\n        \"23\",\n        \"31\",\n        \"32\",\n        \"33\",\n        \"42\",\n        \"44\",\n        \"45\",\n        \"48\",\n        \"49\",\n        \"51\",\n        \"52\",\n        \"53\",\n        \"54\",\n        \"55\",\n        \"56\",\n        \"61\",\n        \"62\",\n        \"71\",\n        \"72\",\n        \"81\",\n        \"92\"\n      ],\n      \"enumTitles\": [\n        \"11 - Agriculture, Forestry, Fishing and Hunting\",\n        \"21 - Mining, Quarrying, and Oil and Gas Extraction\",\n        \"22 - Utilities\",\n        \"23 - Construction\",\n        \"31 - Manufacturing (31)\",\n        \"32 - Manufacturing (32)\",\n        \"33 - Manufacturing (33)\",\n        \"42 - Wholesale Trade\",\n        \"44 - Retail Trade (44)\",\n        \"45 - Retail Trade (45)\",\n        \"48 - Transportation and Warehousing (48)\",\n        \"49 - Transportation and Warehousing (49)\",\n        \"51 - Information\",\n        \"52 - Finance and Insurance\",\n        \"53 - Real Estate and Rental and Leasing\",\n        \"54 - Professional, Scientific, and Technical Services\",\n        \"55 - Management of Companies and Enterprises\",\n        \"56 - Administrative and Support and Waste Management Services\",\n        \"61 - Educational Services\",\n        \"62 - Health Care and Social Assistance\",\n        \"71 - Arts, Entertainment, and Recreation\",\n        \"72 - Accommodation and Food Services\",\n        \"81 - Other Services (except Public Administration)\",\n        \"92 - Public Administration\"\n      ]\n    },\n    \"naicsCodes\": {\n      \"title\": \"Exact NAICS codes (mode=byNaicsCode)\",\n      \"type\": \"array\",\n      \"description\": \"Precise 2-6 digit NAICS codes (e.g. `722310` for food-service contractors). Combine with `naicsSector` for a broader net.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"naicsPrimaryOnly\": {\n      \"title\": \"Match primary NAICS only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only match businesses whose PRIMARY NAICS code is in the given list (instead of any of their listed codes).\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"certifications\": {\n      \"title\": \"Federal certifications (mode=byCertification)\",\n      \"type\": \"array\",\n      \"description\": \"Restrict to businesses holding one of these active SBA certifications.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"8A\",\n          \"HUBZONE\",\n          \"WOSB\",\n          \"EDWOSB\",\n          \"VOSB\",\n          \"SDVOSB\"\n        ],\n        \"enumTitles\": [\n          \"8(a) or 8(a) Joint Venture\",\n          \"HUBZone\",\n          \"Women-Owned Small Business (WOSB)\",\n          \"Economically-Disadvantaged Women-Owned Small Business (EDWOSB)\",\n          \"Veteran-Owned Small Business (VOSB)\",\n          \"Service-Disabled Veteran-Owned Small Business (SDVOSB)\"\n        ]\n      },\n      \"uniqueItems\": true,\n      \"default\": []\n    },\n    \"includePreviousCertifications\": {\n      \"title\": \"Include lapsed/previous certifications\",\n      \"type\": \"boolean\",\n      \"description\": \"Also include businesses whose certification has since expired or been suspended.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"activeSamOnly\": {\n      \"title\": \"Active SAM.gov registration only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only return businesses with an active federal SAM.gov registration.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"msaCodes\": {\n      \"title\": \"Metro areas (MSA/CBSA codes)\",\n      \"type\": \"array\",\n      \"description\": \"Restrict results to these 5-digit Census metropolitan statistical area (MSA/CBSA) codes, e.g. `12420` for Austin-Round Rock-San Marcos, TX. Look up codes on the Census Bureau's CBSA delineation file or via the SBA's own Advanced Search 'Metropolitan statistical area' picker.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"countyFips\": {\n      \"title\": \"Counties (5-digit FIPS codes)\",\n      \"type\": \"array\",\n      \"description\": \"Restrict results to these 5-digit US county FIPS codes (2-digit state + 3-digit county), e.g. `48453` for Travis County, TX. Look up codes on the Census Bureau's county FIPS reference.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"congressionalDistricts\": {\n      \"title\": \"US congressional districts\",\n      \"type\": \"array\",\n      \"description\": \"Restrict results to these US congressional districts, e.g. `TX-21` or `Texas-21`. Use `-00` for at-large single-district states (e.g. `Wyoming-00`) and `-98` for the non-voting delegate districts of DC, Puerto Rico, Guam, the US Virgin Islands, American Samoa, and the Northern Mariana Islands.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"selfCertifications\": {\n      \"title\": \"Self-certifications (SAM.gov, non-federal)\",\n      \"type\": \"array\",\n      \"description\": \"Restrict to businesses that self-attested to these ownership traits in SAM.gov. These are not independently verified by SBA (unlike the federal `certifications` above).\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"SELF_SDB\",\n          \"SELF_HUBZONE_JV\",\n          \"SELF_VOSB\",\n          \"SELF_WOSB\",\n          \"SELF_WOSB_JV\",\n          \"SELF_CDC\",\n          \"SELF_NATIVE_AMERICAN\",\n          \"SELF_TRIBALLY_OWNED\",\n          \"SELF_AMERICAN_INDIAN\",\n          \"SELF_ANC\",\n          \"SELF_NHO\"\n        ],\n        \"enumTitles\": [\n          \"Self-Certified Small Disadvantaged Business\",\n          \"Self-Certified HUBZone Joint Venture\",\n          \"Self-Certified Veteran-Owned Small Business\",\n          \"Self-Certified Woman-Owned Small Business\",\n          \"Self-Certified Woman-Owned Small Business Joint Venture\",\n          \"Community Development Corporation (CDC) Owned Small Business\",\n          \"Native American Owned\",\n          \"Tribally Owned Small Business\",\n          \"American Indian Owned Small Business\",\n          \"Alaskan Native Corp (ANC) Owned Small Business\",\n          \"Native Hawaiian Org (NHO) Owned Small Business\"\n        ]\n      },\n      \"uniqueItems\": true,\n      \"default\": []\n    },\n    \"qualityStandards\": {\n      \"title\": \"Quality assurance standards\",\n      \"type\": \"array\",\n      \"description\": \"Restrict to businesses that hold these quality assurance certifications.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"ANSI\",\n          \"ISO_9000\",\n          \"ISO_10012\",\n          \"MIL_Q\",\n          \"MIL_STD\"\n        ],\n        \"enumTitles\": [\n          \"ANSI/ASQC Z1.4\",\n          \"ISO 9000 Series\",\n          \"ISO 10012-1\",\n          \"MIL-Q-9858\",\n          \"MIL-STD-45662A\"\n        ]\n      },\n      \"uniqueItems\": true,\n      \"default\": []\n    },\n    \"minConstructionBondingIndividual\": {\n      \"title\": \"Min construction bonding level (per-contract, USD)\",\n      \"type\": \"integer\",\n      \"description\": \"Only return businesses whose reported individual/per-contract construction bonding capacity is at least this many US dollars.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000000\n    },\n    \"minConstructionBondingAggregate\": {\n      \"title\": \"Min construction bonding level (aggregate, USD)\",\n      \"type\": \"integer\",\n      \"description\": \"Only return businesses whose reported aggregate construction bonding capacity is at least this many US dollars.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000000\n    },\n    \"minServiceBondingIndividual\": {\n      \"title\": \"Min service bonding level (per-contract, USD)\",\n      \"type\": \"integer\",\n      \"description\": \"Only return businesses whose reported individual/per-contract service bonding capacity is at least this many US dollars.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000000\n    },\n    \"minServiceBondingAggregate\": {\n      \"title\": \"Min service bonding level (aggregate, USD)\",\n      \"type\": \"integer\",\n      \"description\": \"Only return businesses whose reported aggregate service bonding capacity is at least this many US dollars.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000000\n    },\n    \"keywords\": {\n      \"title\": \"Keyword tags (exact match, OR-matched)\",\n      \"type\": \"array\",\n      \"description\": \"Restrict to businesses tagged with any of these exact keyword/capability tags (case-insensitive exact match, OR'd together). This is distinct from `searchTerm`, which does a broader free-text match across name/narrative/tags.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"lastUpdated\": {\n      \"title\": \"Profile last updated within\",\n      \"type\": \"string\",\n      \"description\": \"Only include businesses whose profile was last updated within this time window.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"anytime\",\n        \"past-3-months\",\n        \"past-6-months\",\n        \"past-year\"\n      ],\n      \"enumTitles\": [\n        \"Anytime\",\n        \"Past 3 months\",\n        \"Past 6 months\",\n        \"Past year\"\n      ],\n      \"default\": \"anytime\",\n      \"prefill\": \"anytime\"\n    },\n    \"stateFilter\": {\n      \"title\": \"Post-filter: state\",\n      \"type\": \"string\",\n      \"description\": \"Extra client-side filter: drop records not located in this state (2-letter code or full name). Useful alongside other modes.\",\n      \"editor\": \"textfield\"\n    },\n    \"naicsPrefixFilter\": {\n      \"title\": \"Post-filter: NAICS code prefix\",\n      \"type\": \"string\",\n      \"description\": \"Extra client-side filter: only keep records with a NAICS code starting with this prefix.\",\n      \"editor\": \"textfield\"\n    },\n    \"minYearEstablished\": {\n      \"title\": \"Post-filter: min year established\",\n      \"type\": \"integer\",\n      \"description\": \"Drop businesses established before this year.\",\n      \"minimum\": 1800,\n      \"maximum\": 2100\n    },\n    \"certificationFilter\": {\n      \"title\": \"Post-filter: certification\",\n      \"type\": \"string\",\n      \"description\": \"Extra client-side filter: only keep records with this active certification.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"8A\",\n        \"HUBZONE\",\n        \"WOSB\",\n        \"EDWOSB\",\n        \"VOSB\",\n        \"SDVOSB\"\n      ],\n      \"enumTitles\": [\n        \"8(a) or 8(a) Joint Venture\",\n        \"HUBZone\",\n        \"Women-Owned Small Business (WOSB)\",\n        \"Economically-Disadvantaged Women-Owned Small Business (EDWOSB)\",\n        \"Veteran-Owned Small Business (VOSB)\",\n        \"Service-Disabled Veteran-Owned Small Business (SDVOSB)\"\n      ]\n    },\n    \"requireWebsite\": {\n      \"title\": \"Require a website\",\n      \"type\": \"boolean\",\n      \"description\": \"Only keep records that have a public website URL.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted business records.\",\n      \"minimum\": 1,\n      \"maximum\": 5000,\n      \"default\": 25,\n      \"prefill\": 25\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# SBA Certified Small Business & Federal Contractor Lookup\n\nSearch the [U.S. Small Business Administration's public Small Business Search directory](https://search.certifications.sba.gov) — the official federal tool used by contracting officers and buyers to find small businesses. Search by business name, keyword, UEI, or CAGE code; browse by US state, NAICS industry code, or federal certification (8(a), HUBZone, WOSB, EDWOSB, VOSB, SDVOSB). No login, no cookies, no proxy required — this is a fully public government dataset.\n\n## What this actor does\n\n- **Four modes:** `search`, `byState`, `byNaicsCode`, `byCertification`\n- **All 50 US states + DC + 8 territories** available as location filters\n- **Metro area (MSA), county, and congressional district filters** for precise geographic targeting\n- **All 6 SBA federal certification programs** available as filters\n- **11 self-certified business types** (minority-owned, tribally-owned, ANC/NHO-owned, etc.) as a filter\n- **5 quality assurance standards** (ANSI, ISO 9000, ISO 10012, MIL-Q, MIL-STD) as a filter\n- **Bonding-level minimums** (construction/service, individual/aggregate) to find businesses that can bond above a dollar threshold\n- **Exact keyword-tag filter**, distinct from free-text search, plus a \"profile last updated\" recency filter\n- **24 top-level NAICS industry sectors** as a curated filter, plus free-text exact NAICS code input\n- Returns contact info, address, NAICS codes, capabilities narrative, self-reported business classifications (minority/woman/veteran-owned, etc.), and active federal certifications\n- Respects each business's own contact-visibility settings — only returns phone/email/fax/address when the business opted to display it publicly\n- Empty fields are omitted — every record only contains data that was actually found\n\n## Output per business\n\n- `entityId`, `legalBusinessName`, `dbaName`, `uei`, `cageCode`\n- `primaryNaicsCode`, `naicsCodes[]`, `keywords[]`\n- `capabilitiesNarrative`, `capabilitiesLink`, `principals`, `contactPerson`\n- `phone`, `fax`, `email`, `website`, `additionalWebsite`\n- `streetAddress`, `city`, `state`, `zipCode`, `county`, `congressionalDistrict`, `msa`\n- `yearEstablished`, `businessSizeEmployees`, `annualRevenueUsd`\n- `isExporter`, `exportBusinessActivities`, `exportToCountries`, `desiredExportRelationships`, `exportObjective`\n- `activeFederalCertifications[]` — e.g. `[\"8(a)\", \"HUBZone\"]`\n- `selfCertifications[]` — e.g. `[\"Woman-Owned Small Business\", \"Veteran-Owned\", \"Hispanic American Owned\"]`\n- `nonFederalCertifications` — free-text non-federal/professional certifications self-reported by the business, e.g. `\"WBENC; PSWMSDC - MBE\"`\n- `qualityStandards[]`, `bondingLevelsUsd`, `isActiveSam`, `lastUpdatedAt`\n- `sourceUrl`, `recordType: \"smallBusiness\"`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search` / `byState` / `byNaicsCode` / `byCertification` |\n| `searchTerm` | string | – (prefill `bakery`) | Business name, UEI, CAGE code, or keyword |\n| `states` | array | – | US states/territories to restrict to (mode=byState) |\n| `zipCodes` | array | – | 5-digit ZIP codes to restrict to |\n| `naicsSector` | string | – | Top-level NAICS industry sector (mode=byNaicsCode) |\n| `naicsCodes` | array | – | Exact 2-6 digit NAICS codes (mode=byNaicsCode) |\n| `naicsPrimaryOnly` | bool | `false` | Match only businesses whose *primary* NAICS is in the list |\n| `certifications` | array | – | SBA certification programs to restrict to (mode=byCertification) |\n| `includePreviousCertifications` | bool | `false` | Include lapsed/suspended certifications |\n| `activeSamOnly` | bool | `false` | Only businesses with an active SAM.gov registration |\n| `msaCodes` | array | – | 5-digit metro area (MSA/CBSA) codes, e.g. `12420` |\n| `countyFips` | array | – | 5-digit US county FIPS codes, e.g. `48453` |\n| `congressionalDistricts` | array | – | US congressional districts, e.g. `TX-21`, `Wyoming-00` |\n| `selfCertifications` | array | – | Self-attested SAM.gov business types (not SBA-verified) |\n| `qualityStandards` | array | – | Quality assurance certifications (ANSI, ISO 9000, ISO 10012, MIL-Q, MIL-STD) |\n| `minConstructionBondingIndividual` / `minConstructionBondingAggregate` / `minServiceBondingIndividual` / `minServiceBondingAggregate` | int | – | Minimum bonding-capacity thresholds (USD) |\n| `keywords` | array | – | Exact keyword/capability tags to match (OR'd, distinct from `searchTerm`) |\n| `lastUpdated` | string | `anytime` | Only businesses updated within `past-3-months` / `past-6-months` / `past-year` |\n| `stateFilter` / `naicsPrefixFilter` / `minYearEstablished` / `certificationFilter` | string / string / int / string | – | Extra client-side post-filters |\n| `requireWebsite` | bool | `false` | Only keep records that have a public website URL |\n| `maxItems` | int | `25` | Hard cap on emitted records (1-5000) |\n\n> Location filters (`states`, `zipCodes`, `msaCodes`, `countyFips`, `congressionalDistricts`) are combined with OR logic — a business matching *any* of them is included.\n\n### Example: HUBZone-certified construction firms in Texas\n\n```json\n{\n  \"mode\": \"byCertification\",\n  \"certifications\": [\"HUBZONE\"],\n  \"states\": [\"TX\"],\n  \"searchTerm\": \"construction\",\n  \"maxItems\": 50\n}\n```\n\n### Example: browse a NAICS industry sector\n\n```json\n{\n  \"mode\": \"byNaicsCode\",\n  \"searchTerm\": \"restaurant\",\n  \"naicsSector\": \"72\",\n  \"states\": [\"CA\"],\n  \"maxItems\": 100\n}\n```\n\n> `naicsSector` is a convenience *refinement* filter (applied client-side against each business's actual NAICS codes) rather than a precise server-side search axis — the SBA API only supports exact-code matching, not sector-level prefixes. For best results, pair it with `searchTerm`, `naicsCodes` (exact codes), `states`, or `certifications` so the initial search is already reasonably narrow.\n\n### Example: woman-owned businesses with a website\n\n```json\n{\n  \"mode\": \"byCertification\",\n  \"certifications\": [\"WOSB\", \"EDWOSB\"],\n  \"requireWebsite\": true,\n  \"maxItems\": 50\n}\n```\n\n### Example: bondable construction firms in a specific metro area\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchTerm\": \"construction\",\n  \"msaCodes\": [\"12420\"],\n  \"minConstructionBondingIndividual\": 50000,\n  \"qualityStandards\": [\"ANSI\"],\n  \"maxItems\": 50\n}\n```\n\n### Example: recently-updated minority-owned businesses in a county\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchTerm\": \"consulting\",\n  \"countyFips\": [\"48453\"],\n  \"selfCertifications\": [\"SELF_SDB\"],\n  \"lastUpdated\": \"past-6-months\",\n  \"maxItems\": 50\n}\n```\n\n## Use cases\n\n- **Federal contracting** — find certified small-business subcontractors/vendors for a solicitation\n- **Supplier diversity programs** — source minority-, woman-, or veteran-owned suppliers by industry and location\n- **Sales prospecting** — build a targeted list of small businesses in a specific NAICS sector and state\n- **Market research** — analyze the density of certified small businesses by industry/region\n- **Partnership sourcing** — find potential joint-venture partners holding a specific SBA certification\n\n## FAQ\n\n**What is SBA Small Business Search?** The official U.S. Small Business Administration tool (search.certifications.sba.gov) that federal agencies and prime contractors use to find small businesses — especially those with SBA certifications — for contracting opportunities.\n\n**What are the SBA certifications?** Federal socio-economic contracting programs: **8(a)** (disadvantaged business), **HUBZone** (historically underutilized business zone), **WOSB**/**EDWOSB** (woman-owned / economically disadvantaged woman-owned), and **VOSB**/**SDVOSB** (veteran-owned / service-disabled veteran-owned).\n\n**What's the difference between `activeFederalCertifications` and `selfCertifications`?** `activeFederalCertifications` are SBA-verified certifications requiring a formal application. `selfCertifications` are self-reported classifications (e.g. \"Minority-Owned Business\", \"Hispanic American Owned\") that aren't independently verified by SBA.\n\n**Why do some businesses have no phone/email/address?** Each business controls whether its contact details are shown publicly. The actor only returns fields the business itself opted to display.\n\n**What are UEI and CAGE code?** A **UEI** (Unique Entity Identifier) and **CAGE code** (Commercial and Government Entity code) are federal identifiers assigned when a business registers in SAM.gov — both are searchable via `searchTerm`.\n\n**How current is this data?** SBA updates records continuously as businesses register, renew certifications, or update their profiles; `lastUpdatedAt` reflects the business's own last profile update.\n\n**What's the difference between `keywords` and `searchTerm`?** `searchTerm` is a broad free-text match across the business name, capabilities narrative, and tags. `keywords` is an exact (case-insensitive) match against a business's structured keyword/capability tags only, and multiple keywords are OR-matched — useful for precise tag-based filtering rather than broad text search.\n\n**What are self-certifications vs. quality assurance standards?** Self-certifications are ownership-trait attestations businesses make in SAM.gov (e.g. \"Native American Owned\") — not independently verified by SBA. Quality assurance standards (ANSI, ISO 9000, ISO 10012, MIL-Q, MIL-STD) are quality-management certifications a business reports holding.\n\n**How do I find an MSA code, county FIPS code, or congressional district?** MSA (metro area) codes and county FIPS codes are standard 5-digit US Census Bureau identifiers — look them up on Census.gov, or via the SBA's own Advanced Search \"Metropolitan statistical area\" / \"Congressional district and county code list\" reference tools. Congressional districts use the format `State-##` (e.g. `Texas-21`); at-large single-district states use `-00` and DC/Puerto Rico/Guam/US Virgin Islands/American Samoa/Northern Mariana Islands use `-98`.\n\n**Can I filter by employee count or annual revenue?** No — while the upstream search tool's data model includes these fields, they are not enforced as filters server-side (confirmed by testing) and the live search UI has no controls for them either, so this actor does not expose them to avoid a filter that silently does nothing.\n\n**How many results can one run return?** Up to `maxItems` (maximum 5,000). The SBA endpoint returns the complete match set in a single response, so the actor streams it and stops as soon as `maxItems` records are collected — there is no server-side page cursor to resume. For lists larger than 5,000, partition the query (for example by state, NAICS sector, or certification) and run each slice separately; results are de-duplicated by SBA entity ID within a run.\n\n**Can I search the entire directory with no filters?** No. The directory contains millions of profiles, so the actor requires at least one narrowing criterion (keyword, location, NAICS, certification, keyword tag, recency, bonding minimum, or active-SAM flag) and tells you which ones are accepted instead of attempting a full-table scan.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "sba-certified-small-business-and-federal",
      "title": "SBA Certified Small Business & Federal Contractor Lookup",
      "description": "Search the SBA's public small business directory by name, state, NAICS code, or federal certification (8(a), HUBZone, WOSB, VOSB, SDVOSB) and get contact info, NAICS codes, and certification status.",
      "version": "1.0",
      "buildTag": "latest",
      "defaultRunOptions": {
        "build": "latest",
        "timeoutSecs": 600,
        "memoryMbytes": 1024
      },
      "dockerfile": "../Dockerfile",
      "readme": "# SBA Certified Small Business & Federal Contractor Lookup\n\nSearch the [U.S. Small Business Administration's public Small Business Search directory](https://search.certifications.sba.gov) — the official federal tool used by contracting officers and buyers to find small businesses. Search by business name, keyword, UEI, or CAGE code; browse by US state, NAICS industry code, or federal certification (8(a), HUBZone, WOSB, EDWOSB, VOSB, SDVOSB). No login, no cookies, no proxy required — this is a fully public government dataset.\n\n## What this actor does\n\n- **Four modes:** `search`, `byState`, `byNaicsCode`, `byCertification`\n- **All 50 US states + DC + 8 territories** available as location filters\n- **Metro area (MSA), county, and congressional district filters** for precise geographic targeting\n- **All 6 SBA federal certification programs** available as filters\n- **11 self-certified business types** (minority-owned, tribally-owned, ANC/NHO-owned, etc.) as a filter\n- **5 quality assurance standards** (ANSI, ISO 9000, ISO 10012, MIL-Q, MIL-STD) as a filter\n- **Bonding-level minimums** (construction/service, individual/aggregate) to find businesses that can bond above a dollar threshold\n- **Exact keyword-tag filter**, distinct from free-text search, plus a \"profile last updated\" recency filter\n- **24 top-level NAICS industry sectors** as a curated filter, plus free-text exact NAICS code input\n- Returns contact info, address, NAICS codes, capabilities narrative, self-reported business classifications (minority/woman/veteran-owned, etc.), and active federal certifications\n- Respects each business's own contact-visibility settings — only returns phone/email/fax/address when the business opted to display it publicly\n- Empty fields are omitted — every record only contains data that was actually found\n\n## Output per business\n\n- `entityId`, `legalBusinessName`, `dbaName`, `uei`, `cageCode`\n- `primaryNaicsCode`, `naicsCodes[]`, `keywords[]`\n- `capabilitiesNarrative`, `capabilitiesLink`, `principals`, `contactPerson`\n- `phone`, `fax`, `email`, `website`, `additionalWebsite`\n- `streetAddress`, `city`, `state`, `zipCode`, `county`, `congressionalDistrict`, `msa`\n- `yearEstablished`, `businessSizeEmployees`, `annualRevenueUsd`\n- `isExporter`, `exportBusinessActivities`, `exportToCountries`, `desiredExportRelationships`, `exportObjective`\n- `activeFederalCertifications[]` — e.g. `[\"8(a)\", \"HUBZone\"]`\n- `selfCertifications[]` — e.g. `[\"Woman-Owned Small Business\", \"Veteran-Owned\", \"Hispanic American Owned\"]`\n- `nonFederalCertifications` — free-text non-federal/professional certifications self-reported by the business, e.g. `\"WBENC; PSWMSDC - MBE\"`\n- `qualityStandards[]`, `bondingLevelsUsd`, `isActiveSam`, `lastUpdatedAt`\n- `sourceUrl`, `recordType: \"smallBusiness\"`, `scrapedAt`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search` / `byState` / `byNaicsCode` / `byCertification` |\n| `searchTerm` | string | – (prefill `bakery`) | Business name, UEI, CAGE code, or keyword |\n| `states` | array | – | US states/territories to restrict to (mode=byState) |\n| `zipCodes` | array | – | 5-digit ZIP codes to restrict to |\n| `naicsSector` | string | – | Top-level NAICS industry sector (mode=byNaicsCode) |\n| `naicsCodes` | array | – | Exact 2-6 digit NAICS codes (mode=byNaicsCode) |\n| `naicsPrimaryOnly` | bool | `false` | Match only businesses whose *primary* NAICS is in the list |\n| `certifications` | array | – | SBA certification programs to restrict to (mode=byCertification) |\n| `includePreviousCertifications` | bool | `false` | Include lapsed/suspended certifications |\n| `activeSamOnly` | bool | `false` | Only businesses with an active SAM.gov registration |\n| `msaCodes` | array | – | 5-digit metro area (MSA/CBSA) codes, e.g. `12420` |\n| `countyFips` | array | – | 5-digit US county FIPS codes, e.g. `48453` |\n| `congressionalDistricts` | array | – | US congressional districts, e.g. `TX-21`, `Wyoming-00` |\n| `selfCertifications` | array | – | Self-attested SAM.gov business types (not SBA-verified) |\n| `qualityStandards` | array | – | Quality assurance certifications (ANSI, ISO 9000, ISO 10012, MIL-Q, MIL-STD) |\n| `minConstructionBondingIndividual` / `minConstructionBondingAggregate` / `minServiceBondingIndividual` / `minServiceBondingAggregate` | int | – | Minimum bonding-capacity thresholds (USD) |\n| `keywords` | array | – | Exact keyword/capability tags to match (OR'd, distinct from `searchTerm`) |\n| `lastUpdated` | string | `anytime` | Only businesses updated within `past-3-months` / `past-6-months` / `past-year` |\n| `stateFilter` / `naicsPrefixFilter` / `minYearEstablished` / `certificationFilter` | string / string / int / string | – | Extra client-side post-filters |\n| `requireWebsite` | bool | `false` | Only keep records that have a public website URL |\n| `maxItems` | int | `25` | Hard cap on emitted records (1-5000) |\n\n> Location filters (`states`, `zipCodes`, `msaCodes`, `countyFips`, `congressionalDistricts`) are combined with OR logic — a business matching *any* of them is included.\n\n### Example: HUBZone-certified construction firms in Texas\n\n```json\n{\n  \"mode\": \"byCertification\",\n  \"certifications\": [\"HUBZONE\"],\n  \"states\": [\"TX\"],\n  \"searchTerm\": \"construction\",\n  \"maxItems\": 50\n}\n```\n\n### Example: browse a NAICS industry sector\n\n```json\n{\n  \"mode\": \"byNaicsCode\",\n  \"searchTerm\": \"restaurant\",\n  \"naicsSector\": \"72\",\n  \"states\": [\"CA\"],\n  \"maxItems\": 100\n}\n```\n\n> `naicsSector` is a convenience *refinement* filter (applied client-side against each business's actual NAICS codes) rather than a precise server-side search axis — the SBA API only supports exact-code matching, not sector-level prefixes. For best results, pair it with `searchTerm`, `naicsCodes` (exact codes), `states`, or `certifications` so the initial search is already reasonably narrow.\n\n### Example: woman-owned businesses with a website\n\n```json\n{\n  \"mode\": \"byCertification\",\n  \"certifications\": [\"WOSB\", \"EDWOSB\"],\n  \"requireWebsite\": true,\n  \"maxItems\": 50\n}\n```\n\n### Example: bondable construction firms in a specific metro area\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchTerm\": \"construction\",\n  \"msaCodes\": [\"12420\"],\n  \"minConstructionBondingIndividual\": 50000,\n  \"qualityStandards\": [\"ANSI\"],\n  \"maxItems\": 50\n}\n```\n\n### Example: recently-updated minority-owned businesses in a county\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchTerm\": \"consulting\",\n  \"countyFips\": [\"48453\"],\n  \"selfCertifications\": [\"SELF_SDB\"],\n  \"lastUpdated\": \"past-6-months\",\n  \"maxItems\": 50\n}\n```\n\n## Use cases\n\n- **Federal contracting** — find certified small-business subcontractors/vendors for a solicitation\n- **Supplier diversity programs** — source minority-, woman-, or veteran-owned suppliers by industry and location\n- **Sales prospecting** — build a targeted list of small businesses in a specific NAICS sector and state\n- **Market research** — analyze the density of certified small businesses by industry/region\n- **Partnership sourcing** — find potential joint-venture partners holding a specific SBA certification\n\n## FAQ\n\n**What is SBA Small Business Search?** The official U.S. Small Business Administration tool (search.certifications.sba.gov) that federal agencies and prime contractors use to find small businesses — especially those with SBA certifications — for contracting opportunities.\n\n**What are the SBA certifications?** Federal socio-economic contracting programs: **8(a)** (disadvantaged business), **HUBZone** (historically underutilized business zone), **WOSB**/**EDWOSB** (woman-owned / economically disadvantaged woman-owned), and **VOSB**/**SDVOSB** (veteran-owned / service-disabled veteran-owned).\n\n**What's the difference between `activeFederalCertifications` and `selfCertifications`?** `activeFederalCertifications` are SBA-verified certifications requiring a formal application. `selfCertifications` are self-reported classifications (e.g. \"Minority-Owned Business\", \"Hispanic American Owned\") that aren't independently verified by SBA.\n\n**Why do some businesses have no phone/email/address?** Each business controls whether its contact details are shown publicly. The actor only returns fields the business itself opted to display.\n\n**What are UEI and CAGE code?** A **UEI** (Unique Entity Identifier) and **CAGE code** (Commercial and Government Entity code) are federal identifiers assigned when a business registers in SAM.gov — both are searchable via `searchTerm`.\n\n**How current is this data?** SBA updates records continuously as businesses register, renew certifications, or update their profiles; `lastUpdatedAt` reflects the business's own last profile update.\n\n**What's the difference between `keywords` and `searchTerm`?** `searchTerm` is a broad free-text match across the business name, capabilities narrative, and tags. `keywords` is an exact (case-insensitive) match against a business's structured keyword/capability tags only, and multiple keywords are OR-matched — useful for precise tag-based filtering rather than broad text search.\n\n**What are self-certifications vs. quality assurance standards?** Self-certifications are ownership-trait attestations businesses make in SAM.gov (e.g. \"Native American Owned\") — not independently verified by SBA. Quality assurance standards (ANSI, ISO 9000, ISO 10012, MIL-Q, MIL-STD) are quality-management certifications a business reports holding.\n\n**How do I find an MSA code, county FIPS code, or congressional district?** MSA (metro area) codes and county FIPS codes are standard 5-digit US Census Bureau identifiers — look them up on Census.gov, or via the SBA's own Advanced Search \"Metropolitan statistical area\" / \"Congressional district and county code list\" reference tools. Congressional districts use the format `State-##` (e.g. `Texas-21`); at-large single-district states use `-00` and DC/Puerto Rico/Guam/US Virgin Islands/American Samoa/Northern Mariana Islands use `-98`.\n\n**Can I filter by employee count or annual revenue?** No — while the upstream search tool's data model includes these fields, they are not enforced as filters server-side (confirmed by testing) and the live search UI has no controls for them either, so this actor does not expose them to avoid a filter that silently does nothing.\n\n**How many results can one run return?** Up to `maxItems` (maximum 5,000). The SBA endpoint returns the complete match set in a single response, so the actor streams it and stops as soon as `maxItems` records are collected — there is no server-side page cursor to resume. For lists larger than 5,000, partition the query (for example by state, NAICS sector, or certification) and run each slice separately; results are de-duplicated by SBA entity ID within a run.\n\n**Can I search the entire directory with no filters?** No. The directory contains millions of profiles, so the actor requires at least one narrowing criterion (keyword, location, NAICS, certification, keyword tag, recency, bonding minimum, or active-SAM flag) and tells you which ones are accepted instead of attempting a full-table scan.\n",
      "input": {
        "title": "SBA Small Business Search Scraper Input",
        "description": "Search the U.S. Small Business Administration's public Small Business Search directory by name/keyword, US state, NAICS industry code, or federal certification. No login required.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch.",
            "editor": "select",
            "enum": [
              "search",
              "byState",
              "byNaicsCode",
              "byCertification"
            ],
            "enumTitles": [
              "Search by name/keyword/UEI/CAGE",
              "Browse by US state",
              "Browse by NAICS industry code",
              "Browse by federal certification"
            ],
            "default": "search",
            "prefill": "search"
          },
          "searchTerm": {
            "title": "Search term",
            "type": "string",
            "description": "Business name, UEI, CAGE code, or keyword (matches capabilities narrative and tags too). Note: SBA's own search does raw substring matching across a large free-text narrative field, not word-boundary matching — a common term (e.g. \"bakery\") can surface loosely-related businesses whose name or narrative merely contains a similar-looking substring (e.g. a firm with \"Baker\" in its name). This is an upstream search-relevance characteristic, not something this actor filters — for precise results, combine with `states`/`naicsCodes`/`certifications`.",
            "editor": "textfield",
            "prefill": "bakery"
          },
          "states": {
            "title": "US states (mode=byState)",
            "type": "array",
            "description": "Restrict results to businesses located in these states/territories.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "AL",
                "AK",
                "AS",
                "AZ",
                "AR",
                "CA",
                "CO",
                "CT",
                "DE",
                "DC",
                "FM",
                "FL",
                "GA",
                "GU",
                "HI",
                "ID",
                "IL",
                "IN",
                "IA",
                "KS",
                "KY",
                "LA",
                "ME",
                "MH",
                "MD",
                "MA",
                "MI",
                "MN",
                "MS",
                "MO",
                "MT",
                "NE",
                "NV",
                "NH",
                "NJ",
                "NM",
                "NY",
                "NC",
                "ND",
                "MP",
                "OH",
                "OK",
                "OR",
                "PW",
                "PA",
                "PR",
                "RI",
                "SC",
                "SD",
                "TN",
                "TX",
                "UT",
                "VT",
                "VA",
                "VI",
                "WA",
                "WV",
                "WI",
                "WY"
              ],
              "enumTitles": [
                "Alabama (AL)",
                "Alaska (AK)",
                "American Samoa (AS)",
                "Arizona (AZ)",
                "Arkansas (AR)",
                "California (CA)",
                "Colorado (CO)",
                "Connecticut (CT)",
                "Delaware (DE)",
                "District of Columbia (DC)",
                "Federated States of Micronesia (FM)",
                "Florida (FL)",
                "Georgia (GA)",
                "Guam (GU)",
                "Hawaii (HI)",
                "Idaho (ID)",
                "Illinois (IL)",
                "Indiana (IN)",
                "Iowa (IA)",
                "Kansas (KS)",
                "Kentucky (KY)",
                "Louisiana (LA)",
                "Maine (ME)",
                "Marshall Islands (MH)",
                "Maryland (MD)",
                "Massachusetts (MA)",
                "Michigan (MI)",
                "Minnesota (MN)",
                "Mississippi (MS)",
                "Missouri (MO)",
                "Montana (MT)",
                "Nebraska (NE)",
                "Nevada (NV)",
                "New Hampshire (NH)",
                "New Jersey (NJ)",
                "New Mexico (NM)",
                "New York (NY)",
                "North Carolina (NC)",
                "North Dakota (ND)",
                "Northern Mariana Islands (MP)",
                "Ohio (OH)",
                "Oklahoma (OK)",
                "Oregon (OR)",
                "Palau (PW)",
                "Pennsylvania (PA)",
                "Puerto Rico (PR)",
                "Rhode Island (RI)",
                "South Carolina (SC)",
                "South Dakota (SD)",
                "Tennessee (TN)",
                "Texas (TX)",
                "Utah (UT)",
                "Vermont (VT)",
                "Virginia (VA)",
                "U.S. Virgin Islands (VI)",
                "Washington (WA)",
                "West Virginia (WV)",
                "Wisconsin (WI)",
                "Wyoming (WY)"
              ]
            },
            "uniqueItems": true,
            "default": []
          },
          "zipCodes": {
            "title": "ZIP codes",
            "type": "array",
            "description": "Restrict results to these 5-digit ZIP codes.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "naicsSector": {
            "title": "NAICS sector (mode=byNaicsCode)",
            "type": "string",
            "description": "Top-level industry sector to browse. Applied as a client-side refinement (the upstream API only exact-matches NAICS codes) — pair with `searchTerm`, `naicsCodes`, `states`, or `certifications` for a well-narrowed search.",
            "editor": "select",
            "enum": [
              "11",
              "21",
              "22",
              "23",
              "31",
              "32",
              "33",
              "42",
              "44",
              "45",
              "48",
              "49",
              "51",
              "52",
              "53",
              "54",
              "55",
              "56",
              "61",
              "62",
              "71",
              "72",
              "81",
              "92"
            ],
            "enumTitles": [
              "11 - Agriculture, Forestry, Fishing and Hunting",
              "21 - Mining, Quarrying, and Oil and Gas Extraction",
              "22 - Utilities",
              "23 - Construction",
              "31 - Manufacturing (31)",
              "32 - Manufacturing (32)",
              "33 - Manufacturing (33)",
              "42 - Wholesale Trade",
              "44 - Retail Trade (44)",
              "45 - Retail Trade (45)",
              "48 - Transportation and Warehousing (48)",
              "49 - Transportation and Warehousing (49)",
              "51 - Information",
              "52 - Finance and Insurance",
              "53 - Real Estate and Rental and Leasing",
              "54 - Professional, Scientific, and Technical Services",
              "55 - Management of Companies and Enterprises",
              "56 - Administrative and Support and Waste Management Services",
              "61 - Educational Services",
              "62 - Health Care and Social Assistance",
              "71 - Arts, Entertainment, and Recreation",
              "72 - Accommodation and Food Services",
              "81 - Other Services (except Public Administration)",
              "92 - Public Administration"
            ]
          },
          "naicsCodes": {
            "title": "Exact NAICS codes (mode=byNaicsCode)",
            "type": "array",
            "description": "Precise 2-6 digit NAICS codes (e.g. `722310` for food-service contractors). Combine with `naicsSector` for a broader net.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "naicsPrimaryOnly": {
            "title": "Match primary NAICS only",
            "type": "boolean",
            "description": "Only match businesses whose PRIMARY NAICS code is in the given list (instead of any of their listed codes).",
            "default": false,
            "prefill": false
          },
          "certifications": {
            "title": "Federal certifications (mode=byCertification)",
            "type": "array",
            "description": "Restrict to businesses holding one of these active SBA certifications.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "8A",
                "HUBZONE",
                "WOSB",
                "EDWOSB",
                "VOSB",
                "SDVOSB"
              ],
              "enumTitles": [
                "8(a) or 8(a) Joint Venture",
                "HUBZone",
                "Women-Owned Small Business (WOSB)",
                "Economically-Disadvantaged Women-Owned Small Business (EDWOSB)",
                "Veteran-Owned Small Business (VOSB)",
                "Service-Disabled Veteran-Owned Small Business (SDVOSB)"
              ]
            },
            "uniqueItems": true,
            "default": []
          },
          "includePreviousCertifications": {
            "title": "Include lapsed/previous certifications",
            "type": "boolean",
            "description": "Also include businesses whose certification has since expired or been suspended.",
            "default": false,
            "prefill": false
          },
          "activeSamOnly": {
            "title": "Active SAM.gov registration only",
            "type": "boolean",
            "description": "Only return businesses with an active federal SAM.gov registration.",
            "default": false,
            "prefill": false
          },
          "msaCodes": {
            "title": "Metro areas (MSA/CBSA codes)",
            "type": "array",
            "description": "Restrict results to these 5-digit Census metropolitan statistical area (MSA/CBSA) codes, e.g. `12420` for Austin-Round Rock-San Marcos, TX. Look up codes on the Census Bureau's CBSA delineation file or via the SBA's own Advanced Search 'Metropolitan statistical area' picker.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "countyFips": {
            "title": "Counties (5-digit FIPS codes)",
            "type": "array",
            "description": "Restrict results to these 5-digit US county FIPS codes (2-digit state + 3-digit county), e.g. `48453` for Travis County, TX. Look up codes on the Census Bureau's county FIPS reference.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "congressionalDistricts": {
            "title": "US congressional districts",
            "type": "array",
            "description": "Restrict results to these US congressional districts, e.g. `TX-21` or `Texas-21`. Use `-00` for at-large single-district states (e.g. `Wyoming-00`) and `-98` for the non-voting delegate districts of DC, Puerto Rico, Guam, the US Virgin Islands, American Samoa, and the Northern Mariana Islands.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "selfCertifications": {
            "title": "Self-certifications (SAM.gov, non-federal)",
            "type": "array",
            "description": "Restrict to businesses that self-attested to these ownership traits in SAM.gov. These are not independently verified by SBA (unlike the federal `certifications` above).",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "SELF_SDB",
                "SELF_HUBZONE_JV",
                "SELF_VOSB",
                "SELF_WOSB",
                "SELF_WOSB_JV",
                "SELF_CDC",
                "SELF_NATIVE_AMERICAN",
                "SELF_TRIBALLY_OWNED",
                "SELF_AMERICAN_INDIAN",
                "SELF_ANC",
                "SELF_NHO"
              ],
              "enumTitles": [
                "Self-Certified Small Disadvantaged Business",
                "Self-Certified HUBZone Joint Venture",
                "Self-Certified Veteran-Owned Small Business",
                "Self-Certified Woman-Owned Small Business",
                "Self-Certified Woman-Owned Small Business Joint Venture",
                "Community Development Corporation (CDC) Owned Small Business",
                "Native American Owned",
                "Tribally Owned Small Business",
                "American Indian Owned Small Business",
                "Alaskan Native Corp (ANC) Owned Small Business",
                "Native Hawaiian Org (NHO) Owned Small Business"
              ]
            },
            "uniqueItems": true,
            "default": []
          },
          "qualityStandards": {
            "title": "Quality assurance standards",
            "type": "array",
            "description": "Restrict to businesses that hold these quality assurance certifications.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "ANSI",
                "ISO_9000",
                "ISO_10012",
                "MIL_Q",
                "MIL_STD"
              ],
              "enumTitles": [
                "ANSI/ASQC Z1.4",
                "ISO 9000 Series",
                "ISO 10012-1",
                "MIL-Q-9858",
                "MIL-STD-45662A"
              ]
            },
            "uniqueItems": true,
            "default": []
          },
          "minConstructionBondingIndividual": {
            "title": "Min construction bonding level (per-contract, USD)",
            "type": "integer",
            "description": "Only return businesses whose reported individual/per-contract construction bonding capacity is at least this many US dollars.",
            "minimum": 0,
            "maximum": 1000000000
          },
          "minConstructionBondingAggregate": {
            "title": "Min construction bonding level (aggregate, USD)",
            "type": "integer",
            "description": "Only return businesses whose reported aggregate construction bonding capacity is at least this many US dollars.",
            "minimum": 0,
            "maximum": 1000000000
          },
          "minServiceBondingIndividual": {
            "title": "Min service bonding level (per-contract, USD)",
            "type": "integer",
            "description": "Only return businesses whose reported individual/per-contract service bonding capacity is at least this many US dollars.",
            "minimum": 0,
            "maximum": 1000000000
          },
          "minServiceBondingAggregate": {
            "title": "Min service bonding level (aggregate, USD)",
            "type": "integer",
            "description": "Only return businesses whose reported aggregate service bonding capacity is at least this many US dollars.",
            "minimum": 0,
            "maximum": 1000000000
          },
          "keywords": {
            "title": "Keyword tags (exact match, OR-matched)",
            "type": "array",
            "description": "Restrict to businesses tagged with any of these exact keyword/capability tags (case-insensitive exact match, OR'd together). This is distinct from `searchTerm`, which does a broader free-text match across name/narrative/tags.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "lastUpdated": {
            "title": "Profile last updated within",
            "type": "string",
            "description": "Only include businesses whose profile was last updated within this time window.",
            "editor": "select",
            "enum": [
              "anytime",
              "past-3-months",
              "past-6-months",
              "past-year"
            ],
            "enumTitles": [
              "Anytime",
              "Past 3 months",
              "Past 6 months",
              "Past year"
            ],
            "default": "anytime",
            "prefill": "anytime"
          },
          "stateFilter": {
            "title": "Post-filter: state",
            "type": "string",
            "description": "Extra client-side filter: drop records not located in this state (2-letter code or full name). Useful alongside other modes.",
            "editor": "textfield"
          },
          "naicsPrefixFilter": {
            "title": "Post-filter: NAICS code prefix",
            "type": "string",
            "description": "Extra client-side filter: only keep records with a NAICS code starting with this prefix.",
            "editor": "textfield"
          },
          "minYearEstablished": {
            "title": "Post-filter: min year established",
            "type": "integer",
            "description": "Drop businesses established before this year.",
            "minimum": 1800,
            "maximum": 2100
          },
          "certificationFilter": {
            "title": "Post-filter: certification",
            "type": "string",
            "description": "Extra client-side filter: only keep records with this active certification.",
            "editor": "select",
            "enum": [
              "8A",
              "HUBZONE",
              "WOSB",
              "EDWOSB",
              "VOSB",
              "SDVOSB"
            ],
            "enumTitles": [
              "8(a) or 8(a) Joint Venture",
              "HUBZone",
              "Women-Owned Small Business (WOSB)",
              "Economically-Disadvantaged Women-Owned Small Business (EDWOSB)",
              "Veteran-Owned Small Business (VOSB)",
              "Service-Disabled Veteran-Owned Small Business (SDVOSB)"
            ]
          },
          "requireWebsite": {
            "title": "Require a website",
            "type": "boolean",
            "description": "Only keep records that have a public website URL.",
            "default": false,
            "prefill": false
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted business records.",
            "minimum": 1,
            "maximum": 5000,
            "default": 25,
            "prefill": 25
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "SBA Certified Small Business & Federal Contractor Lookup Output",
        "description": "US small businesses from the SBA's public Small Business Search directory — contact info, NAICS codes, federal/self certifications, and capabilities.",
        "properties": {
          "businesses": {
            "type": "string",
            "title": "SBA small businesses",
            "description": "Dataset containing all scraped small-business records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Small businesses",
              "transformation": {
                "fields": [
                  "legalBusinessName",
                  "dbaName",
                  "city",
                  "state",
                  "primaryNaicsCode",
                  "phone",
                  "website",
                  "activeFederalCertifications"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.2",
    "imageDigest": "11a17a236251166cc62d20d3093e4db35250741edf169f58aab6bc351b2bbec0",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.004774444444444445
    }
  }
}