Enrich a company by domain or URL: headcount, industry
village.companies.enrichGet detailed information about a company.
- Price
- $0.02/successZum Listenpreis
- Success rate
- —Noch keine ErfolgsratendatenLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/village.companies.enrichBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameter
One of domain, linkedin_url or url is required. Returns company name, website, LinkedIn URL, logo, employee count, industry, founded year and description.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Anfragetext (JSON) | ||||
url | Zeichenkette | Optional | Generic URL (auto-detected). | |
mode | Zeichenkette | Optional | cached_first returns the company Village holds when it is recent and otherwise fetches it live. realtime_only always fetches live. cached_only never fetches and is free; village.companies.enrich.stored is that tier. | cached_first |
domain | Zeichenkette | Optional | Company domain (normalized, without www prefix). Send one of domain, linkedin_url or url. | acme.com |
linkedin_url | Zeichenkette | Optional | LinkedIn company page URL. | https://linkedin.com/company/acme-corp |
- Anfragetext (JSON)
urlZeichenketteOptionalGeneric URL (auto-detected).
modeZeichenketteOptionalcached_first returns the company Village holds when it is recent and otherwise fetches it live. realtime_only always fetches live. cached_only never fetches and is free; village.companies.enrich.stored is that tier.
Beispiel:
cached_firstdomainZeichenketteOptionalCompany domain (normalized, without www prefix). Send one of domain, linkedin_url or url.
Beispiel:
acme.comlinkedin_urlZeichenketteOptionalLinkedIn company page URL.
Beispiel:
https://linkedin.com/company/acme-corp
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X POST 'https://toolswitch.dev/v1/tools/village.companies.enrich' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"domain":"stripe.com"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/village.companies.enrich",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"domain\":\"stripe.com\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/village.companies.enrich", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"domain\":\"stripe.com\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist in der Beta; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.02/success einschließlich Servicegebühr abgerechnet.