DiffbotDados de empresasEnrichment

Enrich a company by website, name or ticker

diffbot.companies.enrich

Enrich a company from website, name or ticker — industry, revenue, headcount, rivals

Price
$0.0299/callPelo preço do provedor
Success rate
99,6%Last 30 days · 1.032 calls
Latency p50
337 msp95 1.3 s
Last verified
28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.companies.enrich?url=https%3A%2F%2Fwww.diffbot.com&size=1&type=OrganizationPreview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

`type` plus at least one identifier; url gives by far the highest match rate. `useCache` appears in older material but is not in the current v3 docs

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
idstringOpcionala DiffbotId, when you already have one
ipstringOpcionalresolve the company from a visitor IP address
urlstringOpcionalthe company's homepage — the strongest identifierhttps://www.diffbot.com
namestringOpcionalcompany name; ambiguous alone, pair with location or url
sizeinteiroOpcionalcandidate entities to return, default 1 — raise it only when the identifier is ambiguous, since you pay 25 credits per record1
typestringObrigatóriomust be Organization for company enrichmentOrganization
emailstringOpcionalresolves the company from an employee's email domain
phonestringOpcional
filterstringOpcionalJsonPath expression selecting which parts of the record to return
searchbooleanoOpcionalwiden to a search when no exact entity matches; default false
refreshbooleanoOpcionalforce a live re-crawl instead of the cached KG record — QUADRUPLES the price to 100 credits per record; default false
customIdstringOpcionalyour own correlation id, echoed back in the response
jsonmodestringOpcional'extended' adds provenance for every fact
locationstringOpcionaldisambiguates a common company name
thresholdnúmeroOpcionalmatch-confidence floor below which no candidate is returned
descriptionstringOpcionalfree-text description, as an extra disambiguator
nonCanonicalFactsbooleanoOpcionalinclude facts Diffbot has not canonicalised
  • Parâmetros de consulta
  • idstringOpcional

    a DiffbotId, when you already have one

  • ipstringOpcional

    resolve the company from a visitor IP address

  • urlstringOpcional

    the company's homepage — the strongest identifier

    Exemplo: https://www.diffbot.com

  • namestringOpcional

    company name; ambiguous alone, pair with location or url

  • sizeinteiroOpcional

    candidate entities to return, default 1 — raise it only when the identifier is ambiguous, since you pay 25 credits per record

    Exemplo: 1

  • typestringObrigatório

    must be Organization for company enrichment

    Exemplo: Organization

  • emailstringOpcional

    resolves the company from an employee's email domain

  • phonestringOpcional
  • filterstringOpcional

    JsonPath expression selecting which parts of the record to return

  • searchbooleanoOpcional

    widen to a search when no exact entity matches; default false

  • refreshbooleanoOpcional

    force a live re-crawl instead of the cached KG record — QUADRUPLES the price to 100 credits per record; default false

  • customIdstringOpcional

    your own correlation id, echoed back in the response

  • jsonmodestringOpcional

    'extended' adds provenance for every fact

  • locationstringOpcional

    disambiguates a common company name

  • thresholdnúmeroOpcional

    match-confidence floor below which no candidate is returned

  • descriptionstringOpcional

    free-text description, as an extra disambiguator

  • nonCanonicalFactsbooleanoOpcional

    include facts Diffbot has not canonicalised

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.companies.enrich?url=https%3A%2F%2Fwww.diffbot.com&size=1&type=Organization' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.0299/call, incluindo a taxa de serviço.