Hillwinds API
API Reference

Companies

Query, look up, and export data across 1M+ companies.

Before you query — a couple of quirks worth knowing

(1) broker= / carrier= / broker_office= match across all of a company's concurrent relationships — co-brokers ranked by compensation in all_brokers_detail, not just the primary. These are current relationships ranked by pay, not a historical timeline. To restrict to the top-paid broker, filter on primary_broker. broker= and carrier= are substring matches, but broker_office= takes an exact broker-office name or id (the same as broker_office_ids), so a partial name such as ACRISURE matches no companies. Resolve the office first with GET /v1/broker-offices/autocomplete.

(2) Numeric cf[col] filters accept range operators (gte:, gt:, lte:, lt:). Ratio columns — participant_growth, commission_growth, and broker_commission_growth_pct — accept a percent value: cf[participant_growth]=gte:20 means 20%, gte:1 means 1%, and gte:0.2 means 0.2%. An unknown column or a malformed operator returns a 400 rather than silently matching nothing.

Current-year defined-contribution fields

Full mode exposes configured advanced fields: has_401k_plan, dc_plan_filing_year, dc_plan_count, dc_recordkeeper, dc_active_participants, dc_participants_with_balance, dc_employer_contributions, dc_participant_contributions, dc_total_contributions, dc_net_assets, dc_net_assets_yoy_pct, dc_participant_contributions_per_active_participant, dc_employer_contributions_per_active_participant, dc_employer_to_participant_contribution_ratio, dc_net_assets_per_participant_with_balance, dc_admin_expense_ratio, dc_has_automatic_enrollment, dc_has_401m_arrangement, is_safe_harbor_401k, dc_has_limited_scope_audit, dc_plan_score, dc_plan_score_pct_expense_ratio, dc_plan_score_pct_return, dc_plan_score_pct_employee_contributions, dc_plan_score_pct_employer_contributions. Existing keys require the corresponding configured fields. Null means unknown; no plan has null details. assets_401k is recordkeeper assets, whereas dc_net_assets spans defined-contribution plans. PEPM is stored; commission rate is commission divided by positive premiums. None is a percentage of pay.

List Companies

GET/v1/companies0.10 / 1.00 per row

Returns a paginated list of companies matching your filters.

Pagination & format

Common to all endpoints — see Pagination and Response Modes.

ParameterTypeDescription
pageintegerPage number (0-indexed)
sinceRFC 3339 timestampOptional. Return rows updated strictly after this timezone-qualified timestamp. Null update times are excluded. Combines with other filters; see Filtering & Search for sync limits.
page_sizeintegerResults per page (max 500). Over-max → 400.
sort_bystringColumn to sort by (allowlisted per entity)
sort_dirasc | descSort direction
modebasic | fullField verbosity. Advanced-only fields require advanced access.
fieldsstringComma-separated field list (id always included)
formatjson | flatResponse format
count_onlybooleanCount only, no data (0 credits)
include_countbooleanInclude total_count in meta (default true; false skips per-page COUNT)
dry_runbooleanValidate query and return estimated rows + credits (0 credits)

Basic response fields

FieldTypeDescription
lead_sourceobjectAttribution stamp: { source: "hillwinds", retrieved_at: ISO-8601 UTC }. retrieved_at is when this row was assembled for the response, not the same as last_updated_at, which is when the row was last refreshed upstream.

Filters

