API quickstart

Verify, enrich, and sanctions-screen any U.S. business in one call — or build targeted firm segments with Discover. Base URL https://api.knowfirm.com · auth header X-API-Key.

Sign in → create an API key Download the OpenAPI spec

Resolve a business (by name / EIN / CIK / LEI / FDIC cert / ticker)

curl -H "X-API-Key: $KNOWFIRM_KEY" \
  "https://api.knowfirm.com/v1/business?name=bank%20of%20america"
# round-trip an identifier from a Discover export — e.g. an FDIC bank by cert, or a public co by ticker:
curl -H "X-API-Key: $KNOWFIRM_KEY" "https://api.knowfirm.com/v1/business?cert=628"
curl -H "X-API-Key: $KNOWFIRM_KEY" "https://api.knowfirm.com/v1/business?ticker=AAPL"

Search businesses by name

curl -H "X-API-Key: $KNOWFIRM_KEY" \
  "https://api.knowfirm.com/v1/business/search?q=acme&limit=10"

Sanctions / denied-party screening

curl -X POST -H "X-API-Key: $KNOWFIRM_KEY" -H "Content-Type: application/json" \
  -d '{"name":"Example Trading Co"}' https://api.knowfirm.com/v1/screening

Batch enrich (billed per record)

curl -X POST -H "X-API-Key: $KNOWFIRM_KEY" -H "Content-Type: application/json" \
  -d '{"items":[{"cik":"320193"},{"name":"bank of america"}]}' https://api.knowfirm.com/v1/enrich

Discover a segment — count + free 25-row sample

# e.g. California benefits-plan sponsors with 100+ participants
curl -H "X-API-Key: $KNOWFIRM_KEY" \
  "https://api.knowfirm.com/v1/segments/preview?source=dol_form5500&state=CA&minSize=100"

Discover nonprofits — revenue + NTEE category (state filter required)

# e.g. New York education nonprofits (NTEE B) with $1M+ annual revenue
curl -H "X-API-Key: $KNOWFIRM_KEY" \
  "https://api.knowfirm.com/v1/segments/preview?source=irs_eo_bmf&state=NY&industryPrefix=B&minSize=1000000"

Export a segment as data (billed per returned row)

# e.g. Texas banks with $1B+ in assets — up to 'limit' rows
curl -X POST -H "X-API-Key: $KNOWFIRM_KEY" -H "Content-Type: application/json" \
  -d '{"source":"fdic_institutions","state":"TX","minSize":1000000,"limit":500}' \
  https://api.knowfirm.com/v1/segments/export

Monitor a company at scale — create / list / delete watches

# Watch by name (or subject_key): screening-list changes or new Form 5500 filings.
# Re-checked nightly; alerts go to email + your webhook. 1 credit/month per active watch.
curl -X POST -H "X-API-Key: $KNOWFIRM_KEY" -H "Content-Type: application/json" \
  -d '{"name":"acme corp","kind":"screening"}' https://api.knowfirm.com/v1/watch
curl -H "X-API-Key: $KNOWFIRM_KEY" https://api.knowfirm.com/v1/watch          # list
curl -X DELETE -H "X-API-Key: $KNOWFIRM_KEY" "https://api.knowfirm.com/v1/watch?id=<watch_id>"

Discover sources

Segment endpoints filter one public source by state, minSize, industryPrefix (NAICS on DOL sources, NTEE on nonprofits), and filedSinceDays (DOL sources). Preview is one call; export is billed per returned row and requires the Starter plan.

Responses & errors

SDK starters: knowfirm.ts (TypeScript) and knowfirm.py (Python) — single-file, dependency-free clients you can drop into a project (npm/PyPI packages coming). Or try it in the browser. KYB/firmographic data only — not a consumer report (FCRA); not for credit, employment, insurance, or housing decisions. See the Terms.