DiffbotCompany DataEnrichment

Search companies by DQL filter — industry, revenue

diffbot.companies.search

Search the Diffbot Knowledge Graph for companies by DQL filter (industry, revenue)

Price
$0.0299/resultAt provider cost
Success rate
—No success-rate data yetNo success-rate data yet
Latency p50
——
Last verified
Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.companies.search?size=1&query=type%3AOrganization+industries%3A%22Software+Companies%22Preview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

THE QUOTA TRAP ON THIS PROVIDER: `size` defaults to 50, not 1, and -1 returns everything — always pass an explicit small size before you trust a new query. A POST variant of /dql accepts the same fields

ParameterTypeRequiredDescriptionExample
Query parameters
fromintegerOptionaloffset for paging; from + size must stay under 10,000 on facet queries0
sizeintegerOptionalentities to return, DEFAULT 50, and -1 means ALL — at 25 credits each, an unset size is a 1,250-credit call. Always set this explicitly1
typestringOptional'query' (default) returns entities; 'refresh' re-crawls the matches before returning
querystringRequireda DQL query string; the type facet picks the entity, e.g. type:Organization industries:"Software Companies" nbEmployees>50type:Organization industries:"Software Companies"
filterstringOptionalJsonPath expression selecting which parts of each record to return
formatstringOptionaljson (default) | jsonl | csv | xls | xlsx
jsonmodestringOptional'extended' adds provenance, 'id' returns bare DiffbotIds
nonCanonicalFactsbooleanOptional
  • Query parameters
  • fromintegerOptional

    offset for paging; from + size must stay under 10,000 on facet queries

    Example: 0

  • sizeintegerOptional

    entities to return, DEFAULT 50, and -1 means ALL — at 25 credits each, an unset size is a 1,250-credit call. Always set this explicitly

    Example: 1

  • typestringOptional

    'query' (default) returns entities; 'refresh' re-crawls the matches before returning

  • querystringRequired

    a DQL query string; the type facet picks the entity, e.g. type:Organization industries:"Software Companies" nbEmployees>50

    Example: type:Organization industries:"Software Companies"

  • filterstringOptional

    JsonPath expression selecting which parts of each record to return

  • formatstringOptional

    json (default) | jsonl | csv | xls | xlsx

  • jsonmodestringOptional

    'extended' adds provenance, 'id' returns bare DiffbotIds

  • nonCanonicalFactsbooleanOptional

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.companies.search?size=1&query=type%3AOrganization+industries%3A%22Software+Companies%22' \
  -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/result, including the service fee.