DiffbotCompany DataEnrichment

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/callAt provider cost
Success rate
99.6%Last 30 days · 1,032 calls
Latency p50
337 msp95 1.3 s
Last verified
Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.companies.enrich?url=https%3A%2F%2Fwww.diffbot.com&size=1&type=OrganizationPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

`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

ParameterTypeRequiredDescriptionExample
Query parameters
idstringOptionala DiffbotId, when you already have one
ipstringOptionalresolve the company from a visitor IP address
urlstringOptionalthe company's homepage — the strongest identifierhttps://www.diffbot.com
namestringOptionalcompany name; ambiguous alone, pair with location or url
sizeintegerOptionalcandidate entities to return, default 1 — raise it only when the identifier is ambiguous, since you pay 25 credits per record1
typestringRequiredmust be Organization for company enrichmentOrganization
emailstringOptionalresolves the company from an employee's email domain
phonestringOptional
filterstringOptionalJsonPath expression selecting which parts of the record to return
searchbooleanOptionalwiden to a search when no exact entity matches; default false
refreshbooleanOptionalforce a live re-crawl instead of the cached KG record — QUADRUPLES the price to 100 credits per record; default false
customIdstringOptionalyour own correlation id, echoed back in the response
jsonmodestringOptional'extended' adds provenance for every fact
locationstringOptionaldisambiguates a common company name
thresholdnumberOptionalmatch-confidence floor below which no candidate is returned
descriptionstringOptionalfree-text description, as an extra disambiguator
nonCanonicalFactsbooleanOptionalinclude facts Diffbot has not canonicalised
  • Query parameters
  • idstringOptional

    a DiffbotId, when you already have one

  • ipstringOptional

    resolve the company from a visitor IP address

  • urlstringOptional

    the company's homepage — the strongest identifier

    Example: https://www.diffbot.com

  • namestringOptional

    company name; ambiguous alone, pair with location or url

  • sizeintegerOptional

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

    Example: 1

  • typestringRequired

    must be Organization for company enrichment

    Example: Organization

  • emailstringOptional

    resolves the company from an employee's email domain

  • phonestringOptional
  • filterstringOptional

    JsonPath expression selecting which parts of the record to return

  • searchbooleanOptional

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

  • refreshbooleanOptional

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

  • customIdstringOptional

    your own correlation id, echoed back in the response

  • jsonmodestringOptional

    'extended' adds provenance for every fact

  • locationstringOptional

    disambiguates a common company name

  • thresholdnumberOptional

    match-confidence floor below which no candidate is returned

  • descriptionstringOptional

    free-text description, as an extra disambiguator

  • nonCanonicalFactsbooleanOptional

    include facts Diffbot has not canonicalised

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the 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"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.0299/call, including the service fee.