Enrich companies in bulk (async, webhook)
oceanio.companies.enrich_bulkMatch companies with our database and enrich it with additional information
- Price
- $0.0081/resultAt list price
- Success rate
- —No success-rate data yetLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- Aug 20, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/oceanio.companies.enrich_bulkBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameters
ASYNC. The HTTP response is only {"status": "in progress"}; the data arrives at your webhook. For fewer than a thousand domains prefer /v2/lookup/companies, which is synchronous AND cheaper per company
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Request body (JSON) | ||||
fields | array[string] | Optional | which Company fields the webhook payload should carry | ["domain","name","employeeCountOcean"] |
webhookUrl | string | Required | a PUBLIC https URL that receives the enriched companies when the job finishes. There is no status route to poll — without a reachable webhook you never see the results | https://example.com/treg-webhook |
companyDataMapping | object | Required | a dict of YOUR id -> a single-company enrich body, i.e. {"c1": {"company": {"domain": "anthropic.com"}}}. 1 to 10,000 entries. Your ids come back in the webhook payload so you can join the results | {"c1":{"company":{"domain":"anthropic.com"}}} |
- Request body (JSON)
fieldsarray[string]Optionalwhich Company fields the webhook payload should carry
Example:
["domain","name","employeeCountOcean"]webhookUrlstringRequireda PUBLIC https URL that receives the enriched companies when the job finishes. There is no status route to poll — without a reachable webhook you never see the results
Example:
https://example.com/treg-webhookcompanyDataMappingobjectRequireda dict of YOUR id -> a single-company enrich body, i.e. {"c1": {"company": {"domain": "anthropic.com"}}}. 1 to 10,000 entries. Your ids come back in the webhook payload so you can join the results
Example:
{"c1":{"company":{"domain":"anthropic.com"}}}
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X POST 'https://toolswitch.dev/v1/tools/oceanio.companies.enrich_bulk' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"fields":["domain","name","employeeCountOcean"],"webhookUrl":"https://example.com/treg-webhook","companyDataMapping":{"c1":{"company":{"domain":"anthropic.com"}}}}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/oceanio.companies.enrich_bulk",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"fields\":[\"domain\",\"name\",\"employeeCountOcean\"],\"webhookUrl\":\"https://example.com/treg-webhook\",\"companyDataMapping\":{\"c1\":{\"company\":{\"domain\":\"anthropic.com\"}}}}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/oceanio.companies.enrich_bulk", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"fields\":[\"domain\",\"name\",\"employeeCountOcean\"],\"webhookUrl\":\"https://example.com/treg-webhook\",\"companyDataMapping\":{\"c1\":{\"company\":{\"domain\":\"anthropic.com\"}}}}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.0081/result, including the service fee.