Enrich a company by domain — 80+ datapoints
thecompaniesapi.companies.enrichEnrich a company from its domain — 80+ datapoints: industry, size, revenue, socials
- Price
- $0.0019/successAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 575 863 calls
- Latency p50
- 275 msp95 625 ms
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/thecompaniesapi.companies.enrichPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
a domain with no company behind it returns an empty object and is not charged
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de chemin | ||||
domain | chaîne | Obligatoire | company domain, no protocol or www | apple.com |
| Paramètres de requête | ||||
refresh | booléen | Facultatif | forces a live re-crawl instead of the cached record; costs 10 EXTRA credits | |
simplified | booléen | Facultatif | returns a reduced record for ZERO credits — use it to check a domain exists before paying for the full profile | true |
- Paramètres de chemin
domainchaîneObligatoirecompany domain, no protocol or www
Exemple :
apple.com- Paramètres de requête
refreshbooléenFacultatifforces a live re-crawl instead of the cached record; costs 10 EXTRA credits
simplifiedbooléenFacultatifreturns a reduced record for ZERO credits — use it to check a domain exists before paying for the full profile
Exemple :
true
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/thecompaniesapi.companies.enrich' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/thecompaniesapi.companies.enrich",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/thecompaniesapi.companies.enrich", {
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());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.0019/success, frais de service inclus.