Email-Validation.org Account API
Credits and usage.
Credits and usage.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/email-validation-org:email-validation-org-account-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: email-validation.org Account API
version: 1.0.0
summary: Validate email addresses one at a time or in bulk.
description: 'REST API of email-validation.org. Send your API key in the `Authorization` header as a bearer token
(or in `X-Api-Key`); keys in URLs are refused. Requests and responses are JSON (UTF-8), except bulk
uploads (CSV or plain text) and result downloads (CSV).
Results use five statuses (`valid`, `invalid`, `catch_all`, `unknown`, `disposable`), each with a reason and a
recommended action: spam traps and frequent complainers are `valid` with the action `remove`. `unknown` results
never cost a credit, and neither do errors.
Rate limits: up to 500 requests per second per account after a purchase (20 before),
and up to 500 requests per second from one IP address (IPv6: one /48), counted per Cloudflare data center.
Requests from Cloudflare Workers, which all share one address, count toward the per-IP limit only without a key.
After 20 requests with an invalid key in a minute, an IP address''s further invalid keys get 429 for up to a minute; valid keys keep working, on the global and the EU server alike.
Over a limit: `429 rate_limited` with `Retry-After`, never charged.
A method a path does not list here (for example `GET /v1/bulk` or `PUT /v1/validate`) answers
`405 invalid_request` with an `Allow` header naming the methods the path takes. Nothing is charged.
EU data residency: validated and stored in the EU. Send the same requests to https://api-eu.email-validation.org (the second server), where
`/v1/validate` takes the address in a POST body only. An account with EU-only processing gets
`403 forbidden` on https://api.email-validation.org. See https://email-validation.org/docs/eu-data-residency/.
Guides and examples: https://email-validation.org/docs/'
termsOfService: https://email-validation.org/legal/terms/
contact:
name: email-validation.org support
url: https://email-validation.org/contact/
email: support@email-validation.org
servers:
- url: https://api.email-validation.org
description: Production
- url: https://api-eu.email-validation.org
description: 'EU data residency: validated and stored in the EU'
security:
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: Account
description: Credits and usage.
paths:
/v1/credits:
get:
operationId: getCredits
tags:
- Account
summary: Get your credit balance
description: Returns the spendable balance, any debt, credits still being applied, and the credit lots with their expiry dates. Needs the `account:read` scope.
responses:
'200':
description: Your credits.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Credits'
example:
balance: 24350
debt: 0
pending: 0
lots:
- remaining: 850
expires_at: '2027-03-14T12:00:00.000Z'
- remaining: 23500
expires_at: '2028-09-30T08:15:00.000Z'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalError'
'503':
$ref: '#/components/responses/ServiceUnavailable'
/v1/usage:
get:
operationId: getUsage
tags:
- Account
summary: Get credit usage by day or by key
description: Credit usage for any window within the last 90 days. Daily credit totals come from the credit ledger and are exact; the split by status (API, MCP, dashboard and bulk results) is compiled from request records and is approximate (it can lag by up to an hour). `totals` are always the whole account; with `group_by=key` the items cover only credits spent through an API key. Needs the `account:read` scope.
parameters:
- $ref: '#/components/parameters/UsageFrom'
- $ref: '#/components/parameters/UsageTo'
- $ref: '#/components/parameters/UsageGroupBy'
responses:
'200':
description: Usage for the range.
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/UsageResponse'
examples:
by_day:
summary: Grouped by day
value:
from: '2026-10-19'
to: '2026-10-20'
group_by: day
totals:
credits_used: 1212
by_status:
valid: 1040
invalid: 121
catch_all: 42
unknown: 31
disposable: 9
items:
- date: '2026-10-19'
credits_used: 640
by_status:
valid: 552
invalid: 61
catch_all: 22
unknown: 17
disposable: 5
- date: '2026-10-20'
credits_used: 572
by_status:
valid: 488
invalid: 60
catch_all: 20
unknown: 14
disposable: 4
by_key:
summary: Grouped by API key
value:
from: '2026-10-19'
to: '2026-10-20'
group_by: key
totals:
credits_used: 1212
by_status:
valid: 1040
invalid: 121
catch_all: 42
unknown: 31
disposable: 9
items:
- key_id: key_5Dt1RmZ8vK3qP7xL2nH6sC
name: Production server
last4: x7Qa
credits_used: 1212
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalError'
'503':
$ref: '#/components/responses/ServiceUnavailable'
components:
responses:
Unauthorized:
description: 'The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: `unauthorized`.'
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
WWW-Authenticate:
$ref: '#/components/headers/WwwAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
unauthorized:
summary: unauthorized
value:
error:
code: unauthorized
message: A valid API key or session is required.
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
missing_key:
summary: No API key sent
value:
error:
code: unauthorized
message: 'Send your API key in the Authorization header: Bearer <key>.'
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
invalid_key:
summary: API key not valid
value:
error:
code: unauthorized
message: The API key is not valid.
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
Forbidden:
description: 'The key may not do this. Codes: `forbidden`, `forbidden_origin`.'
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
forbidden:
summary: forbidden
value:
error:
code: forbidden
message: You do not have access to this resource.
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
forbidden_origin:
summary: forbidden_origin
value:
error:
code: forbidden_origin
message: This API key is not allowed from this origin.
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
eu_only:
summary: Account with EU-only processing, request sent to https://api.email-validation.org
value:
error:
code: forbidden
message: This account validates in the EU only. Send requests to https://api-eu.email-validation.org.
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
ServiceUnavailable:
description: 'Temporarily unavailable. No credit was used; retry after `Retry-After` seconds. Codes: `service_unavailable`.'
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
service_unavailable:
summary: service_unavailable
value:
error:
code: service_unavailable
message: The service is temporarily unavailable. Please retry later.
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
InternalError:
description: 'Something failed on our side. No credit was used. Codes: `internal_error`.'
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
internal_error:
summary: internal_error
value:
error:
code: internal_error
message: Something went wrong on our side. Please retry.
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
TooManyRequests:
description: 'Slow down and retry after `Retry-After` seconds: over the account''s or key''s per-second limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. Codes: `rate_limited`.'
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
rate_limited:
summary: rate_limited
value:
error:
code: rate_limited
message: Too many requests. Slow down and retry later.
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
BadRequest:
description: 'The request is not valid. Codes: `invalid_request`.'
headers:
X-Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
invalid_request:
summary: invalid_request
value:
error:
code: invalid_request
message: The request is invalid.
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
key_in_url:
summary: API key sent in the URL
value:
error:
code: invalid_request
message: Send the key in the Authorization header, not in the URL. See https://email-validation.org/docs/authentication/
request_id: req_7Hq2LmX9cV4bN8tR1zK6wD
schemas:
Credits:
type: object
additionalProperties: false
required:
- balance
- debt
- pending
- lots
properties:
balance:
type: integer
description: Credits you can spend now.
debt:
type: integer
minimum: 0
description: Credits owed after a refund or reversal; new credits pay this off first.
pending:
type: integer
minimum: 0
description: Credits granted moments ago that are still being applied. They become spendable shortly.
lots:
type: array
description: Credit lots with credits left, soonest-expiring first. Credits are spent in this order.
items:
$ref: '#/components/schemas/CreditLot'
UsageTotals:
type: object
description: 'Totals of the whole account for the range, whatever `group_by`: API, MCP, dashboard and bulk usage. With `group_by=key` they can be larger than the sum of the items, because bulk jobs and dashboard checks are not tied to a key.'
additionalProperties: false
required:
- credits_used
- by_status
properties:
credits_used:
type: integer
minimum: 0
description: Credits used in the range, from the credit ledger (exact).
by_status:
$ref: '#/components/schemas/StatusCountsApprox'
UsageResponse:
type: object
additionalProperties: false
required:
- from
- to
- group_by
- totals
- items
properties:
from:
type: string
format: date
description: First day included (UTC).
to:
type: string
format: date
description: Last day included (UTC).
group_by:
type: string
enum:
- day
- key
description: One item per `day` or per API `key`.
totals:
$ref: '#/components/schemas/UsageTotals'
items:
type: array
description: One item per day (`group_by=day`) or per API key (`group_by=key`).
items:
oneOf:
- $ref: '#/components/schemas/UsageDay'
- $ref: '#/components/schemas/UsageByKey'
UsageDay:
type: object
additionalProperties: false
required:
- date
- credits_used
- by_status
properties:
date:
type: string
format: date
credits_used:
type: integer
minimum: 0
description: Credits used that day, from the credit ledger (exact).
by_status:
$ref: '#/components/schemas/StatusCountsApprox'
StatusCountsApprox:
type: object
description: Results by status (approximate; may lag by up to an hour).
additionalProperties: false
properties:
valid:
type: integer
minimum: 0
invalid:
type: integer
minimum: 0
catch_all:
type: integer
minimum: 0
unknown:
type: integer
minimum: 0
disposable:
type: integer
minimum: 0
required:
- valid
- invalid
- catch_all
- unknown
- disposable
CreditLot:
type: object
additionalProperties: false
required:
- remaining
- expires_at
properties:
remaining:
type: integer
description: Credits left in this lot.
expires_at:
type: string
format: date-time
description: When the credits in this lot expire.
Error:
type: object
description: Every error uses this envelope. No credit is ever charged for a request that ends in an error.
additionalProperties: false
required:
- error
properties:
error:
type: object
additionalProperties: false
required:
- code
- message
- request_id
properties:
code:
$ref: '#/components/schemas/ErrorCode'
message:
type: string
description: Explanation for people, in English. It may change; do not parse it.
request_id:
type: string
pattern: ^req_[0-9A-Za-z]{22}$
description: Our id for this request. Keep it in your logs, and quote it in a billing or legal dispute sent to legal@email-validation.org, which a person reads; the AI support assistant cannot look requests up.
ErrorCode:
type: string
enum:
- invalid_request
- unauthorized
- insufficient_credits
- forbidden
- forbidden_origin
- not_found
- conflict
- length_required
- payload_too_large
- rate_limited
- abuse_throttled
- key_daily_cap
- internal_error
- service_unavailable
- upstream_capacity
description: 'Stable, machine-readable error code. Branch on this, not on the message.
| Code | HTTP | When |
|---|---|---|
| `invalid_request` | 400, 405 | A parameter is missing, has the wrong type or is out of range, the `Authorization` header is not `Bearer <key>`, or the API key was sent in the URL (a query parameter named `api_key` in any spelling, such as `apiKey` or `API-KEY`, or any query value that looks like a key). The message names the fields at fault. A method the path does not take (such as `GET /v1/bulk`) is a `405` with an `Allow` header that lists the methods it does take. |
| `unauthorized` | 401 | No API key was sent, or the key is not valid: unknown, revoked, expired or replaced by a roll. |
| `insufficient_credits` | 402 | The account has no credits left for this request (or not enough for a bulk job). |
| `forbidden` | 403 | The key lacks the scope this endpoint needs (for example `bulk`), the account is suspended or on a billing hold, or the account has EU-only processing turned on and the request went to https://api.email-validation.org. |
| `forbidden_origin` | 403 | The key is restricted to a list of browser origins and the request came from another `Origin`. |
| `not_found` | 404 | The resource does not exist or belongs to another account. |
| `conflict` | 409 | The request does not fit the current state of the resource, such as starting a bulk job that is already running or downloading results before a job has finished. |
| `length_required` | 411 | A bulk upload was sent without a `Content-Length` header (for example as a chunked stream). |
| `payload_too_large` | 413 | The request body is over the limit: 100 MB for a CSV or TXT bulk upload, 100,000 addresses or 4 MB for a JSON list, 4 MB for an MCP message, 4 KB for a `POST /v1/validate` body. |
| `rate_limited` | 429 | The account or key sent more requests per second than its limit allows, the IP address sent more than 500 requests per second (Cloudflare Workers, which all share one address, count only without a key), or the IP address sent more than 20 requests with an invalid key in a minute (its further invalid keys get this for up to a minute; valid keys keep working). |
| `abuse_throttled` | 429 | Too many recent requests ended without a definite answer (free outcomes) compared with charged ones, or an account without a purchase reached its daily number of checks (single checks, lists and the checker on our site together), so the account is slowed down or paused until the time in `Retry-After` (the message gives it when the pause is long). |
| `key_daily_cap` | 429 | This key reached the daily credit cap set for it in the dashboard. |
| `internal_error` | 500 | Something failed on our side. No credit was used. |
| `service_unavailable` | 503 | Validation is paused for a short time, for example while a dependency recovers. No credit was used. |
| `upstream_capacity` | 503 | A bulk job could not be admitted right now because validation capacity is limited. No credit was used. |'
UsageByKey:
type: object
additionalProperties: false
required:
- key_id
- name
- last4
- credits_used
properties:
key_id:
type: string
pattern: ^key_[0-9A-Za-z]{22}$
description: API key id (never the key itself).
name:
type:
- string
- 'null'
description: The name you gave the key (null for a deleted key).
last4:
type:
- string
- 'null'
description: Last 4 characters of the key, as shown in the dashboard.
credits_used:
type: integer
minimum: 0
description: Credits used with this key in the range, from the credit ledger (exact). Bulk jobs and dashboard checks are not attributed to a key.
headers:
WwwAuthenticate:
description: Authentication scheme.
schema:
type: string
example: Bearer realm="api"
RequestId:
description: Our id for the request (same as `request_id` in bodies).
schema:
type: string
pattern: ^req_[0-9A-Za-z]{22}$
description: Our id for this request. Keep it in your logs, and quote it in a billing or legal dispute sent to legal@email-validation.org, which a person reads; the AI support assistant cannot look requests up.
RetryAfter:
description: Seconds to wait before retrying.
schema:
type: integer
minimum: 0
parameters:
UsageGroupBy:
name: group_by
in: query
required: false
description: Group the usage by day or by API key.
schema:
type: string
enum:
- day
- key
default: day
UsageFrom:
name: from
in: query
required: false
description: 'First day (UTC, `YYYY-MM-DD`), no earlier than 89 days before today: usage covers the last 90 days. Defaults to the start of the 90-day range that ends on `to`.'
schema:
type: string
format: date
UsageTo:
name: to
in: query
required: false
description: Last day (UTC). Defaults to today. The whole window must lie within the last 90 days (today included); an earlier day is a `400`.
schema:
type: string
format: date
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: ev_live_…
description: 'Your API key as a bearer token: `Authorization: Bearer ev_live_…`.'
apiKeyHeader:
type: apiKey
in: header
name: X-Api-Key
description: Alternative header for clients that cannot set `Authorization`.
externalDocs:
description: Documentation
url: https://email-validation.org/docs/