Enrich a company by name or social profile
companyenrich.companies.enrich.by_propertiesEnriches a company using its properties — best match is used in case of ambiguity
- Price
- $0.0098/callPelo preço do provedor
- Success rate
- 100%Last 30 days · 24.175 calls
- Latency p50
- 309 msp95 707 ms
- Last verified
- 20 de ago. de 2026Verified working
POSThttps://toolswitch.dev/v1/tools/companyenrich.companies.enrich.by_propertiesPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
at least ONE of the seven properties must be supplied. Use this only when you do not have a domain — the domain route is deterministic, this one is a best-match and can resolve to the wrong company for a generic name. Supplying both a name and a social URL narrows it considerably.
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
expand | array[string] | Opcional | `workforce` costs 5 EXTRA credits | |
- Parâmetros de consulta
expandarray[string]Opcional`workforce` costs 5 EXTRA credits
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/companyenrich.companies.enrich.by_properties' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"name":"Anthropic","linkedinUrl":"https://www.linkedin.com/company/anthropicresearch"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/companyenrich.companies.enrich.by_properties",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"name\":\"Anthropic\",\"linkedinUrl\":\"https://www.linkedin.com/company/anthropicresearch\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/companyenrich.companies.enrich.by_properties", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"name\":\"Anthropic\",\"linkedinUrl\":\"https://www.linkedin.com/company/anthropicresearch\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.0098/call, incluindo a taxa de serviço.