Pular para o conteúdo
Won.dev
DocumentaçãoReferência da API
API de comércio exterior

Encontrar contatos numa empresa

As pessoas a abordar numa empresa, cada uma com um e-mail corporativo verificado. Cobrado por contato encontrado.

Encontra as pessoas a abordar numa empresa, cada uma com um e-mail corporativo no domínio próprio da empresa que passou na verificação. Custa US$ 0,03 por contato retornado; não encontrar ninguém é grátis. As fontes são consultadas numa ordem fixa, da mais barata para a mais cara, e a busca para quando há limit contatos; a resposta vem em cerca de 20 segundos. Sem filtros, procura primeiro compras e diretoria, que é com quem um vendedor quer falar; para chegar a um fornecedor, peça department=sales. Quando query.resolution.exhausted é true, não adianta perguntar de novo. Os contatos precisam do site da empresa: quando nenhum é conhecido e nenhum pode ser confirmado, a lista vem vazia e notice avisa; passe o site como domain se você o conhece, ou pegue as caixas de e-mail compartilhadas com GET /trade/companies/{id}?include=channels.

  • Cobrança: person_email US$ 0,03: Um contato com e-mail corporativo no domínio próprio da empresa que passou na verificação.
  • Modo: waterfall (o que cada modo significa)

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

GET
/trade/companies/{id}/contacts

Autenticação

apiKey
headerAuthorizationBearer <chave de API>

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

Parâmetros de caminho

id*string

Company ID, such as co_8f3k2m9x4p1q. Search results carry it; GET /trade/companies/lookup?q= finds it by name.

Tamanholength <= 40

Parâmetros de consulta

seniority?array<>

Only people of these levels: owner, c_level, executive (VP, director, head), manager, senior (a senior individual role, such as Senior Buyer), staff (any other role). Default: any level.

Itensitems <= 6
Padrão[]
department?array<>

Only people in these departments. Default: purchasing and management first, which is whom a seller approaches. To reach a supplier, ask for sales.

Itensitems <= 11
Padrão[]
min_email_status?string

verified (default) returns only mailboxes that were confirmed to exist. risky also returns addresses on domains that accept every address, which cannot be confirmed. Same price.

Padrão"verified"
Valores"verified""risky"
domain?string

The company's website, such as example.com, when you know it and we do not. Contacts are only returned with an email on this domain.

Tamanholength <= 253
limit?integer

How many contacts to return, 1 to 25. You pay for the contacts returned.

Intervalo1 <= value <= 25
Padrão5
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 best people to approach first.

query*

The request as it was understood, with the website that was searched and how the contacts were found.

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 GET 'https://api.won.dev/v1/trade/companies/co_8f3k2m9x4p1q/contacts?department=purchasing&limit=1'
Resposta de exemplo
{  "data": [    {      "id": "per_4m7q2x9k1c8d",      "name": "Jordan Lee",      "title": "Director of Global Sourcing",      "seniority": "executive",      "department": "purchasing",      "email_status": "verified",      "linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee",      "email": "jordan.lee@northfield-home.example"    }  ],  "query": {    "id": "co_8f3k2m9x4p1q",    "department": [      "purchasing"    ],    "domain": "northfield-home.example",    "min_email_status": "verified",    "limit": 1,    "resolution": {      "mode": "waterfall",      "steps_tried": 3,      "exhausted": false    }  },  "notice": null,  "usage": {    "unit": "person_email",    "records": 1,    "already_paid": 0,    "cost": 0.03,    "balance": 48.05,    "replayed": false  }}

Última atualização em