Email-Validation.org MCP API

Model Context Protocol endpoint for AI agents.

GitHub OpenAPI

Operations 2

POST /mcp MCP endpoint (Streamable HTTP) #
GET /mcp MCP event stream (not offered) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/email-validation-org:email-validation-org-mcp-api"
All apis
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.

Get an API 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 Specification

email-validation-org-mcp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: email-validation.org MCP 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: MCP
  description: Model Context Protocol endpoint for AI agents.
  externalDocs:
    url: https://email-validation.org/docs/mcp/
paths:
  /mcp:
    post:
      operationId: mcpRequest
      tags:
      - MCP
      summary: MCP endpoint (Streamable HTTP)
      description: 'Model Context Protocol endpoint for AI agents and MCP clients (stateless Streamable HTTP, JSON-RPC 2.0). Tools: `validate_email`, `get_credits`, `create_bulk_job` (up to 10,000 addresses inline) and `get_bulk_job`. Authenticate with the same API key as the REST API; tool calls use the same credits, limits and rules. A message is at most 4 MB (`413` above). Setup: https://email-validation.org/docs/mcp/'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: A JSON-RPC 2.0 message.
      responses:
        '200':
          description: A JSON-RPC response, as JSON or as a server-sent event stream.
          content:
            application/json:
              schema:
                type: object
            text/event-stream:
              schema:
                type: string
        '202':
          description: A notification was accepted.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '413':
          $ref: '#/components/responses/PayloadTooLarge'
        '429':
          $ref: '#/components/responses/TooManyRequests'
    get:
      operationId: mcpStream
      tags:
      - MCP
      summary: MCP event stream (not offered)
      description: 'The server is stateless and does not open server-initiated streams, so `GET` answers 405. The key is checked first: without a valid key the answer is 401 (or 400 for a key in the URL).'
      responses:
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '405':
          description: Method not allowed.
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  headers:
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 0
    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.
  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
    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
    PayloadTooLarge:
      description: 'The body is too large. Codes: `payload_too_large`.'
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            payload_too_large:
              summary: payload_too_large
              value:
                error:
                  code: payload_too_large
                  message: The request body is too large.
                  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:
    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. |'
  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/