Search companies by DQL filter — industry, revenue
diffbot.companies.searchSearch the Diffbot Knowledge Graph for companies by DQL filter (industry, revenue)
- Price
- $0.0299/resultZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
- Latency p50
- ——
- Last verified
- 28.07.2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.companies.search?size=1&query=type%3AOrganization+industries%3A%22Software+Companies%22Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
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
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
from | Ganzzahl | Optional | offset for paging; from + size must stay under 10,000 on facet queries | 0 |
size | Ganzzahl | Optional | 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 | 1 |
type | Zeichenkette | Optional | 'query' (default) returns entities; 'refresh' re-crawls the matches before returning | |
query | Zeichenkette | Erforderlich | a DQL query string; the type facet picks the entity, e.g. type:Organization industries:"Software Companies" nbEmployees>50 | type:Organization industries:"Software Companies" |
filter | Zeichenkette | Optional | JsonPath expression selecting which parts of each record to return | |
format | Zeichenkette | Optional | json (default) | jsonl | csv | xls | xlsx | |
jsonmode | Zeichenkette | Optional | 'extended' adds provenance, 'id' returns bare DiffbotIds | |
nonCanonicalFacts | Boolean | Optional | ||
- Abfrageparameter
fromGanzzahlOptionaloffset for paging; from + size must stay under 10,000 on facet queries
Beispiel:
0sizeGanzzahlOptionalentities 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
Beispiel:
1typeZeichenketteOptional'query' (default) returns entities; 'refresh' re-crawls the matches before returning
queryZeichenketteErforderlicha DQL query string; the type facet picks the entity, e.g. type:Organization industries:"Software Companies" nbEmployees>50
Beispiel:
type:Organization industries:"Software Companies"filterZeichenketteOptionalJsonPath expression selecting which parts of each record to return
formatZeichenketteOptionaljson (default) | jsonl | csv | xls | xlsx
jsonmodeZeichenketteOptional'extended' adds provenance, 'id' returns bare DiffbotIds
nonCanonicalFactsBooleanOptional
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/diffbot.companies.search?size=1&query=type%3AOrganization+industries%3A%22Software+Companies%22",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/diffbot.companies.search?size=1&query=type%3AOrganization+industries%3A%22Software+Companies%22", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.0299/result einschließlich Servicegebühr abgerechnet.