DiffbotDonnées d’entrepriseEnrichment

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/callAu prix du fournisseur
Success rate
99,6 %Last 30 days · 1 032 calls
Latency p50
337 msp95 1.3 s
Last verified
28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.companies.enrich?url=https%3A%2F%2Fwww.diffbot.com&size=1&type=OrganizationPreview
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

`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

ParamètreTypeObligatoireDescriptionExemple
Paramètres de requête
idchaîneFacultatifa DiffbotId, when you already have one
ipchaîneFacultatifresolve the company from a visitor IP address
urlchaîneFacultatifthe company's homepage — the strongest identifierhttps://www.diffbot.com
namechaîneFacultatifcompany name; ambiguous alone, pair with location or url
sizeentierFacultatifcandidate entities to return, default 1 — raise it only when the identifier is ambiguous, since you pay 25 credits per record1
typechaîneObligatoiremust be Organization for company enrichmentOrganization
emailchaîneFacultatifresolves the company from an employee's email domain
phonechaîneFacultatif
filterchaîneFacultatifJsonPath expression selecting which parts of the record to return
searchbooléenFacultatifwiden to a search when no exact entity matches; default false
refreshbooléenFacultatifforce a live re-crawl instead of the cached KG record — QUADRUPLES the price to 100 credits per record; default false
customIdchaîneFacultatifyour own correlation id, echoed back in the response
jsonmodechaîneFacultatif'extended' adds provenance for every fact
locationchaîneFacultatifdisambiguates a common company name
thresholdnombreFacultatifmatch-confidence floor below which no candidate is returned
descriptionchaîneFacultatiffree-text description, as an extra disambiguator
nonCanonicalFactsbooléenFacultatifinclude facts Diffbot has not canonicalised
  • Paramètres de requête
  • idchaîneFacultatif

    a DiffbotId, when you already have one

  • ipchaîneFacultatif

    resolve the company from a visitor IP address

  • urlchaîneFacultatif

    the company's homepage — the strongest identifier

    Exemple : https://www.diffbot.com

  • namechaîneFacultatif

    company name; ambiguous alone, pair with location or url

  • sizeentierFacultatif

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

    Exemple : 1

  • typechaîneObligatoire

    must be Organization for company enrichment

    Exemple : Organization

  • emailchaîneFacultatif

    resolves the company from an employee's email domain

  • phonechaîneFacultatif
  • filterchaîneFacultatif

    JsonPath expression selecting which parts of the record to return

  • searchbooléenFacultatif

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

  • refreshbooléenFacultatif

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

  • customIdchaîneFacultatif

    your own correlation id, echoed back in the response

  • jsonmodechaîneFacultatif

    'extended' adds provenance for every fact

  • locationchaîneFacultatif

    disambiguates a common company name

  • thresholdnombreFacultatif

    match-confidence floor below which no candidate is returned

  • descriptionchaîneFacultatif

    free-text description, as an extra disambiguator

  • nonCanonicalFactsbooléenFacultatif

    include facts Diffbot has not canonicalised

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la 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"

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.0299/call, frais de service inclus.