IP-API.io Email Validation API

Comprehensive email validation and analysis service for fraud prevention and data quality. **Validation Features**: - RFC 5322/5321 syntax compliance checking - Real-time MX record verification - Disposable email provider detection (10,000+ domains) - Typosquatting and misspelling detection - Free email provider identification - Role-based email detection (admin@, noreply@, etc.) **Use Cases**: - User registration validation - Marketing list cleaning - Fraud prevention workflows - Data quality assurance - Compliance verification **Performance**: Typical response time < 150ms with 99.9% uptime SLA

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /api/v1/email/{email} Comprehensive email validation and analysis #

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/ip-api-io:ip-api-io-email-validation-api-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

ip-api-io-email-validation-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: IP-API.io - IP Geolocation & Security Email Validation API
  description: 'Comprehensive IP address intelligence API providing geolocation, security analysis, and network information.


    Features:

    - Real-time IP geolocation with city-level accuracy

    - Advanced threat detection and security scoring

    - VPN, proxy, and Tor node detection

    - Email validation and reputation analysis

    - Email / ip risk scoring for fraud prevention


    Perfect for fraud prevention, security applications, content personalization, and compliance requirements.'
  contact:
    name: IP-API.io Support
    url: https://ip-api.io
    email: support@ip-api.io
  license:
    name: Commercial License
    url: https://ip-api.io
  version: 1.0.0
servers:
- url: https://ip-api.io
  description: Production server
security:
- ApiKeyAuth: []
tags:
- name: Email Validation API
  description: 'Comprehensive email validation and analysis service for fraud prevention and data quality.


    **Validation Features**:

    - RFC 5322/5321 syntax compliance checking

    - Real-time MX record verification

    - Disposable email provider detection (10,000+ domains)

    - Typosquatting and misspelling detection

    - Free email provider identification

    - Role-based email detection (admin@, noreply@, etc.)


    **Use Cases**:

    - User registration validation

    - Marketing list cleaning

    - Fraud prevention workflows

    - Data quality assurance

    - Compliance verification


    **Performance**: Typical response time < 150ms with 99.9% uptime SLA'
