Hillwinds API
API Reference

Company history

Yearly totals, plan-by-plan filings, contracts, brokers and the change timeline for one company.

Get company history

GET/v1/companies/:ein/history5 credits by default (kind=401k: 0); repeat free for 30 days

Use a production bearer key or delegation with read:companies. A basic-tier key is sufficient. EINs may contain a dash or leading zeros. Sandbox keys are not supported.

bash
curl -H "Authorization: Bearer ss_live_..." "https://api.hillwinds.ai/v1/companies/123456789/history?kind=all&include=plans,contracts,brokers,events"
ParameterDescription
kindbenefits (default), 401k or all.
years1–10; default 10. Most recent filing years for the years section; also sets the default since_year.
includeComma-separated years, plans, events, contracts, brokers, carriers (alias medical_carriers), providers. Default years,brokers,carriers. contracts implies plans; providers needs kind=401k or all.
since_yearFirst filing or event year for plans, contracts and events; default current year minus years; at most 10 years back.
event_typeinclude=events only. Comma-separated event types; an unknown value returns 400.
event_domaininclude=events only. benefits or 401k; defaults from kind.
events_limitinclude=events only. 1–500; default 200.
events_cursorinclude=events only. The meta.events_next_cursor value from the previous page.
dry_runtrue returns a free price estimate without data.

Results use the standard ok, data, and meta envelope. Data contains company identity, coverage and the requested sections. The years section holds ascending yearly summaries with the requested broker and medical-carrier arrays; with kind=401k it is the defined-contribution rollup, and kind=all adds that rollup as years_401k. A selection made only of brokers or carriers still returns years. Coverage includes the requested calendar window ending with the last completed UTC year, returned filing years, and source update time. Returned years are the most recent available and can fall outside the window when filings are sparse. Unknown or repeated parameters return 400. A company without history returns an empty 200 at zero credits; an unknown EIN returns 404 at zero credits.

kind=benefits and kind=all cost the configured basic price, 5 credits by default, for the first populated lookup; kind=401k defaults to 0. A repeat for the same organization and normalized EIN is free within the configured window, 30 days by default. Previews account for existing entitlements but may change before the actual charge. meta reports the charge, billable and cached rows, and available balance details.

Set X-Hillwinds-Max-Credits to a nonnegative maximum to bound the actual charge. If it would be exceeded, the API returns 409 without charging. A response larger than 2 MB returns 413 RESPONSE_TOO_LARGE without charging; narrow years, since_year or include.

Plans

plans[] has one entry per plan: number, name, type (welfare, dc, db, other), status (final when a final return was filed, inactive when the latest filing is more than two years old, else active), first and final plan year, plan-year start month, next return due date and ascending yearly filings from since_year. Each filing carries form, filed_date (the date EFAST2 received the kept filing, null when unknown), return flags, funding, welfare benefits, participants, net assets, transfers in and out with transfers_source, signers, premium_total, premium_medical as filed, premium_core_medical (excluding gap, accident and similar supplemental products), premium_ancillary, broker_pay_total, commission_rate, and 401(k) figures in retirement for the primary defined-contribution plan. Filing PDF links and carrier contract numbers are never returned. Premium fields are null for non-welfare plans. include=contracts nests each contract with carrier, benefit lines, covered persons, premium, policy dates and broker pay; include=brokers nests broker compensation per plan year with entity kind and matched office, so payroll firms and TPAs can be told apart from brokers.

Events

events[] is the change timeline: year-over-year differences between filings, newest first. Each event has event_year, an anchor event_date (date_basis: "plan_year_anchor"; treat the year as primary), domain, type, plan_number where derivable, subject_id (broker id on broker events), subject_name, broker_entity_kind, from and to values, change, amount, from_year and source, which is always "hillwinds", matching lead_source.source on entity rows. from_year is the earlier filing year the event compared against (usually the year before, but it skips years without data); it is null on single-year events (plan_started, plan_ended, plan_wound_up, assets_transferred_in, assets_transferred_out, late_deposits_reported). Page with events_limit and meta.events_next_cursor.

DomainEvent types
401kparticipants_change, plan_signer_changed, plan_started, late_deposits_reported, plan_wound_up, plan_ended, employer_contributions_stopped, employer_contributions_started, auto_enrollment_added, auto_enrollment_removed, assets_transferred_out, assets_transferred_in, safe_harbor_changed, auditor_changed, recordkeeper_changed
benefitsbroker_pay_change, carrier_added, carrier_removed, broker_added, broker_removed, plan_signer_changed, premium_change, plan_started, commission_rate_change, headcount_change, primary_broker_changed, plan_ended, medical_carrier_changed, medical_carrier_added, medical_carrier_removed, funding_arrangement_changed

Coverage adds since_year and, with those sections, plans_from, contracts_from, latest_filing_year and events_from. meta.cached is true when every requested section came from the history cache. Unknown values are null, never 0.

Example

