API di Verifica Email

Validazione email rapida e accurata e controlli di recapitabilità.

Cosa puoi fare?
Riduci i tassi di rimbalzo

Valida prima di premere "Invia".

Blocca registrazioni usa e getta

Ferma indirizzi temporanei nelle registrazioni e nelle liste di marketing.

Migliora la reputazione del mittente

Migliore igiene email = maggiore posizionamento nella casella di posta.

Prova dal vivo
99.9 % Disponibilità
1402.7ms Risposta
20 req/s
0.005 Crediti / richiesta

Validate Email


POST https://api.yeb.to/v1/mailchecker
ParametroTipoRich.Descrizione
api_key string Your API key
email string Email to validate

Esempio

curl -X POST https://api.yeb.to/v1/mailchecker \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "email":   "[email protected]"
}'

Esempio di risposta

{
  "email": "[email protected]",
  "trusted": "high",
  "score": 7,
  "risk": "low",
  "knownProvider": true,
  "recommend": []
}
{"error":"Missing \"email\" parameter","code":422}

Codici di risposta

CodiceDescrizione
200 SuccessRichiesta elaborata OK.
400 Bad RequestValidazione input fallita.
401 UnauthorizedChiave API mancante o errata.
403 ForbiddenChiave inattiva o non consentita.
429 Rate LimitTroppe richieste.
500 Server ErrorErrore imprevisto.

Validate

mailchecker 0.0050 credits

Parameters

API Key
query · string · required
Email
query · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

API di Verifica Email — Practical Guide

A hands-on guide to validating emails with API di Verifica Email: what the endpoint does, when to use it, the parameters that actually matter, and how to act on the results to reduce bounces, catch typos, and keep your lists clean.

#What Mailchecker solves

The endpoint helps you prevent bounces, typos, and low-quality signups. Use it at signup, checkout, or list imports to assess trust and risk, and optionally suggest corrections.

#Endpoint & when to use it

#POST /v1/mailchecker — Validate Email

  • Best for: Inline form validation, CRM/ESP imports, fraud screening.
  • How it works: You send an email string; we return a quality score, trust/risk labels, provider hints, and recommendations.
  • Typical use: Client calls your backend; backend calls this endpoint and decides allow/confirm/block.

#Quick start

curl -X POST "https://api.yeb.to/v1/mailchecker" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: <YOUR_API_KEY>" \
  -d '{ "email": "[email protected]" }'
// JS Fetch example
fetch('https://api.yeb.to/v1/mailchecker', {
  method: 'POST',
  headers: {
    'X-API-Key': '<YOUR_API_KEY>',
    'Content-Type': 'application/json',
    'Accept': 'application/json'
  },
  body: JSON.stringify({ email: '[email protected]' })
})
.then(r => r.json())
.then(console.log)
.catch(console.error);

#Parameters that actually matter

ParamTypeRequiredPractical guidance
api_key string Yes Send via server or signed edge. Avoid exposing raw keys on the client.
email string Yes Trim spaces and lowercase the domain part. Validate that it’s a single address (no lists).

#Reading & acting on responses

{
  "email": "[email protected]",
  "trusted": "high",       // high | medium | low | unknown
  "score": 7,              // 0..10 (higher is better)
  "risk": "low",           // low | medium | high
  "knownProvider": true,   // e.g., Gmail, Outlook, iCloud, Yahoo, corporate domains, etc.
  "recommend": []          // suggestions (typo fixes or safer alternatives)
}
  • trusted — overall confidence bucket. Use this for quick allow/step-up decisions.
  • score — numeric quality (0–10). Great for thresholds (e.g., ≥6 allow, 3–5 require confirm, <3 block).
  • risk — conservative view of potential bounce/misuse.
  • knownProvidertrue for common mailbox providers; false could indicate typos or private MX.
  • recommend[] — suggested corrections (e.g., [email protected] if user typed gmal.com).

#Common scenarios

// Typo correction
{
  "email": "[email protected]",
  "trusted": "medium",
  "score": 5,
  "risk": "medium",
  "knownProvider": false,
  "recommend": ["[email protected]"]
}
// Disposable or risky domain
{
  "email": "[email protected]",
  "trusted": "low",
  "score": 2,
  "risk": "high",
  "knownProvider": false,
  "recommend": []
}