paths:
  /api/v1/email/{email}:
    get:
      tags:
      - Email Validation API
      summary: Comprehensive email validation and analysis
      description: 'Performs detailed validation and analysis of an email address for fraud prevention and data quality.


        **Validation Process**:

        1. **Syntax Validation**: RFC 5322 compliance checking

        2. **Domain Analysis**: MX record verification and domain reputation

        3. **Provider Detection**: Identifies disposable, free, and role-based emails

        4. **Security Checks**: Typosquatting and suspicious pattern detection

        5. **Deliverability Assessment**: Real-time SMTP verification (optional)


        **Response Includes**:

        - Detailed validation results with specific error reasons

        - Domain and username breakdown

        - Disposable email service detection

        - Syntax compliance status


        **Performance**: Cached results for improved response times on repeated queries'
      operationId: getEmailInfo
      parameters:
      - name: email
        in: path
        description: "Email address to validate and analyze. Must be properly URL-encoded if containing special characters.\n\n**Supported Formats**:\n- Standard emails: user@domain.com\n- Plus addressing: user+tag@domain.com  \n- Internationalized domains: user@münchen.de\n- Quoted local parts: \"user name\"@domain.com\n\n**Size Limits**: Maximum 320 characters (64 for local part + 255 for domain)\n**Encoding**: URL encoding required for special characters\n\n**Examples**:\n- Simple: john.doe@company.com\n- Complex: \"test user\"@sub.domain.co.uk\n- International: user@exämple.com"
        required: true
        schema:
          type: string
        example: john.doe@company.com
      responses:
        '200':
          description: Email validation completed successfully with detailed analysis results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailInfoV1Dto'
        '400':
          description: Bad Request - Invalid email format or missing email parameter
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/EmailInfoV1Dto'
        '422':
          description: Unprocessable Entity - Email format acceptable but domain cannot be validated
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/EmailInfoV1Dto'
        '429':
          description: Too Many Requests - Rate limit exceeded (check X-RateLimit-* headers)
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/EmailInfoV1Dto'
        '500':
          description: Internal Server Error - Email validation service temporarily unavailable
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/EmailInfoV1Dto'
components:
  schemas:
    MxRecord:
      type: object
      properties:
        priority:
          type: integer
          format: int32
        hostname:
          type: string
        ttl:
          type: integer
          format: int64
      required:
      - hostname
      - priority
      - ttl
    EmailInfoV1Dto:
      type: object
      description: "Comprehensive email validation response with detailed analysis results.\n\nProvides complete validation information including syntax compliance,\ndisposable email detection, and detailed breakdown of email components.\n\n**Use Cases**:\n- User registration validation\n- Fraud prevention screening  \n- Marketing list quality control\n- Compliance verification"
      example:
        email: john.doe@company.com
        is_disposable: false
        syntax:
          domain: company.com
          username: john.doe
          is_valid: true
          error_reasons: []
      properties:
        email:
          type: string
          description: 'The email address that was analyzed, returned in normalized lowercase format.


            **Normalization Applied**:

            - Converted to lowercase

            - Whitespace trimmed

            - Unicode normalization (NFC)

            - Punycode encoding for international domains


            **Note**: The returned format may differ slightly from input due to normalization'
          example: john.doe@company.com
        is_disposable:
          type: boolean
          description: 'Indicates whether the email address uses a disposable or temporary email service.


            **Disposable Email Characteristics**:

            - Temporary email addresses that auto-expire

            - One-time use email services

            - Anonymous email generators

            - Throwaway email providers


            **Detection Method**: Real-time lookup against 10,000+ known disposable domains

            **Risk Level**: High for fraud prevention use cases

            **Update Frequency**: Daily threat intelligence updates'
          example: false
        has_mx_records:
          type: boolean
          description: Whether the email domain has valid MX records in DNS. False when no records exist or DNS lookup fails.
          example: true
        mx_records:
          type: array
          description: MX records for the email domain, sorted by priority ascending. Empty when has_mx_records is false.
          items:
            $ref: '#/components/schemas/MxRecord'
        syntax:
          $ref: '#/components/schemas/Syntax'
          description: 'Detailed syntax validation results and email component breakdown.


            Provides granular analysis of email structure including domain and username

            validation, compliance checking, and specific error identification.'
      required:
      - email
      - has_mx_records
      - is_disposable
      - mx_records
      - syntax
    Syntax:
      type: object
      description: 'Detailed email syntax validation results and component analysis.


        Breaks down the email address into its constituent parts and provides

        comprehensive validation status with specific error identification.


        **Validation Standards**: RFC 5322, RFC 5321, RFC 6531 (internationalized email)'
      example:
        domain: company.com
        username: john.doe
        is_valid: true
        error_reasons: []
      properties:
        domain:
          type:
          - string
          - 'null'
          description: 'Domain portion of the email address (everything after the @ symbol).


            **Validation Includes**:

            - Valid domain format checking

            - TLD (Top Level Domain) verification

            - Internationalized domain support

            - Punycode conversion for Unicode domains


            **Null when**: Syntax is so malformed that domain cannot be extracted

            **Examples**: "company.com", "sub.domain.co.uk", "xn--fsq.xn--0zwm56d" (Chinese domain)'
          example: company.com
        username:
          type:
          - string
          - 'null'
          description: 'Username (local) portion of the email address (everything before the @ symbol).


            **Validation Includes**:

            - Character set compliance

            - Length restrictions (max 64 characters)

            - Special character handling

            - Quoted string support

            - Dot notation rules


            **Null when**: Syntax is so malformed that username cannot be extracted

            **Examples**: "john.doe", "user+tag", "\"special user\"", "a\"'
          example: john.doe
        is_valid:
          type: boolean
          description: 'Overall syntax validity according to RFC standards.


            **Validation Criteria**:

            - RFC 5322 compliance (Internet Message Format)

            - RFC 5321 compliance (SMTP)

            - Proper @ symbol placement (exactly one)

            - Valid local part format

            - Valid domain part format

            - Character encoding compliance

            - Length limitations adherence


            **Note**: Valid syntax does not guarantee email deliverability'
          example: true
        error_reasons:
          type: array
          description: 'Specific validation errors found during syntax analysis.


            **Common Error Types**:

            - "Missing @ symbol"

            - "Multiple @ symbols found"

            - "Invalid domain format"

            - "Username too long (max 64 characters)"

            - "Invalid characters in username"

            - "Domain too long (max 255 characters)"

            - "Empty username or domain"

            - "Consecutive dots in domain"

            - "Leading/trailing dots"


            **Empty Array**: When email syntax is valid (is_valid = true)

            **Multiple Errors**: Array contains all detected validation issues'
          example: []
          items:
            type: string
      required:
      - error_reasons
      - is_valid
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: api_key
      description: API key (free key generated on signup at https://ip-api.io)