KnowFirm Discover lets you build targeted firm lists from 12 public-record data sources. Preview a filtered segment (free), then export the full dataset when you find what you need. This guide covers each source, filtering, and export.

How Discover works

Discover has two endpoints:

  1. Preview (GET /v1/segments/preview) — returns a count and the first 25 rows. Free, not billed per row. Use this to explore what's available and refine your filters.
  2. Export (POST /v1/segments/export) — returns up to 10,000 rows. Billed at 1 credit per returned row. Requires the Starter plan.

Available sources

Source key What it covers Key fields
dol_form5500 Benefits-plan sponsors Participants, NAICS, phone
dol_form5500_sf Small-plan sponsors Participants, NAICS, phone
fdic_institutions FDIC-insured banks Assets, state
ncua_credit_unions Credit unions (NCUA) Assets, state, phone
fmcsa_carriers Motor carriers (FMCSA) Power units, phone, email
irs_eo_bmf Nonprofits (IRS) Annual revenue, NTEE category
usaspending_recipients Federal contractors UEI, DUNS, federal award amount
nppes Healthcare providers NPI, taxonomy, phone
cms_hospitals Hospitals CCN, star rating
cms_nursing_homes Nursing homes CCN, beds, star rating, abuse flag
cms_home_health Home health agencies CCN, quality star
cms_dialysis Dialysis facilities CCN, dialysis stations

Filter parameters

Examples

Find large Texas banks

# Preview: how many FDIC banks in Texas have $1B+ in assets?
curl -H "X-API-Key: $KNOWFIRM_KEY" \
  "https://api.knowfirm.com/v1/segments/preview?source=fdic_institutions&state=TX&minSize=1000000"

# Export the full list (billed per row)
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

Find education nonprofits in New York

# NTEE category B = education
curl -H "X-API-Key: $KNOWFIRM_KEY" \
  "https://api.knowfirm.com/v1/segments/preview?source=irs_eo_bmf&state=NY&industryPrefix=B&minSize=1000000"

Find federal contractors with large awards

# USAspending recipients with $5M+ in federal awards
curl -H "X-API-Key: $KNOWFIRM_KEY" \
  "https://api.knowfirm.com/v1/segments/preview?source=usaspending_recipients&minSize=5000000"

Find recent Form 5500 filers in California

# Benefits-plan sponsors that filed in the last 90 days, 100+ participants
curl -H "X-API-Key: $KNOWFIRM_KEY" \
  "https://api.knowfirm.com/v1/segments/preview?source=dol_form5500&state=CA&minSize=100&filedSinceDays=90"

Healthcare providers in Texas

# NPPES providers (state is required for this source)
curl -H "X-API-Key: $KNOWFIRM_KEY" \
  "https://api.knowfirm.com/v1/segments/preview?source=nppes&state=TX"

TypeScript SDK

import { KnowFirm } from "./knowfirm";

const kf = new KnowFirm({ apiKey: process.env.KNOWFIRM_KEY! });

// Preview a segment
const preview = await kf.segmentPreview({
  source: "fdic_institutions",
  state: "TX",
  minSize: 1_000_000,
});
console.log(`Found ${preview.count} banks, showing ${preview.rows?.length}`);

// Export when ready (billed per row)
const data = await kf.segmentExport({
  source: "fdic_institutions",
  state: "TX",
  minSize: 1_000_000,
  limit: 500,
});
console.log(`Exported ${data.rows?.length} rows`);

Tips

FAQ

Is the preview free? Yes. GET /v1/segments/preview returns a count and the first 25 rows at no credit cost.

How much does export cost? 1 credit per returned row. A 500-row export costs 500 credits.

Can I export more than 10,000 rows? The limit parameter caps at 10,000 per request. For larger datasets, split across multiple requests using different state or size filters.

Which sources require a state filter? nppes (healthcare providers) and irs_eo_bmf (nonprofits) require a state. usaspending_recipients requires either a state or a minSize.

What plan do I need for export? Preview works on the Free plan. Export requires Starter or above.