Ir al contenido
Won.dev
DocumentaciónReferencia de la API
API de enriquecimiento

Buscar un correo de trabajo

El correo de trabajo de una persona en el dominio de su empleador, verificado antes de devolverlo. Solo se cobra si se encuentra.

Encuentra el correo de trabajo de una persona en el dominio propio de su empleador, a partir de su nombre y el sitio web del empleador, de su perfil de LinkedIn o del person_id que devolvió otra llamada, como una búsqueda de personas. El correo se guarda luego con ese ID, así que la persona se puede agregar a una campaña con él. Cada dirección se verifica antes de devolverla. Cuesta USD 0.03 cuando se encuentra un correo; si no se encuentra es gratis. Las fuentes se prueban en un orden fijo, la más barata primero, hasta que una tiene una dirección en el dominio, y responde en unos 30 segundos. Un perfil de LinkedIn se convierte primero en un nombre y un empleador actual: nunca se devuelve una dirección de un empleador anterior, ni un buzón compartido como info@. Por defecto solo vuelven los buzones verified; min_email_status: "risky" también devuelve direcciones en dominios que aceptan cualquier dirección. Para revisar una dirección que ya tienes, usa POST /enrich/email/verify.

  • Cobro: person_email USD 0.03: Un correo de trabajo encontrado en el dominio del empleador, verificado antes de devolverlo.
  • Modo: waterfall (qué significa cada modo)

Una clave de prueba (won_test_...) responde esta solicitud con la misma empresa y las mismas personas de muestra, sin costo.

POST
/enrich/people/email/find

Autenticación

apiKey
headerAuthorizationBearer <clave de API>

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

Parámetros de encabezado

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.

Longitudlength <= 255

Cuerpo de la solicitud

application/json
  1. body
first_name?string

First name, with last_name and domain.

Longitudlength <= 80
last_name?string

Last name, with first_name and domain.

Longitudlength <= 80
domain?string

The website of the person's employer, such as example.com. Only an address on this domain is returned.

Longitudlength <= 253
company_id?string

A company ID from the trade data API, such as co_8f3k2m9x4p1q, instead of domain: the company's website on record is used.

Longitudlength <= 40
linkedin_url?string

The person's LinkedIn profile, instead of the name and the website, or with them.

Longitudlength <= 300
person_id?string

A person ID this account was given in the last 90 days, such as per_4m7q2x9k1c8d, instead of naming the person: their name, employer website and LinkedIn profile on file are used. What you pass besides it wins.

Longitudlength <= 40
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.

Valor predeterminado"verified"
Valores"verified""risky"
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.

Rango0 < value
dry_run?boolean

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

Valor predeterminadofalse

Cuerpo de la respuesta

The result. With dry_run, only the maximum cost.

application/json
  1. response
data*

The email, and who it is for.

query*

The request as it was understood, with the website that was searched.

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.

Solicitud de ejemplo
curl -X POST 'https://api.won.dev/v1/enrich/people/email/find' \  -H 'Content-Type: application/json' \  -d '{  "first_name": "Jordan",  "last_name": "Lee",  "domain": "northfield-home.example"}'
Respuesta de ejemplo
{  "data": {    "email": {      "email": "jordan.lee@northfield-home.example",      "status": "verified"    },    "person": {      "id": "per_4m7q2x9k1c8d",      "name": "Jordan Lee",      "first_name": "Jordan",      "last_name": "Lee",      "title": "Director of Global Sourcing",      "seniority": "executive",      "department": "purchasing",      "company": "SAMPLE Northfield Home Furnishings",      "company_domain": "northfield-home.example",      "linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee",      "location": "Charlotte, North Carolina, United States"    }  },  "query": {    "first_name": "Jordan",    "last_name": "Lee",    "domain": "northfield-home.example",    "min_email_status": "verified"  },  "notice": null,  "usage": {    "unit": "person_email",    "records": 1,    "already_paid": 0,    "cost": 0.03,    "balance": 48.97,    "replayed": false  }}

Última actualización: