Lookalikes
Find ranked company, broker-office, and email-eligible personnel IDs that resemble one to five seed entities.
sandbox-v1 path and charges 0 credits.Find Lookalikes
/v1/lookalikes1 credit / returned resultCombines up to five seed profiles, retrieves candidates from the published V3 lookalike population, and returns the closest matches in rank order. Seed IDs are always excluded from the result set.
| Parameter | Type | Description |
|---|---|---|
entity_typerequired | company | broker_office | personnel | Selects the seed population, result population, and required read scope. Use broker_office—not broker—because broker matching is office-level. |
seed_idsrequired | string[] | One to five non-empty, unique IDs from the selected published V3 population. Company IDs are EINs; broker-office and personnel IDs are their normal resource IDs. |
limit | integer | Maximum results to return. Defaults to 25; minimum 1, maximum 50. |
weights | object | Optional entity-specific public category weights. Values must be finite non-negative numbers and at least one supplied value must be positive. The API normalizes them before ranking. |
weights_mode | override | adjust | Defaults to override. Override replaces adaptive ratios; adjust multiplies the adaptive vector. Both modes cap an internal dimension at 60% and redistribute residual mass. |
filters | object | Standard filters for the selected entity type. They constrain the searchable population before ranking; seeds remain exempt. |
dry_run | boolean | Validates seed eligibility without ranking or charging. Returns one {id, lookalike_eligible} row per seed. |
exclude_seed_company | boolean | Personnel only. Excludes candidates employed by a seed company before final ranking and billing. |
Entity types and scopes
| entity_type | Seed and result IDs | Required scope | Population |
|---|---|---|---|
company | Company EIN | read:companies | Published company V3 profiles |
broker_office | Broker-office ID | read:broker-offices | Published office-level broker V3 profiles |
personnel | Personnel ID | read:personnel | Privacy-safe V3.1 profiles built only from personnel with a non-null email address |
422 INVALID_SEED and charges 0 credits. Try another seed from the same entity type; do not retry the unchanged request.Example request
curl -X POST -H "Authorization: Bearer ss_live_..." \
-H "Content-Type: application/json" \
-d '{
"entity_type": "company",
"seed_ids": ["123456789", "987654321"],
"limit": 20,
"weights": {
"industry": 3,
"geo": 1,
"employee_count_bucket": 2
},
"weights_mode": "adjust",
"filters": { "states": ["TX"] },
"dry_run": false
}' \
"https://api.hillwinds.ai/v1/lookalikes"{
"ok": true,
"data": [
{
"id": "112233445",
"rank": 1
},
{
"id": "556677889",
"rank": 2
}
],
"meta": {
"returned": 2,
"entity_type": "company",
"lookalike_version": "v3",
"credits_charged": 2,
"base_credits": 2,
"signal_credits": 0,
"billable_rows": 2,
"cached_rows": 0,
"credit_balance_before": 1000,
"credit_balance_after": 998
}
}Find Seed IDs
Seed IDs are resolved through the normal entity read endpoints before the lookalike request is submitted. Live keys use the published V3 population. Test keys use sandbox entities and receive deterministic zero-credit sandbox-v1 results.
Company seed
Search by name or use the exact lookup endpoint, then copy data[].id. The company ID is its EIN.
curl -sS -H "Authorization: Bearer ss_live_..." \
"https://api.hillwinds.ai/v1/companies?search=nike&page_size=5" \
| jq '.data[] | {id, company_name}'Broker-office seed
Broker-office autocomplete returns populated IDs and is the lowest-cost direct name-to-ID path. Use the list endpoint with search and geographic filters when several offices have similar names.
curl -sS -H "Authorization: Bearer ss_live_..." \
"https://api.hillwinds.ai/v1/broker-offices/autocomplete?search=lockton&limit=5" \
| jq '.data[] | {id, label}'Personnel seed
Personnel autocomplete suggestions do not currently contain usable IDs. Search the personnel list with lead_type, search, and narrowing filters, then copy data[].id. Include has_email=true because the personnel lookalike population is email-eligible.
curl -sS -H "Authorization: Bearer ss_live_..." \
"https://api.hillwinds.ai/v1/personnel?lead_type=company&search=smith&has_email=true&page_size=5" \
| jq '.data[] | {id, full_name, company_name}'dry_run: true. A live key validates the published V3 mapping and names unavailable IDs in 422 INVALID_SEED. Sandbox dry runs currently return lookalike_eligible: true for every supplied seed; sandbox eligibility is a contract fixture, not production validation.Result Filters
Filters use the same names as the selected entity list endpoint and are supplied in the JSON body. Query parameters are rejected. The filtered population is selected before similarity ranking, while seed records are always allowed even when they do not match.
| Entity | Common filter names |
|---|---|
company | states, dmas, industries, employee_bands, premium_tiers, funding_status, broker, carrier |
broker_office | states, dmas, brokerage_class, client_count_bands, commission_tiers, carrier_search, industry_coverage |
personnel | person_states, person_dmas, seniority, job_function, job_title, company_eins, industries, employee_bands |
All three types also accept applicable search, tags, and custom column filters under cf. Use Filter Options and the matching entity reference for the complete vocabulary. Unknown names return 400 VALIDATION_ERROR before ranking and charge 0 credits. Personnel filters matching more than 50,000 candidates return a zero-credit validation error and must be narrowed before retrying.
Weight Categories
Omit weights to use adaptive V3 weighting derived from the seed profiles. When supplied, public categories are expanded into their underlying profile dimensions and normalized to a total weight of 1. Unknown categories, negative or non-finite values, empty objects, and all-zero sets return 400 VALIDATION_ERROR.
weights is omitted.How relative weights affect ranking
Weight values are ratios, not percentages. Multiplying every value by the same number produces the same normalized weighting. A larger relative value gives that category more influence over ranking. No internal dimension may exceed 60%. When a normalized value exceeds that cap, it is set to 60% and the residual mass is redistributed across the remaining internal dimensions. Custom weights change ranking, not seed eligibility, the candidate population, the requested limit, or per-result billing.
| Supplied value | Normalized influence | Effect |
|---|---|---|
industry: 3 | 50.0% | Strongest influence |
employee_count_bucket: 2 | 33.3% | Secondary influence |
geo: 1 | 16.7% | Lightest influence |
The example above totals 6 before the internal dimensions and 60% cap are applied. Start by omitting weights. Add custom ratios only when the desired matching priorities are known, and compare the resulting ranks rather than treating the raw distance from two differently weighted requests as directly comparable.
Example starting points
| Goal | Example weights | Expected emphasis |
|---|---|---|
| Balanced/adaptive | omit weights | Weighting is derived from the supplied seed profiles |
| Industry-first companies | {"industry": 3, "employee_count_bucket": 2, "geo": 1} | Industry first, then company size, then geography |
| Geography-first broker offices | {"geo": 3, "industry": 1, "client_count_bucket": 1} | Office location first, with lighter industry and client-size influence |
| Role-first personnel | {"title": 3, "seniority": 2, "job_description": 1, "geo": 1} | Job title and seniority dominate location |
Company weights
| Category | Applied internal dimensions |
|---|---|
geo | company_state, company_city, dma |
industry | industry_search_term |
carrier_premiums | carrier_premium_bucket |
total_relationships | total_relationships |
total_premiums | total_premiums |
all_carriers | all_carriers |
premium_relationship_summary | carrier_premium_bucket, total_relationships, total_premiums |
all_providers_carriers | all_providers_carriers |
medical_broker_relationship | medical_broker_relationship |
company_profile | funding_status, esop_status, profile_brokers, accounting_firms, retirement_asset_bucket |
employee_count_bucket | employee_count_bucket |
Broker-office weights
| Category | Applied internal dimensions |
|---|---|
broker | relationship_profile |
geo | broker_state, broker_dma |
client_count_bucket | client_count_bucket_v3_1 |
broker_office_commissions | commission_tier |
industry | industry |
employee_coverage | employee_coverage |
general | relationship_profile |
broker_carrier | broker_carrier |
Personnel weights
| Category | Applied internal dimensions |
|---|---|
title | title |
job_description | job_description |
seniority | seniority |
geo | person_dma, person_state |
company_name | employee_size_bucket |
company_industry | industry_search_term |
broker_office | benefit_specialties |
lead_type is deliberately not a personnel weight. Personnel lookalikes search the email-eligible privacy-safe population across the supported personnel profiles. meta.applied_weights reports these internal dimension names so the final post-cap vector can be inspected directly.
Response and Billing
| Field | Type | Description |
|---|---|---|
data[].id | string | Entity ID suitable for the matching detail API |
data[].rank | integer | One-based rank; 1 is the closest match |
meta.returned | integer | Number of results returned |
meta.entity_type | string | The normalized entity type used for the search |
meta.lookalike_version | string | Ranking population version |
meta.applied_weights | object | Final vector keyed by internal dimension |
meta.sandbox | boolean | True for test-key sandbox responses |
meta.validated_seeds | integer | Live seeds validated by dry_run |
meta.credits_charged | number | Exactly the number of returned results |
meta.credit_balance_before / after | number | Account balance around the charge when balance reporting is available |
- Live keys: exactly 1 credit per returned result.
- Test keys return deterministic
sandbox-v1results and charge 0 credits. - Validation, authentication, authorization, unavailable-seed, no-match, timeout, and internal-failure responses charge 0 credits.
- The endpoint does not use normal basic/advanced row pricing, cached-row discounts, or signal surcharges.
Errors
| Status | Code | Meaning |
|---|---|---|
400 | VALIDATION_ERROR | Invalid JSON, unknown body field, entity type, seed count, limit, or weights |
401 | UNAUTHORIZED | Missing or invalid bearer credential |
403 | FORBIDDEN | API key lacks the read scope required by entity_type |
404 | NO_MATCHES | Seeds are valid, but the ranked population produced no results |
422 | INVALID_SEED | At least one seed is unavailable in the selected published V3 population |
504 | LOOKALIKE_TIMEOUT | The ranking query exceeded its server-side deadline |
500 | LOOKALIKE_FAILED | The ranking operation failed before a result was returned |
Keys are issued by our team, not a signup form. Book a 25-minute walkthrough and you'll leave with sandbox and live credentials.