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/resultAt provider cost
- Success rate
- —No success-rate data yetLast 30 days · 4 calls
- Latency p50
- ——
- Last verified
- Jul 28, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/diffbot.companies.bulk_enrich?name=treg-verifyPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
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 | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
name | string | Optional | a label for the bulk job | treg-batch-1 |
size | integer | Optional | applies to every query in the job | |
refresh | boolean | Optional | job-wide; 100 credits per record instead of 25 | |
threshold | number | Optional | ||
webhookurl | string | Optional | where to POST the results when the job finishes | |
- Query parameters
namestringOptionala label for the bulk job
Example:
treg-batch-1sizeintegerOptionalapplies to every query in the job
refreshbooleanOptionaljob-wide; 100 credits per record instead of 25
thresholdnumberOptionalwebhookurlstringOptionalwhere to POST the results when the job finishes
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
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());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.