Single verification
POST /api/v1/verify: synchronous result with status, reason, flags, suggested correction and score.
Validate email addresses within your applications, signup forms, CRM systems and automated workflows using the MailSpecto API.
One POST returns a status, a 0–100 score with a recommendation, and the evidence behind it.
Request
curl -s https://api.mailspecto.com/api/v1/verify \
-H "Authorization: Bearer $MAILSPECTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]"}'Response (shortened) · 200 OK
{
"email_normalized": "[email protected]",
"status": "mailbox_exists",
"reason_code": "mailbox_exists",
"mailbox_verified": true,
"flags": {"is_disposable": false, "is_role_account": false,
"has_typo_suggestion": false},
"suggested_correction": null,
"score": {"value": 95, "recommendation": "send",
"components": [{"code": "mailbox_confirmed", "points": 95}],
"version": "1"},
"duration_ms": 1240.5
}All examples call the same endpoint, POST /api/v1/verify, with the key in the Authorization header. Keep the key on your server, never in browser code.
curl -s https://api.mailspecto.com/api/v1/verify \
-H "Authorization: Bearer $MAILSPECTO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]"}'import os
import requests
resp = requests.post(
"https://api.mailspecto.com/api/v1/verify",
headers={"Authorization": f"Bearer {os.environ['MAILSPECTO_API_KEY']}"},
json={"email": "[email protected]"},
timeout=30,
)
resp.raise_for_status()
result = resp.json()
print(result["status"], result["score"]["recommendation"])// Node.js 18+ (server side: never put the API key in browser code)
const resp = await fetch("https://api.mailspecto.com/api/v1/verify", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.MAILSPECTO_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ email: "[email protected]" }),
});
if (!resp.ok) throw new Error(`MailSpecto API error ${resp.status}`);
const result = await resp.json();
console.log(result.status, result.score.recommendation);<?php
$ch = curl_init('https://api.mailspecto.com/api/v1/verify');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('MAILSPECTO_API_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode(['email' => '[email protected]']),
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
$result = json_decode($body, true);
echo $status === 200 ? $result['status'] : $result['error']['code'];// .NET 6+
using System.Net.Http.Headers;
using System.Net.Http.Json;
using System.Text.Json;
using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
"Bearer", Environment.GetEnvironmentVariable("MAILSPECTO_API_KEY"));
var resp = await http.PostAsJsonAsync("https://api.mailspecto.com/api/v1/verify",
new { email = "[email protected]" });
resp.EnsureSuccessStatusCode();
var result = await resp.Content.ReadFromJsonAsync<JsonElement>();
Console.WriteLine(result.GetProperty("status").GetString());package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
)
func main() {
body, _ := json.Marshal(map[string]string{"email": "[email protected]"})
req, _ := http.NewRequest("POST", "https://api.mailspecto.com/api/v1/verify", bytes.NewReader(body))
req.Header.Set("Authorization", "Bearer "+os.Getenv("MAILSPECTO_API_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
var result struct {
Status string `json:"status"`
Score struct {
Value int `json:"value"`
Recommendation string `json:"recommendation"`
} `json:"score"`
}
if err := json.NewDecoder(resp.Body).Decode(&result); err != nil {
panic(err)
}
fmt.Println(resp.StatusCode, result.Status, result.Score.Recommendation)
}// Cargo.toml: reqwest = { version = "0.12", features = ["blocking", "json"] }, serde_json = "1"
use serde_json::{json, Value};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let key = std::env::var("MAILSPECTO_API_KEY")?;
let result: Value = reqwest::blocking::Client::new()
.post("https://api.mailspecto.com/api/v1/verify")
.bearer_auth(key)
.json(&json!({ "email": "[email protected]" }))
.send()?
.error_for_status()?
.json()?;
println!("{} {}", result["status"], result["score"]["recommendation"]);
Ok(())
}POST /api/v1/verify: synchronous result with status, reason, flags, suggested correction and score.
POST /api/v1/jobs with a CSV, free pre-import audit (/jobs/preview), results with filters and CSV export. Idempotency-Key prevents duplicate jobs.
Notifications when a job or an integration sync finishes or fails, and when credits run low.
POST /api/v1/domains/check audits SPF, DKIM, DMARC, MX, MTA-STS, TLS-RPT and BIMI, without using credits.
GET /api/v1/stats, GET /api/v1/credits and a credit ledger for your own reporting.
Every error has the same JSON shape with a code, a message and a request_id for support.
| Topic | How it works |
|---|---|
| Authentication | Authorization: Bearer <key> (or X-API-Key). Keys have scopes (verify, jobs:read, jobs:write, stats:read, credits:read) and an optional IP allowlist. |
| Rate limits | Default 120 verifications per minute per key, 10 job operations per minute, 600 reads per minute. Every response carries X-RateLimit-* headers; 429 adds Retry-After. |
| Request limits | JSON body up to 64 KiB; CSV up to 5 MiB, 10,000 rows, 50 columns; 3 active jobs per organisation. |
| Response format | JSON. Dates in ISO 8601 UTC, identifiers as UUIDs, pagination with limit and offset. |
| Errors | {"error": {"code", "message", "request_id", "details"}} with standard HTTP codes (401, 402, 403, 404, 409, 422, 429). |
| Versioning | All endpoints live under /api/v1/. The score has its own version field. |
| Billing | 1 credit per verified address; rows rejected at import, duplicates and domain audits are free. |
Full reference: API documentation.
Reject impossible addresses and offer a correction for typos before the account is created.
Check contacts when they are created or imported.
Make sure order confirmations reach the buyer.
Reduce fake and disposable sign-ups on free plans.
Score leads from forms and ads before they reach sales.
Verify contacts as a step in your workflows.
Some platforms are connected natively in the panel; anything else can call the REST API.
| Platform | How it connects |
|---|---|
| MailerLite, GetResponse, Mailchimp, Brevo, ActiveCampaign | Native integration in the panel: fetch active contacts, verify, write results into contact fields. |
| n8n, Make, Zapier | Through their generic HTTP request step calling the REST API. There is no dedicated MailSpecto app or node yet. |
| CRM systems and custom applications | Directly through the REST API and webhooks. |
Product names belong to their owners. MailSpecto is not a certified partner of these platforms.
401 as an unknown key1 credit = 1 checked address. Buy a one-off package or choose a subscription. The packages are the business offer; the MailSpecto Free account is free of charge.
5,000 credits / month
PLN 129net / month
PLN 25.80 per 1,000 checks
25,000 credits / month
PLN 449net / month
PLN 17.96 per 1,000 checks
For large databases and IT teams
Custom quote
Under a contract
Package credits never expire.
1,000 credits
PLN 39
PLN 39.00 per 1,000
10,000 credits
PLN 249
PLN 24.90 per 1,000
50,000 credits
PLN 990
PLN 19.80 per 1,000
100,000 credits
PLN 1,490
PLN 14.90 per 1,000
Create an account, then generate a key in the panel under API keys. The key is shown once; choose its scopes and, optionally, the IP addresses allowed to use it.
POST /api/v1/verify returns the result in the same response, usually within seconds. Lists go through asynchronous jobs (POST /api/v1/jobs) that you poll or receive via webhook.
The normalised address, a status, a reason code, flags (disposable, role account, typo, plus-addressing, internationalised), a suggested correction, the evidence of each check and a 0–100 score with a recommendation.
Do not put the key in front-end code. Call MailSpecto from your server and pass only the decision to the browser.
By default 120 verifications per minute per key, 10 job operations and 600 reads per minute. Limits are returned in X-RateLimit-* headers.
With credits: 1 credit per verified address. Domain audits, rows rejected at import and duplicates are free. See the pricing section on this page.
Not yet. The API is plain REST with JSON, so any HTTP client works; the examples above cover cURL, Python, JavaScript, PHP, C#, Go and Rust.
Not a dedicated one. Use the HTTP request step of n8n, Make or Zapier with your API key; native integrations exist for MailerLite, GetResponse, Mailchimp, Brevo and ActiveCampaign.
Create an account, generate a scoped key and make your first call in minutes.