ParameterTypeDescription
searchstringFuzzy name search; at least 3 characters (shorter returns 400)
statesstringState codes: CA,NY,TX
dmasstringDMA names: LOS ANGELES,NEW YORK
geo_modestate | dmaGeographic filter mode
employee_bandsstringSmall Employers, SMB Accounts, Mid-market Accounts, Large Mid-Market Accounts, Enterprise Accounts, Large Enterprise Accounts, Jumbo Accounts
premium_tiersstringNo Premiums, Sub 100K, 101-500K, 501-999K, 1-5M, 6-25M, 26M+
industriesstringIndustry names
naics_codesstringNAICS codes or prefixes of 2 to 6 digits, for example 31,32,33 for manufacturing
funding_statusstringSelf-Funded, Level-Funded or Fully Insured. Level-Funded comes from carrier rate files, not the Form 5500, and is not part of the self_funded signal
renewal_monthstringMonth name
asset_tiers_401kstringNo 401K; Micro (<$1M); Small ($1M–<$3M); Mid-Market ($3M–<$20M); Large ($20M–<$100M); Supersize (≥$100M)
brokerstringBroker name (substring)
broker_officestringBroker office name, or a single office id
broker_idsstringComma-separated broker (firm) IDs. Companies with any current relationship with these brokers, like broker=. Old and new IDs give identical results; an unknown ID returns 400 unknown_id.
primary_broker_idsstringComma-separated broker (firm) IDs. Companies whose primary broker office belongs to these brokers; a subset of broker_ids. Old and new IDs give identical results; an unknown ID returns 400 unknown_id.
broker_office_idsstringComma-separated broker office IDs. Companies with any current relationship through these offices; the same scope as broker_office=<id>. Use for the office → its clients join. Old and new IDs give identical results; an unknown ID returns 400 unknown_id.
primary_broker_office_idsstringComma-separated broker office IDs. Companies whose primary office is one of these; a subset of broker_office_ids. Old and new IDs give identical results; an unknown ID returns 400 unknown_id.
primary_broker_officestringAn office ID matches companies whose primary office is that office (same as primary_broker_office_ids). Any other value is an office-name substring on the primary_broker_office field (e.g. MERCER - HOUSTON, TX), not comma-split — repeat the param for multiple names.
carrierstringCarrier name
domainstringExact domain match
signalsstringSignal names
signal_matchany | allMatch semantics when multiple signals= are passed. all requires every requested signal and is reported in meta.applied_filters.
tagsstringTag names (AND logic)
crm_statusstringCRM status
filing_yearstringYear or latest
short_formbooleanShort-form filings
cf[column]stringColumn filter
eb[column]booleanExclude blanks; only true is supported (false returns 400)

Example

curl -H "Authorization: Bearer ss_live_..." \
  "https://api.hillwinds.ai/v1/companies?states=CA&employee_bands=Mid-market+Accounts&page_size=2"
{
  "ok": true,
  "data": [
    {
      "id": "84629153",
      "company_name": "PACIFIC HEALTH SYSTEMS INC",
      "company_state": "CA",
      "company_city": "SAN FRANCISCO",
      "company_zip": "94105",
      "company_address": "101 CALIFORNIA ST STE 3200",
      "company_dma": "SAN FRANCISCO",
      "company_industry": "Hospitals",
      "employee_band": "Mid-market Accounts",
      "total_number_of_employees": 780,
      "website": "pacifichealthsystems.com",
      "crm_status": ["hubspot"],
      "lead_source": {
        "source": "hillwinds",
        "retrieved_at": "2026-06-24T14:16:00Z"
      }
    }
  ],
  "meta": {
    "total_count": 347,
    "page": 0,
    "page_size": 1,
    "returned": 1,
    "has_more": true,
    "response_tier": "basic",
    "key_tier": "advanced",
    "credits_charged": 0.10
  }
}
Reading the response

meta tier fields: response_tier describes this response (basic vs advanced fields, driven by mode/fields/signals), while key_tier is your API key's entitlement. A basic response on an advanced key shows response_tier: "basic", key_tier: "advanced" — request mode=full to get the advanced fields you're entitled to.

broker_office_id (advanced) is the office foreign key — pass it back as broker_office=<id> to pull every company linked to that office. broker_commission_growth_pct and other ratio columns are decimal-stored (0.082 = 8.2%). lead_source is a provenance object on every row with source and retrieved_at.

Get Company

GET/v1/companies/:id0.10 / 1.00 per row

Returns a single company by EIN; dashes and leading zeros are optional (010021090, 01-0021090 and 10021090 are the same company). For yearly welfare data, see company history. Query parameters mode (basic or full),fields (comma-separated), and format (json or flat) control the response. Basic mode is the default. Use mode=full with advanced company access to include signals, or fields=signals with full mode for a narrow signal response.

bash
curl -H "Authorization: Bearer ss_live_..." \
  "https://api.hillwinds.ai/v1/companies/84629153"

Lookup Company

GET/v1/companies/lookup0.10 / 1.00 per match

Exact lookup of one company for CRM enrichment, by domain, stored name or EIN. A match returns the company record; a domain or name that can't be resolved to one company returns the reason, with suggestions when there are candidate companies. Every refusal is free.

ParameterTypeDescription
domainstringWebsite domain. Protocol, www., paths and subdomains are removed, so stock.walmart.com and walmart.com are the same input.
namestringExact stored company name (case-insensitive)
einstringEIN. Dashes and spaces are ignored and leading zeros are optional (87-1233492, 871233492 and 020657423 / 20657423 are equivalent); 1-9 digits, otherwise 400
filing_yearstringYear or latest. Applies to every lookup path; a company with no filing for that year returns 404 and is free.
modebasic | fullField verbosity, same semantics as the list endpoint
fieldsstringComma-separated field allowlist (id always included)
formatjson | flatResponse format
dry_runbooleanReturn estimated_rows and estimated_credits without the record or a charge

