Skip to content

US SBA

Small Business Administration 7(a) loan-guarantee data — aggregated across lenders, counties, states, and NAICS industries. This is the smallest of the four verticals by record count, but it’s the most underused: it ties SEC-registered companies to the small-business credit activity in their HQ county, and it’s the only public dataset with standardised charge-off outcomes at that granularity.

DimensionValue
Loan records903,000+ SBA 7(a) guaranteed loans
Geographic aggregationCounty (FIPS) × State (FIPS) × National
Industry aggregationNAICS codes
Update cadenceQuarterly
Lender detailIndividual lender records with portfolio-level metrics
Outcome trackingCharge-off counts, charge-off rates, charge-off amounts
  • Connecticut county-level aggregates have a FIPS schema gap. A 2022 FIPS schema change for Connecticut counties left approximately 6,408 loans unresolved at the county level. These loans are visible in state-level aggregates for CT but do not roll up into any county-level CT aggregate. Fix targeted for the next data refresh. Avoid using Connecticut counties as recipe targets or in production dashboards until the fix lands.
  • Loan-level records are not exposed. The endpoints return aggregates, not individual loans. This is intentional — borrower-level PII is not redistributable. If you need loan-level data for licensed research, contact hello@thesma.dev.
  • 7(a) only in 1.0.0. SBA 504 (real-estate fixed-asset loans) and Microloan Program data are on the post-1.0.0 roadmap but not in the 1.0.0 release.
MethodPathPurpose
GET/v1/us/sba/counties/{fips}/lendingCounty-level lending aggregates — volume, avg loan size, charge-off rate, jobs supported.
MethodPathPurpose
GET/v1/us/sba/states/{fips}/lendingState-level lending aggregates.
MethodPathPurpose
GET/v1/us/sba/industries/{naics}/lendingNAICS-industry aggregates (national).
MethodPathPurpose
GET/v1/us/sba/lendersList lenders, ranked by recent volume.
GET/v1/us/sba/lenders/{lender_id}Lender detail — portfolio volume, geographic concentration, charge-off rate.
MethodPathPurpose
GET/v1/us/sba/lending/characteristicsLoan-characteristic aggregates — size buckets, term buckets, guarantee-percentage buckets.
GET/v1/us/sba/lending/outcomesOutcome aggregates — charge-off rates and amounts across dimensions.
MethodPathPurpose
GET/v1/us/sba/metricsAll SBA metrics with their dimensions.
GET/v1/us/sba/metrics/{metric}Metric detail.

The ?include=lending_context parameter on any SEC company or financials endpoint adds a lending_context object with SBA aggregates for the company’s headquarters county and its NAICS industry:

{
"lending_context": {
"local_market": {
"county_fips": "06085",
"quarterly_loan_count": 313,
"quarterly_total_amount": 142582800,
"avg_loan_size": 455536,
"quarterly_yoy_change_pct": -17.9,
"charge_off_rate_trailing_4q": 3.8,
"top_industry_naics": "722511",
"top_industry_name": "Full-service restaurants",
"data_period": "2025-Q4",
"source": "SBA"
},
"industry_lending": {
"naics_code": "334111",
"naics_description": "Electronic computer manufacturing",
"naics_match_level": "6-digit",
"national_quarterly_loan_count": 6,
"national_quarterly_total_amount": 2387600,
"national_avg_loan_size": 397933,
"national_yoy_change_pct": -78.3,
"national_charge_off_rate_trailing_4q": 11.8,
"data_period": "2025-Q4",
"source": "SBA"
}
}
}

The enrichment is geographic AND industry — local_market describes the company’s HQ county; industry_lending describes the company’s NAICS regardless of geography. Unlike labor_context which has 6 enrichment dimensions (industry / local_market / turnover / compensation / summary / data_freshness), lending_context has 2 (local_market / industry_lending). SBA is a single-source dataset; the labor surface composes 5 BLS surveys.

The /v1/us/sec/screener endpoint supports SBA-side filters for finding companies based on their county’s or industry’s lending conditions:

  • county_charge_off_rate_max
  • county_loan_count_min
  • industry_charge_off_rate_max
  • industry_loan_count_min

Example: Los Angeles County lending (FIPS 06037)

Section titled “Example: Los Angeles County lending (FIPS 06037)”
Terminal window
curl -H "X-API-Key: $THESMA_API_KEY" \
"https://api.thesma.dev/v1/us/sba/counties/06037/lending" \
| jq '.data | {period, loan_count, total_amount, avg_loan_size, charge_off_rate, jobs_supported}'

See the SBA county-lending recipe for the full walk-through with the Python SDK.