Preview the top 25 company search results (free, Scale plan)
companyenrich.companies.search.previewReturns the top 25 results for free, perfect for previewing search results before running a full search
- Price
- freeZum Listenpreis
- Success rate
- 100 %Last 30 days · 30.729 calls
- Latency p50
- 568 msp95 1.2 s
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/companyenrich.companies.search.previewBeta- Uses platform quota
- Synchronous response
- Reads public data
Parameter
PLAN-GATED. Only accounts on the vendor's top tier can call this; every other plan gets HTTP 403 with detail 'Your plan does not include access to preview functionality.' Check `capabilities.previews` on GET /me before calling. When available it is strictly better than paying for a first page.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Anfragetext (JSON) | ||||
countries | array[string] | Optional | ISO alpha-2 codes | ["US"] |
technologies | array[string] | Optional | same filter object as companyenrich.companies.search | ["stripe"] |
- Anfragetext (JSON)
countriesarray[string]OptionalISO alpha-2 codes
Beispiel:
["US"]technologiesarray[string]Optionalsame filter object as companyenrich.companies.search
Beispiel:
["stripe"]
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X POST 'https://toolswitch.dev/v1/tools/companyenrich.companies.search.preview' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"countries":["US"],"technologies":["stripe"]}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/companyenrich.companies.search.preview",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"countries\":[\"US\"],\"technologies\":[\"stripe\"]}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/companyenrich.companies.search.preview", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"countries\":[\"US\"],\"technologies\":[\"stripe\"]}")),
});
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 free einschließlich Servicegebühr abgerechnet.