Provide exactly one of domain / name / ein. mode, fields, and format are optional and behave the same as on the list endpoint — useful for one-shot CRM enrichment when you want advanced fields in a single call. Company lookup does not return signals; resolve the ID, then use company detail with mode=full when signals are needed.

bash
curl -H "Authorization: Bearer ss_live_..." \
  "https://api.hillwinds.ai/v1/companies/lookup?domain=stripe.com"

How a domain is matched

Several companies can store the same website. A domain lookup returns the largest company whose name matches the domain. meta.match_method is unique_name_and_domain when one company matches, or largest_of_brand when the largest of several is returned; then meta.other_entities lists the other matches (id, name, employees) by size. A tie for largest, or a missing employee count among several matches, returns ambiguous_domain. A larger company sharing the domain, or a sole company whose name does not match it, returns unverified_domain_owner. Both list up to ten suggestions ranked by employees. Stored websites are never changed.

Outcomes

HTTPOutcomeIssueIncludes
200One clear owner—Record, meta.match_method, meta.other_entities, meta.candidates
400Domain owner unclearambiguous_domain or unverified_domain_ownerUp to 10 suggestions (id, name, website, employees, city, state, name_match), largest first; candidates count; truncated flag; autocomplete link
404No company has the domainnot_foundfallback link to name autocomplete. The company may exist without a stored website.
400Not a domaininvalid_domain—
400Name matches several companiesmultiple_matchessuggestions; autocomplete link
404No exact name matchnot_foundsuggestions; autocomplete link
400Missing or extra lookup parameterinvalid_lookup_shapeExpected: domain, name, ein

Refusals arrive as error.details[0] of a standard error response and charge zero credits. Only a returned record is billed.

json
{
  "ok": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Domain ownership is ambiguous. Select a candidate by EIN or use company-name autocomplete.",
    "details": [
      {
        "field": "domain",
        "issue": "ambiguous_domain",
        "received": "acme.com",
        "candidates": 2,
        "truncated": false,
        "suggestions": [
          { "id": "111111111", "name": "ACME HOLDINGS INC", "website": "acme.com", "employees": 5200, "city": "DENVER", "state": "CO", "name_match": "prefix" },
          { "id": "222222222", "name": "ACME RETAIL LLC", "website": "acme.com", "employees": 5200, "city": "BOISE", "state": "ID", "name_match": "prefix" }
        ],
        "autocomplete": "/v1/companies/autocomplete?column=company_name&query=acme"
      }
    ]
  }
}

Batch Lookup

POST/v1/companies/batch0.10 / 1.00 per matched row

Look up to 100 companies in one request — the right shape for CRM enrichment and Clay workflows. Each domain is matched with the same rule as lookup, and gets the same answer a single lookup would give. The difference is that batch always answers 200, so one unclear domain doesn't fail the other 99: each input's answer is an entry in data.results.

ParameterWhereTypeNotes
domainsJSON bodyarray of strings, max 100Send domains or eins, not both. Matched on the registrable domain, so stock.walmart.com and walmart.com are the same input.
einsJSON bodyarray of strings, max 100Same rules as the lookup ein parameter. One invalid EIN fails the whole request with 400.
modequery or bodybasic (default) or fullQuery wins over body.
fieldsquery or bodycomma-separatedid is always included.
formatquery or bodyjson or flatQuery wins over body.
dry_runquery or bodybooleanFree estimate (estimated_rows, estimated_credits); no records, no charge.

Sending both domains and eins, or neither, returns 400 with issue invalid_batch_shape. Any other body field returns 400 VALIDATION_ERROR with issue unknown_field and the accepted list (domains, eins, mode, fields, format, dry_run). Batch does not take company names: use lookup by name or autocomplete.

bash
curl -X POST -H "Authorization: Bearer ss_live_..." \
  -H "Content-Type: application/json" \
  -d '{"domains": ["stripe.com", "acme.com"]}' \
  "https://api.hillwinds.ai/v1/companies/batch"

One matched domain and one refused domain:

