Search companies by industry, funding or headcount
crunchbase.companies.searchSearch Crunchbase companies by industry, funding, headcount, location or founding date
- Price
- Preço em brevePelo preço de tabela
- Success rate
- —Ainda não há dados da taxa de sucessoLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/crunchbase.companies.searchBeta- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
domain lookup is a search, not an entity call: predicate field_id 'website_url' with operator_id 'domain_eq' is how you resolve a domain to a Crunchbase company
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Corpo (JSON) | ||||
limit | inteiro | Opcional | hits per page, max 1000 | 1 |
order | array[object] | Opcional | [{field_id, sort: 'asc'|'desc'}] | |
query | array[object] | Obrigatório | predicates, each {type: 'predicate', field_id, operator_id, values: [...]}. THEY ARE AND-ONLY — v4 search has no OR. operator_id is one of eq, not_eq, blank, contains, not_contains, starts, includes, not_includes, includes_all, not_includes_all, gte, lte, between, domain_eq, domain_includes; date fields use `equal` rather than `eq`. There is NO strict gt/lt and NO exists — use gte/lte and blank instead | [{"type":"predicate","values":["stripe.com"],"field_id":"website_url","operator_id":"domain_eq"}] |
after_id | string | Opcional | uuid of the last hit on the previous page — keyset paging forward, not an offset | |
before_id | string | Opcional | keyset paging backward | |
field_ids | array[string] | Obrigatório | fields to return on each hit | ["identifier","short_description","funding_total","categories"] |
- Corpo (JSON)
limitinteiroOpcionalhits per page, max 1000
Exemplo:
1orderarray[object]Opcional[{field_id, sort: 'asc'|'desc'}]
queryarray[object]Obrigatóriopredicates, each {type: 'predicate', field_id, operator_id, values: [...]}. THEY ARE AND-ONLY — v4 search has no OR. operator_id is one of eq, not_eq, blank, contains, not_contains, starts, includes, not_includes, includes_all, not_includes_all, gte, lte, between, domain_eq, domain_includes; date fields use `equal` rather than `eq`. There is NO strict gt/lt and NO exists — use gte/lte and blank instead
Exemplo:
[{"type":"predicate","values":["stripe.com"],"field_id":"website_url","operator_id":"domain_eq"}]after_idstringOpcionaluuid of the last hit on the previous page — keyset paging forward, not an offset
before_idstringOpcionalkeyset paging backward
field_idsarray[string]Obrigatóriofields to return on each hit
Exemplo:
["identifier","short_description","funding_total","categories"]
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X POST 'https://toolswitch.dev/v1/tools/crunchbase.companies.search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/crunchbase.companies.search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crunchbase.companies.search", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em Beta; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra.