Hillwinds API
For AI Agents

Autocomplete — full reference

All four resources expose GET /v1/{resource}/autocomplete with the same request and response shape. The only per-resource variation is the narrow column= allowlist.

Request

ParamRequiredNotes
queryYes (or search)Search string. Minimum 2 characters — 1 char or missing returns 400 VALIDATION_ERROR.
searchYes (or query)Alias of query. Both names accepted by validation; matching behavior is the same except on companies where search= is the more reliable choice.
columnNoWhich column to autocomplete against. Must be on the per-resource allowlist (table below) — otherwise 400 VALIDATION_ERROR. Each resource has a sensible default; you only need this to target a non-default column.
limitNoCap on results. Default 10, maximum 100; larger values return 100 rows.

Autocomplete is free and requires the resource's read scope: read:companies, read:personnel, read:broker-offices or read:brokers. A key without it receives 403.

Response

Identical shape across all four resources:

json
{
  "ok": true,
  "data": [
    {
      "id": "a804f56c-329f-4c1b-9e8e-839a5c98d4a3",
      "label": "Lockton Affinity, LLC - Lockton Affinity, LLC",
      "resource": "broker-offices",
      "value": "Lockton Affinity, LLC"
    }
  ],
  "meta": { "credits_charged": 0, "returned": 1 }
}
  • label — the display string, often a fully-qualified form (e.g. broker name + office location).
  • value — the matched column value, suitable for echoing back into a search= filter on the list endpoint. On personnel, label is the person's name and value is their employer.
  • id — the record ID (the EIN for companies) on the default column. The website and title columns return id: "".
  • resource — echoes which resource the row came from.

Per-resource matrix

Resourcecolumn= allowlistDefault columnid populated?Notes
companiescompany_name, websitecompany_nameYes for company_name; website returns ""Use ?search= rather than ?query=.
personnelfull_name, titlefull_nameYes for full_name; title returns ""value is the employer. first_name, last_name, email_address, company_name all return 400.
broker-officesoffice_nameoffice_nameYesReturns broker office IDs for direct office lookup and filters.
brokersbroker_namebroker_nameYesFor exact enrichment, prefer GET /v1/brokers/lookup?name=... (returns 404 on miss, 400 with suggestions on ambiguous).

When to use autocomplete vs alternatives

  • UI typeahead: always use autocomplete. The free cost + label/value shape is designed for this.
  • Name → ID resolution: autocomplete on the default column returns the ID for free. Use it before any billed ?search= list call.
  • Full record enrichment: resolve the ID, then call the detail endpoint (GET /v1/{resource}/{id}), or use /lookup for brokers (exact name match) and companies (exact domain/name/EIN).
  • "Does this name exist?" probes: autocomplete with limit=1 is the cheapest answer (0 credits).
  • AI Agent Guide — pitfalls, the five universal query params, discovery flow.
  • Recipe library — copy-paste flows that use autocomplete and its alternatives.
  • Endpoint index — every operation the live API exposes today.

Company lookup does not return signals. For signal-dependent single-record enrichment, resolve the company ID, then call GET /v1/companies/{id}?mode=full with advanced company access. An empty lookup signals array does not establish that a company has no signals.

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.