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

Verificar una dirección de correo

Si una dirección puede recibir correo, sin enviar nada. Se cobra por veredicto.

Revisa si una dirección de correo puede recibir mensajes, sin enviarle nada: verified (el buzón existe), risky (el dominio acepta cualquier dirección, así que esta no se puede confirmar), invalid (no envíes) o unknown. También indica si es una dirección de correo web y si es un buzón compartido como info@. Cuesta USD 0.003 por veredicto; unknown es gratis. Revisa las direcciones que obtuviste en otro lado antes de una campaña: los correos que devuelven los demás endpoints ya están verificados.

  • Cobro: email_verification USD 0.003: Un veredicto sobre una dirección: verified, risky o invalid.
  • Modo: proxy (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/email/verify

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
email*string

The address to check, such as jane@example.com.

Longitudlength <= 254
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 verdict on the address.

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.

Solicitud de ejemplo
curl -X POST 'https://api.won.dev/v1/enrich/email/verify' \  -H 'Content-Type: application/json' \  -d '{  "email": "jordan.lee@northfield-home.example"}'
Respuesta de ejemplo
{  "data": {    "email": "jordan.lee@northfield-home.example",    "status": "verified",    "webmail": false,    "shared_mailbox": false  },  "query": {    "email": "jordan.lee@northfield-home.example"  },  "notice": null,  "usage": {    "unit": "email_verification",    "records": 1,    "already_paid": 0,    "cost": 0.003,    "balance": 48.997,    "replayed": false  }}

Última actualización: