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
| Param | Required | Notes |
|---|---|---|
query | Yes (or search) | Search string. Minimum 2 characters — 1 char or missing returns 400 VALIDATION_ERROR. |
search | Yes (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. |
column | No | Which 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. |
limit | No | Cap 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:
{
"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 asearch=filter on the list endpoint. On personnel,labelis the person's name andvalueis their employer.id— the record ID (the EIN for companies) on the default column. Thewebsiteandtitlecolumns returnid: "".resource— echoes which resource the row came from.
Per-resource matrix
| Resource | column= allowlist | Default column | id populated? | Notes |
|---|---|---|---|---|
companies | company_name, website | company_name | Yes for company_name; website returns "" | Use ?search= rather than ?query=. |
personnel | full_name, title | full_name | Yes for full_name; title returns "" | value is the employer. first_name, last_name, email_address, company_name all return 400. |
broker-offices | office_name | office_name | Yes | Returns broker office IDs for direct office lookup and filters. |
brokers | broker_name | broker_name | Yes | For 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/lookupfor brokers (exact name match) and companies (exact domain/name/EIN). - "Does this name exist?" probes: autocomplete with
limit=1is the cheapest answer (0 credits).
Related
- 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.
Keys are issued by our team, not a signup form. Book a 25-minute walkthrough and you'll leave with sandbox and live credentials.