API overview

A small API that does one job well.

Four endpoints, JSON in and out, one API key. Verify a single email in real time or send a whole list as a bulk job.

Authentication

Create a key in the app under API keys. Send it as a bearer token on every request.

Base URL
https://app.flatverify.com/api/v1
Header
Authorization: Bearer YOUR_API_KEY
Format
application/json

Endpoints

  • POST/verifyVerify one email and get the result right away.
  • POST/verify/bulkSend a list. Returns a job id.
  • GET/jobs/:idJob status, and the results once it is done.
  • GET/jobsYour bulk jobs, newest first. Filter by status, for example only finished ones.

Verify one email

Best for signup forms and real time checks. The answer comes back in the same request.

RequestPOST /verify
curl -X POST https://app.flatverify.com/api/v1/verify \
  -H "Authorization: Bearer $FLATVERIFY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "maya@example.com"}'
Response200 OK
{
  "email": "maya@example.com",
  "status": "valid",
  "sub_status": "accepted",
  "reason": "accepted",
  "disposable": false,
  "role": false,
  "free": false,
  "catch_all": false
}

Bulk jobs

Send a list and get a job id back. The job runs in the background at your rate. Poll the job until its status is done, then read the results.

RequestPOST /verify/bulk
curl -X POST https://app.flatverify.com/api/v1/verify/bulk \
  -H "Authorization: Bearer $FLATVERIFY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"emails": ["maya@example.com", "sales@example.org"]}'
Response202 Accepted
{
  "id": "8f2c41d0-5b7e-4c1a-9e3f-2a6d1b0c7e94",
  "status": "queued",
  "total": 2,
  "processed": 0
}
RequestGET /jobs/:id
curl https://app.flatverify.com/api/v1/jobs/8f2c41d0-5b7e-4c1a-9e3f-2a6d1b0c7e94 \
  -H "Authorization: Bearer $FLATVERIFY_KEY"

To see all your jobs, call GET /jobs. It lists the newest first, up to 100 at a time. Add status=done to get only finished jobs, ordered by when they finished. That's the call to poll if you want to act each time a list is ready. When has_more is true, pass next_before as before to get the next page.

RequestGET /jobs?status=done
curl "https://app.flatverify.com/api/v1/jobs?status=done&limit=25" \
  -H "Authorization: Bearer $FLATVERIFY_KEY"
Response200 OK
{
  "jobs": [
    { "id": "8f2c41d0-5b7e-4c1a-9e3f-2a6d1b0c7e94", "status": "done", "total": 2, ... }
  ],
  "has_more": false,
  "next_before": null
}

Results

Every email gets exactly one result.

  • ValidvalidThe mailbox exists and accepts mail. Safe to send.
  • InvalidinvalidThe address or domain cannot receive mail. Remove it.
  • RiskyriskyIt may work but needs care. The sub_status says why, for example catch_all or disposable.
  • UnknownunknownNo clear answer this time. Try again later.

Every result also has a sub_status that says why.

  • acceptedValid. The mailbox exists and accepts mail.
  • role_accountA shared address like info@, sales@ or support@.
  • catch_allThe domain accepts mail for any address, so the mailbox cannot be confirmed.
  • disposableA throwaway address from a temporary inbox service.
  • mailbox_not_foundThe mail server says this mailbox does not exist.
  • no_mail_serverThe domain cannot receive mail.
  • mailbox_fullThe mailbox exists but is full.
  • possible_trapLooks like a spam trap. Do not send.
  • unconfirmedThe mailbox may exist, but the answer is not certain.
  • greylisted, timeout, no_answerThe mail server gave no clear answer this time. Check again later.
  • antispam_systemThe domain's anti-spam system does not allow checks.
  • bad_syntaxNot a valid email address.

Flags add detail to every result. Each one is true or false.

  • catch_allThe domain accepts mail for any address, so the mailbox cannot be confirmed.
  • disposableA throwaway address from a temporary inbox service.
  • roleA shared address like info@, sales@ or support@.

Rate limits

Every plan is unlimited, with no daily or monthly cap and nothing billed extra. Plans differ only in speed. If you send faster than your plan, the API answers 429 with a Retry-After header in seconds; wait and carry on. Bulk jobs pace themselves.

PlanPer minute
Flat25
Flat Pro50
Unlimited150
Free trial10
Response429
HTTP/1.1 429 Too Many Requests
Retry-After: 12

{
  "error": {
    "code": "rate_limited",
    "message": "Per minute limit reached. Retry after 12 seconds."
  }
}

CSV upload

No code needed. In the app, upload a CSV with an email column. It runs as a bulk job at your rate and you download the file with a result for every row.