json
{
  "ok": true,
  "data": {
    "results": [
      {
        "input": "stripe.com",
        "status": "matched",
        "id": "123456789",
        "name": "STRIPE INC",
        "match_method": "unique_name_and_domain",
        "other_entities": [],
        "candidates": 1,
        "suggestions": [],
        "autocomplete": null,
        "message": null
      },
      {
        "input": "acme.com",
        "status": "ambiguous_domain",
        "id": null,
        "name": null,
        "match_method": null,
        "other_entities": [],
        "candidates": 2,
        "suggestions": [
          { "id": "111111111", "name": "ACME HOLDINGS INC", "website": "acme.com", "employees": 5200, "city": "DENVER", "state": "CO", "name_match": "prefix" },
          { "id": "222222222", "name": "ACME RETAIL LLC", "website": "acme.com", "employees": 5200, "city": "BOISE", "state": "ID", "name_match": "prefix" }
        ],
        "autocomplete": "/v1/companies/autocomplete?column=company_name&query=acme",
        "message": "Domain ownership is ambiguous. Select a candidate by EIN or use company-name autocomplete."
      }
    ],
    "matched": [
      { "id": "123456789", "company_name": "STRIPE INC", "...": "..." }
    ],
    "unmatched": ["acme.com"],
    "not_found": ["acme.com"]
  },
  "meta": {
    "total_matched": 1,
    "total_not_found": 1,
    "credits_charged": 0.10
  }
}

results[].status

StatusMeaningAlso returnedCharged
matchedOne clear ownerid, name, match_method, other_entitiesYes
ambiguous_domainSeveral companies of the brand and no clear largest, or too many candidatesUp to 10 suggestions, largest first; autocomplete linkNo
unverified_domain_ownerA larger company also holds the domain, or the only company's name doesn't match itsuggestions; autocomplete linkNo
not_foundNo company has this domain (it may exist without a stored website), or no company has this EINautocomplete link for domainsNo
invalid_domainThe input isn't a domain—No
  • results follows input order, one entry per input. A repeated input gets its own entry with the same answer and is charged once.
  • matched holds the full records of matched companies, in input order; unmatched lists each input that didn't match, exactly as you sent it. not_found is a compatibility alias of unmatched. These keep their earlier meaning.
  • Substring or fuzzy website matches are never returned or billed. Only matched rows are charged; suggestions are free.
  • For an EIN batch, each entry is matched (with match_method ein) or not_found.
Lookup vs batch
LookupBatch
MethodGETPOST
InputOne domain, name or ein in the query stringA domains or eins array in the JSON body
Company namesYesNo; use lookup ?name= or autocomplete
Limit1100
A domain it can't resolveThe response is a 400 or 404 with the reason and suggestionsThe response is 200; that domain's entry in results carries the same reason and suggestions
Matching ruleSameSame

Full mode returns the same signal names as company detail for the same company and access tier. Signal-only enrichment can use fields=signals, which charges each signal bundle once per row; a repeat within 30 days is free, whether the bundle was paid through fields=signals or a signals= filter. Basic mode omits signals unless explicitly requested with advanced company access. Example: POST /v1/companies/batch?mode=full&format=flat.

Export Companies

GET/v1/companies/export.csvPer-row

Returns a CSV file. Accepts all the same filters as List Companies. Max 2,000 rows per export.

Without page_size, the file holds every matching row up to 2,000 (100 for test keys) and needs at least one filter. A larger match returns 400 EXPORT_TOO_LARGE and charges nothing, so a file is never silently short; pass page_size (up to 2,000) and page to export it in parts. Every response carries X-Total-Count (matching rows) and X-Rows-Returned (rows in this file). fields= sets the columns exactly; without it the default columns plus lead_source are written. A header row is written even when nothing matches.

bash
curl -H "Authorization: Bearer ss_live_..." \
  -o companies.csv \
  "https://api.hillwinds.ai/v1/companies/export.csv?states=CA&industries=Hospitals"

Autocomplete

GET/v1/companies/autocomplete0 credits

Typeahead suggestions. Full cross-resource reference + per-resource matrix on the Autocomplete reference. Companies-specific notes:

  • column= allowlist: company_name (default), website. Other values return 400.
  • query requires ≥ 2 characters; missing or 1-char → 400. Alias: search (preferred on companies — the query= form sometimes times out under load).
  • id is the company EIN when column=company_name (the default). For an exact name, domain or EIN match, use GET /v1/companies/lookup?domain=|name=|ein=.
  • fields= is accepted but the response shape is fixed to {id, label, resource, value} — useful only if you want to confirm the param is recognized; it doesn't add extra columns.
  • Always set limit= — omitting it can produce slow responses.
bash
curl -H "Authorization: Bearer ss_live_..." \
  "https://api.hillwinds.ai/v1/companies/autocomplete?search=pac&limit=5"
json
{
  "ok": true,
  "data": [
    {
      "id": "223919928",
      "label": "PAC LLC",
      "resource": "companies",
      "value": "PAC LLC"
    }
  ],
  "meta": { "credits_charged": 0, "returned": 1 }
}
Need a key?

Keys are issued by our team, not a signup form. Book a 25-minute walkthrough and you'll leave with sandbox and live credentials.