Enrich up to 50 companies by domain in one call
companyenrich.companies.enrich.batchEnriches a list of companies using their domain names — up to 50 domains per request
- Price
- $0.0098/resultAu prix du fournisseur
- Success rate
- 99,9 %Last 30 days · 977 calls
- Latency p50
- 17 sp95 61 s
- Last verified
- 20 août 2026Verified working
POSThttps://toolswitch.dev/v1/tools/companyenrich.companies.enrich.batchPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
returns a plain ARRAY of company objects (not an envelope). This is the synchronous batch — it answers in the same request. For more than 50 domains use the async bulk job (companyenrich.companies.enrich.bulk.start), which takes up to 10,000.
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
expand | array[string] | Facultatif | `workforce` costs 5 EXTRA credits per company | |
- Paramètres de requête
expandarray[string]Facultatif`workforce` costs 5 EXTRA credits per company
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/companyenrich.companies.enrich.batch' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"domains":["stripe.com","anthropic.com"]}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/companyenrich.companies.enrich.batch",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"domains\":[\"stripe.com\",\"anthropic.com\"]}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/companyenrich.companies.enrich.batch", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"domains\":[\"stripe.com\",\"anthropic.com\"]}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.0098/result, frais de service inclus.