Bulk-enrich companies or people (async job)
diffbot.companies.bulk_enrichEnrich many companies or people in one asynchronous job instead of one call each
- Price
- $0.0299/resultZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenLast 30 days · 4 calls
- Latency p50
- ——
- Last verified
- 28.07.2026Verified working
POSThttps://toolswitch.dev/v1/tools/diffbot.companies.bulk_enrich?name=treg-verifyPreviewTry onlineDemnächstProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameter
ASYNCHRONOUS: returns HTTP 202 and a job id. Poll GET /enhance/bulk/{bulkjobId}/status, then read GET /enhance/bulk/{bulkjobId}. The maximum batch size is not published
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
name | Zeichenkette | Optional | a label for the bulk job | treg-batch-1 |
size | Ganzzahl | Optional | applies to every query in the job | |
refresh | Boolean | Optional | job-wide; 100 credits per record instead of 25 | |
threshold | Zahl | Optional | ||
webhookurl | Zeichenkette | Optional | where to POST the results when the job finishes | |
- Abfrageparameter
nameZeichenketteOptionala label for the bulk job
Beispiel:
treg-batch-1sizeGanzzahlOptionalapplies to every query in the job
refreshBooleanOptionaljob-wide; 100 credits per record instead of 25
thresholdZahlOptionalwebhookurlZeichenketteOptionalwhere to POST the results when the job finishes
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/diffbot.companies.bulk_enrich?name=treg-verify' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '[{"url":"diffbot.com","type":"Organization"}]'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/diffbot.companies.bulk_enrich?name=treg-verify",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("[{\"url\":\"diffbot.com\",\"type\":\"Organization\"}]"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/diffbot.companies.bulk_enrich?name=treg-verify", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("[{\"url\":\"diffbot.com\",\"type\":\"Organization\"}]")),
});
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.