Developers
A small API that does one thing well.
JSON over HTTPS, Bearer keys, predictable errors. The full guides and the API reference live in the docs.
curl https://api.mails.fit/v1/verify \
-H "Authorization: Bearer $MAILSFIT_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "jane@example.com"}'let res: serde_json::Value = reqwest::Client::new()
.post("https://api.mails.fit/v1/verify")
.bearer_auth(std::env::var("MAILSFIT_KEY")?)
.json(&serde_json::json!({ "email": "jane@example.com" }))
.send().await?
.json().await?;
println!("{} ({})", res["status"], res["score"]);const res = await fetch("https://api.mails.fit/v1/verify", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.MAILSFIT_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ email: "jane@example.com" }),
});
const { status, score, reason } = await res.json();import os, requests
res = requests.post(
"https://api.mails.fit/v1/verify",
headers={"Authorization": f"Bearer {os.environ['MAILSFIT_KEY']}"},
json={"email": "jane@example.com"},
timeout=30,
)
print(res.json()["status"])# Claude Code
claude mcp add --transport http mailsfit https://mcp.mails.fit/mcp \
--header "Authorization: Bearer $MAILSFIT_KEY"
# Any MCP client (JSON config)
{ "mcpServers": { "mailsfit": {
"url": "https://mcp.mails.fit/mcp",
"headers": { "Authorization": "Bearer mf_live_…" } } } }Endpoints
| Method | Path | What it does |
|---|---|---|
| POST | /v1/verify | Verify one address. Waits up to 25 s for the mailbox probe. |
| POST | /v1/lists | Create a bulk job from an upload (CSV, XLSX) or a JSON array. |
| GET | /v1/lists/{id} | Progress and counts by status. |
| GET | /v1/lists/{id}/download | Results, filtered with ?filter=deliverable|risky|undeliverable|unknown. |
| POST | /v1/verify/batch | Verify up to 100 addresses in one call. |
| GET | /v1/openapi.json | The OpenAPI document for every endpoint. |
Response
Every result has a status, a 0–100 score, a machine-readable reason and the raw flags behind it.
{
"id": 1842,
"state": "done", // done | pending (202: poll GET /v1/verify/{id})
"email": "jane@example.com",
"status": "deliverable", // deliverable | risky | undeliverable | unknown
"reason": "accepted", // e.g. user_unknown, catch_all, disposable, no_mx
"score": 95, // 0–100
"suggestion": null, // e.g. "jane@gmail.com" for "jane@gmial.com"
"did_you_mean": null, // same as suggestion
"mx_found": true,
"disposable": false, "free": false, "role": false,
"catch_all": false,
"mx_group": "other", // google | microsoft | yahoo | mimecast | other
"smtp_provider": "other", // same as mx_group
"mx_host": "mx.example.com", "smtp_code": 250
}The details
Authentication
Keys start with
mf_live_. Send them asAuthorization: Bearer …. We store only a hash; a key is shown once.Rate limits
Per key, with
429and aRetry-Afterheader when you go over.Credits
Reserved when a check starts, committed on the result, refunded on unknown. Never charged twice for the same address in a list.
Webhooks
List completion events signed with HMAC-SHA256 so you can verify they came from us.
AI agents
Use mails.fit from Claude in one line.
The hosted MCP server gives Claude, Cursor and any MCP client tools to verify addresses and lists and to check DNS and blocklists, with your own key.
claude mcp add --transport http mailsfit https://mcp.mails.fit/mcp --header "Authorization: Bearer $MAILSFIT_KEY"Your first 100 checks are on us.
Create an account in under a minute. No credit card, no trial clock.
Get 100 free credits