Clean REST APIs for
US Financial, Economic & Labor Data
Government data from SEC EDGAR, the Census Bureau, the Bureau of Labor Statistics, and the Small Business Administration is messy. Thesma parses it into structured JSON so you can build with it instead of fighting it.
Request
curl https://api.thesma.dev/v1/us/sec/companies/0000320193/financials?statement=income&period=annual&year=2024 \
-H "X-API-Key: your_api_key" Response
{
"data": {
"company": {
"cik": "0000320193",
"ticker": "AAPL",
"name": "Apple Inc."
},
"statement": "income",
"period": "annual",
"fiscal_year": 2024,
"fiscal_year_end": "2024-09-28",
"filing_accession": "0000320193-24-000123",
"currency": "USD",
"line_items": {
"revenue": 391035000000,
"cost_of_revenue": 210352000000,
"gross_profit": 180683000000,
"operating_income": 123216000000,
"net_income": 93736000000,
"eps_diluted": 6.08,
"shares_diluted": 15408095000
},
"metadata": {
"source": "ixbrl",
"data_completeness": 7,
"expected_fields": 16
}
}
} SEC EDGAR
Structured Financials
10-K and 10-Q income statements, balance sheets, and cash flow. 68 canonical fields normalised across all companies.
Insider Trades & Events
Form 4 transactions and 8-K material events. Parsed, categorised, and searchable.
Institutional Holdings
13F filings with quarter-over-quarter position changes. Track what the big funds are buying.
Executive Compensation
DEF 14A proxy data: CEO pay, board members, committee details. Structured from unstructured filings.
US Census Bureau
Demographic & Economic Data
26 curated metrics across income, population, housing, education, employment, race & ethnicity, and health insurance. Human-readable names, margin of error on every value.
Geographic Coverage
6 levels from nation down to census tract. Time series, cross-place comparison, metro area breakdowns.
Bureau of Labor Statistics
Employment & Wages
Monthly payroll employment and average earnings by industry. National, state, and metro coverage. 14 supersectors down to 6-digit NAICS detail.
County Labor Markets
Quarterly county-level employment and wages from QCEW. 3,100+ counties. Suppression-aware fallback to coarser NAICS levels when county data is confidential.
Occupation Wages
Hourly and annual wages by occupation, industry, and geography from OEWS. 800+ occupations. Percentile distributions (10th, 25th, median, 75th, 90th).
Labor Market Tightness
Job openings, hires, quits, and layoff rates from JOLTS. Industry and state breakdowns. Turnover signals for macro analysis and company-level enrichment.
Small Business Administration
Loan-Level 7(a) Disclosures
Every SBA 7(a) small-business loan approved since 1991 β ~$31B across ~70,000 loans in FY2024 alone. Indexed by county, industry (NAICS), and lender.
County Lending Aggregates
Per-county quarterly aggregates: loan count, YoY growth, total and guaranteed amount, average loan size, jobs supported, and charge-off rate. FIPS-keyed cross-joins to SEC companies, Census demographics, and BLS labor markets.
Industry + Lender Views
NAICS-indexed industry lending trends and ranked lender performance. Top lenders by loan volume, charge-off rates, and market share β useful for small-business-credit diligence and lender-concentration risk.
Cross-Dataset Enrichment
Add ?include=lending_context to any SEC company endpoint for the company HQ county's SBA 7(a) lending activity. Small-business credit conditions alongside financials, labor, and demographics in one call.
Cross-dataset intelligence, one API key
Thesma links SEC companies to BLS industry employment, county wages, and compensation benchmarks automatically. Add ?include=labor_context to any company endpoint and get hiring trends, wage growth, and occupational pay data alongside financials. The screener surfaces these signals as filters β hiring trend, wage growth, and comp-to-market ratio β so you can screen for companies in fast-growing or tightening labor markets without writing a single join.
How it works
Sign up
Create a free account. No credit card required.
Get your API key
Generate a key in the developer portal.
Start building
Make your first API call in under a minute.
Start free. Scale when you're ready.
250 requests per day. No credit card required.
SEC EDGAR
1.4M+
SEC filings parsed
~6,000
US public companies on NYSE and NASDAQ
8
Filing types
US Census Bureau
85,000+
Places covered
26
Curated metrics
6
Geographic levels
Bureau of Labor Statistics
4
BLS datasets
3,100+
Counties covered
800+
Occupations tracked
Small Business Administration
~70,000
Loans per year
~$31B
Approved annually
Since 1991
Historical coverage
Powered by SEC EDGAR, US Census Bureau, Bureau of Labor Statistics & Small Business Administration β data sourced directly from official government systems.