#Recommended actions

  • Allow immediately: trusted = high and risk = low, or score ≥ 7.
  • Step-up / confirm: score 3–6 → require email confirmation or show “Is this correct?” with recommend[].
  • Block or require alternate contact: score < 3 or risk = high → don’t send transactional mail to it.
  • Never silently “fix”: Offer suggested corrections; let the user choose.

#Practical recipes

  • Inline signup: On blur, validate; if recommend[] not empty, present a one-click replace.
  • Checkout fraud hardening: For new accounts with risk = high, add OTP or card 3DS challenge.
  • List import: Batch through your backend; quarantine score < 3 rows and auto-mail confirm for 3–5.

#Troubleshooting & field notes

  1. 422 “Missing email”: Send a non-empty email string.
  2. 401 Unauthorized: Check your X-API-Key header and account credits.
  3. Edge cases: Role accounts (e.g., info@) and private MX can be valid but lower trust; use the score threshold instead of hard-blocking.
  4. Rate limits: Debounce form inputs; validate on blur/submit, not every keystroke.

#API Changelog

2025-10-20
Normalized trust buckets (trusted: high/medium/low/unknown) and risk labels (risk: low/medium/high). Improved typo suggestions in recommend[] for common providers.
2025-10-11
Stabilized score scale to 0–10 and aligned thresholds for allow/confirm/block recipes.
2025-10-01
Initial public release of /mailchecker with provider detection and baseline recommendations.

Domande frequenti

Utilizza DNS multi-fase, MX ed euristiche per stimare la recapitabilità senza banner SMTP, mantenendola veloce e sicura.

No. Eseguiamo l'hash delle email in transito per le analisi; l'indirizzo in chiaro non viene mai scritto su disco.

Sì. Ogni richiesta, anche quelle che generano errori, consuma crediti. I tuoi crediti sono legati al numero di richieste, indipendentemente dal successo o dal fallimento. Se l'errore è chiaramente dovuto a un problema della piattaforma da parte nostra, ripristineremo i crediti interessati (nessun rimborso in contanti).

Contattaci a [email protected]. Prendiamo i feedback seriamente—se la tua segnalazione di bug o richiesta di funzionalità è significativa, possiamo correggere o migliorare l'API rapidamente e concederti 50 crediti gratuiti come ringraziamento.

Dipende dall'API e a volte anche dall'endpoint. Alcuni endpoint utilizzano dati da fonti esterne, che possono avere limiti più rigorosi. Imponiamo anche limiti per prevenire abusi e mantenere la nostra piattaforma stabile. Consulta la documentazione per il limite specifico di ogni endpoint.

Operiamo con un sistema di crediti. I crediti sono unità prepagate e non rimborsabili che spendi per chiamate API e strumenti. I crediti vengono consumati in ordine FIFO (i più vecchi per primi) e sono validi per 12 mesi dalla data di acquisto. La dashboard mostra ogni data di acquisto e la sua scadenza.

Sì. Tutti i crediti acquistati (inclusi i saldi frazionari) sono validi per 12 mesi dall'acquisto. I crediti non utilizzati scadono automaticamente e vengono eliminati permanentemente alla fine del periodo di validità. I crediti scaduti non possono essere ripristinati o convertiti in contanti o altro valore. Regola transitoria: i crediti acquistati prima del 22 set. 2025 sono trattati come acquistati il 22 set. 2025 e scadono il 22 set. 2026 (salvo diversa scadenza indicata all'acquisto).

Sì—entro il periodo di validità. I crediti non utilizzati rimangono disponibili e vengono riportati di mese in mese fino alla scadenza 12 mesi dopo l'acquisto.

I crediti sono non rimborsabili. Acquista solo ciò di cui hai bisogno—puoi sempre ricaricare in seguito. Se un errore della piattaforma causa un addebito fallito, possiamo ripristinare i crediti interessati dopo indagine. Nessun rimborso in contanti.

I prezzi sono fissati in crediti, non in dollari. Ogni endpoint ha il proprio costo—vedi il badge "Crediti / richiesta" sopra. Saprai sempre esattamente quanto stai spendendo.
← Torna alle API