json
{
  "ok": true,
  "data": {
    "company": {
      "id": "123456789",
      "ein": "12-3456789",
      "name": "EXAMPLE MANUFACTURING CO",
      "persistent_id": "5b1e0c7a-9d24-4f3e-8a6b-c2d94e7f1a05"
    },
    "coverage": {
      "years_requested": 10,
      "window": [
        2016,
        2025
      ],
      "years_returned": [
        2023,
        2024
      ],
      "data_as_of": "2026-10-23T00:00:00+00:00"
    },
    "years": [
      {
        "year": 2023,
        "summary": {
          "employees": 240,
          "participants": 240,
          "total_premiums": null,
          "medical_premiums": null,
          "funding": null
        },
        "brokers": [],
        "medical_carriers": []
      },
      {
        "year": 2024,
        "summary": {
          "employees": 438,
          "participants": 438,
          "total_premiums": 556644,
          "medical_premiums": 0,
          "broker_compensation": 86482,
          "commission_rate": 0.1554,
          "funding": "Self-Funded"
        },
        "brokers": [
          {
            "name": "ACRISURE",
            "entity_kind": "broker",
            "office_matched": {
              "name": "ACRISURE - LEESBURG, FL"
            },
            "total_compensation": 86482
          }
        ],
        "medical_carriers": []
      }
    ]
  },
  "meta": {
    "credits_charged": 5,
    "base_credits": 5,
    "signal_credits": 0,
    "billable_rows": 1,
    "cached_rows": 0
  }
}

This abbreviated example illustrates the shape; source timestamps and records change as filings are updated. See the API reference for the complete example and fields.

Field provenance

FieldProvenance and reason
company.idDerived — Company identity is resolved and EIN is normalized.
company.einDerived — Company identity is resolved and EIN is normalized.
company.nameDerived — Company identity is resolved and EIN is normalized.
company.persistent_idDerived — Company identity is resolved and EIN is normalized.
coverage.years_requestedDerived — Coverage and timestamp are calculated from selected data.
coverage.windowDerived — Coverage and timestamp are calculated from selected data.
coverage.years_returnedDerived — Coverage and timestamp are calculated from selected data.
coverage.data_as_ofDerived — Coverage and timestamp are calculated from selected data.
yearFiled — The filing year identifies each snapshot.
summary.employeesModel — Employees are modeled; funding is a Hillwinds label.
summary.fundingModel — Employees are modeled; funding is a Hillwinds label.
summary.participantsFiled — Reported filing values; nonpositive total premiums are unknown.
summary.total_premiumsFiled — Reported filing values; nonpositive total premiums are unknown.
summary.broker_compensationFiled — Reported filing values; nonpositive total premiums are unknown.
summary.medical_premiumsDerived — Computed or selected from filing-derived data.
summary.commission_rateDerived — Computed or selected from filing-derived data.
summary.per_capita_premiumDerived — Computed or selected from filing-derived data.
summary.pepmDerived — Computed or selected from filing-derived data.
summary.premium_changeDerived — Computed or selected from filing-derived data.
summary.commission_changeDerived — Computed or selected from filing-derived data.
summary.participant_changeDerived — Computed or selected from filing-derived data.
summary.primary_carrierDerived — Computed or selected from filing-derived data.
summary.primary_medical_carrierDerived — Computed or selected from filing-derived data.
summary.primary_brokerDerived — Computed or selected from filing-derived data.
brokers[].broker_idModel — Hillwinds identifies and classifies the broker.
brokers[].nameModel — Hillwinds identifies and classifies the broker.
brokers[].domainModel — Hillwinds identifies and classifies the broker.
brokers[].entity_kindModel — Hillwinds identifies and classifies the broker.
brokers[].office_matched.idModel — Hillwinds nearest-office match, not the filed Schedule A address.
brokers[].office_matched.nameModel — Hillwinds nearest-office match, not the filed Schedule A address.
brokers[].office_matched.cityModel — Hillwinds nearest-office match, not the filed Schedule A address.
brokers[].office_matched.stateModel — Hillwinds nearest-office match, not the filed Schedule A address.
brokers[].office_matched.dmaModel — Hillwinds nearest-office match, not the filed Schedule A address.
brokers[].commissionsDerived — Filing-derived broker aggregates.
brokers[].feesDerived — Filing-derived broker aggregates.
brokers[].total_compensationDerived — Filing-derived broker aggregates.
brokers[].premiums_placedDerived — Filing-derived broker aggregates.
brokers[].linesDerived — Filing-derived broker aggregates.
brokers[].compensation_changeDerived — Calculated from broker aggregates.
brokers[].rankDerived — Calculated from broker aggregates.
medical_carriers[].nameDerived — Filing-derived medical-carrier aggregates.
medical_carriers[].contractsDerived — Filing-derived medical-carrier aggregates.
medical_carriers[].premiumDerived — Filing-derived medical-carrier aggregates.
medical_carriers[].coveredDerived — Filing-derived medical-carrier aggregates.
medical_carriers[].policy_end_dateDerived — Filing-derived medical-carrier aggregates.
medical_carriers[].prev_year_premiumDerived — Calculated from filing-derived carrier aggregates.
medical_carriers[].premium_changeDerived — Calculated from filing-derived carrier aggregates.
medical_carriers[].rankDerived — Calculated from filing-derived carrier aggregates.

Unknown is not zero. Total premiums at or below zero are null; a real zero medical premium is retained when total premiums exist. Non-welfare brokers and rows without benefit lines are excluded. Money totals are whole dollars; ratios and changes are fractions. Per-line premiums, basis, events, outlook, renewal and tenure are not returned. Renewal is on the company record; broker presence in returned years is only an observed span.

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.