Skip to content

match_company

match_company resolves companies through OnFire’s matching engine — vector search plus AI matching, so partial, fuzzy, and messy names work.

  • You have a company name, a website, or a CRM row and need the canonical LinkedIn URL before running ai_prospecting or filtering in ask_onfire.
  • You want firmographics (size, employee count) alongside the identity.

Skip it when you already have a company LinkedIn URL. That URL is the canonical OnFire identifier — matching only recovers it when it’s missing. Re-match only when the user explicitly asks you to verify against OnFire.

Single-company shortcut — pass the fields directly:

ParameterTypeDescription
namestringCompany name, e.g. "Acme Inc".
websitestringDomain, e.g. "acme.com".
linkedin_urlstringLinkedIn company URL to verify.

Plural forms names, websites, linkedin_urls are accepted too.

Batch form:

ParameterTypeRequiredDescription
companiesobject[]YesUp to 100 company descriptors — each with names, websites, and/or linkedin_urls.
confirmedbooleanNoRequired true for batches over 50.

At least one of name / website / LinkedIn URL is required per company; multiple signals improve accuracy.

JSON with total_count, matched_count, and a results array in input order. Each record carries matched, name, website, linkedin_url, linkedin_id, size, found_employee_count, cosine_similarity, match_type, and match_reason.

A batch also returns a dataset handle. To query people at those companies in ask_onfire, filter current_company_url with from_dataset + column instead of re-typing every URL.

{
"companies": [
{ "names": ["Acme Inc", "Acme Corporation"], "websites": ["acme.com"] },
{ "linkedin_urls": ["linkedin.com/company/globex"] }
]
}
  • Batch up to 100 companies per call; over 50 returns needs_confirmation (nothing runs) so the volume can be settled first.
  • Results come back in the same order as the input.