Enrich a company by domain — 80+ datapoints
thecompaniesapi.companies.enrichEnrich a company from its domain — 80+ datapoints: industry, size, revenue, socials
- Price
- $0.0019/successZum Anbieterpreis
- 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
Parameter
a domain with no company behind it returns an empty object and is not charged
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Pfadparameter | ||||
domain | Zeichenkette | Erforderlich | company domain, no protocol or www | apple.com |
| Abfrageparameter | ||||
refresh | Boolean | Optional | forces a live re-crawl instead of the cached record; costs 10 EXTRA credits | |
simplified | Boolean | Optional | returns a reduced record for ZERO credits — use it to check a domain exists before paying for the full profile | true |
- Pfadparameter
domainZeichenketteErforderlichcompany domain, no protocol or www
Beispiel:
apple.com- Abfrageparameter
refreshBooleanOptionalforces a live re-crawl instead of the cached record; costs 10 EXTRA credits
simplifiedBooleanOptionalreturns a reduced record for ZERO credits — use it to check a domain exists before paying for the full profile
Beispiel:
true
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.0019/success einschließlich Servicegebühr abgerechnet.