Pular para o conteúdo
Won.dev
DocumentaçãoReferência da API
API de enriquecimento

Buscar empresas

Empresas por setor, país-sede, número de funcionários e tecnologia, com os sites delas. Cobrado por empresa retornada.

Lista as empresas que se encaixam num perfil: um setor, onde fica a sede, quantas pessoas trabalham lá e o software em que o site delas roda. Retorna o nome e o site de cada empresa, primeiro as empresas de que conhecemos mais pessoas, com total para o tamanho do mercado. Custa US$ 0,002 por empresa retornada; nenhuma é grátis. Cada site é checado para garantir que é o da própria empresa: marketplaces, redes sociais e provedores de e-mail ficam de fora, então uma página pode ter menos que limit. Para encontrar importadores ou exportadores de um produto, use POST /trade/companies/search, que lê registros aduaneiros. Próximo passo: POST /enrich/companies/find para o perfil de uma empresa, POST /enrich/people/search para as pessoas dela e POST /enrich/companies/website/read para os contatos que o site dela traz.

  • Cobrança: company_listing US$ 0,002: Uma empresa em uma busca de empresas: nome e site.
  • Modo: proxy (o que cada modo significa)

Uma chave de teste (won_test_...) responde a esta requisição com a mesma empresa e as mesmas pessoas de exemplo, sem custo.

POST
/enrich/companies/search

Autenticação

apiKey
headerAuthorizationBearer <chave de API>

Authorization: Bearer won_live_..., a key from the console.

Parâmetros de cabeçalho

Idempotency-Key?string

Any unique string. A retry with the same key and the same body returns the first response and is not charged again.

Tamanholength <= 255

Corpo da requisição

application/json
  1. body
industry?array<>

Industries, in your words or by name: furniture stands for every industry with that word (its makers, wholesalers and retailers), a full name such as Furniture and Home Furnishings Manufacturing for that one alone. Names are LinkedIn's. Up to 5; query.industry says which names were searched.

Itens1 <= items <= 5
country?array<>

Where the headquarters are: ISO codes such as DE, or English names. Up to 10.

Itens1 <= items <= 10
size?array<>

How many people work there, as the company states it: any of 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+.

Itens1 <= items <= 8
technology?array<>

Software the company's website runs, such as Shopify, WooCommerce or HubSpot: companies with any of them. Up to 10. Give it with an industry or a size.

Itens1 <= items <= 10
exclude_domains?array<>

Websites to leave out, such as the companies already in your CRM. Up to 100.

Itensitems <= 100
limit?integer

How many results to return, 1 to 100. You pay for the results returned.

Intervalo1 <= value <= 100
Padrão25
cursor?string

To get the next page, pass next_cursor of the previous response back unchanged, with the same parameters.

Tamanholength <= 200
max_cost?number

Spending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged.

Intervalo0 < value
dry_run?boolean

If true, only return the maximum cost of this call. Nothing runs, nothing is charged.

Padrãofalse

Corpo da resposta

The result. With dry_run, only the maximum cost.

application/json
  1. response
data*array<>

The companies of this page.

total*integer

How many companies match in all. Use it to size a market, or to decide between paging on and narrowing the search.

has_more*boolean

Whether more companies follow this page.

next_cursor*|

Pass it as cursor to get the next page. Null on the last page.

query*

The request as it was understood: country names as codes, the default dates filled in.

notice*|

A plain sentence when there is something to know about this result: why a part is missing, or what to try next. Null otherwise.

usage*

What this call was charged, and the balance left.

Requisição de exemplo
curl -X POST 'https://api.won.dev/v1/enrich/companies/search' \  -H 'Content-Type: application/json' \  -d '{  "industry": [    "furniture"  ],  "country": [    "US"  ],  "size": [    "51-200",    "201-500"  ],  "limit": 3}'
Resposta de exemplo
{  "data": [    {      "name": "SAMPLE Northfield Home Furnishings",      "domain": "northfield-home.example"    },    {      "name": "SAMPLE Harborside Seating Co",      "domain": "harborside-seating.example"    },    {      "name": "SAMPLE Pine & Loom Interiors",      "domain": "pineandloom.example"    }  ],  "total": 1874,  "has_more": true,  "next_cursor": "cur_Qm4tR2x9LpZ0aWl1Lm1xNHo",  "query": {    "industry": [      "Furniture",      "Furniture and Home Furnishings Manufacturing",      "Household and Institutional Furniture Manufacturing",      "Office Furniture and Fixtures Manufacturing",      "Retail Furniture and Home Furnishings",      "Reupholstery and Furniture Repair",      "Wholesale Furniture and Home Furnishings"    ],    "country": [      "US"    ],    "size": [      "51-200",      "201-500"    ],    "limit": 3  },  "notice": null,  "usage": {    "unit": "company_listing",    "records": 3,    "already_paid": 0,    "cost": 0.006,    "balance": 48.994,    "replayed": false  }}

Última atualização em