Skip to main content

FastAPI

Project description

identify-fake-email

PAID API - Free tier: 100 requests/month

Detect fake, disposable, and temporary email addresses using machine learning.

Features:

  • Syntax validation (RFC 5322 compliant)
  • MX record verification (domain can receive emails)
  • Disposable email detection (temporary email providers)
  • Role account detection (admin@, sales@, support@)
  • ML-powered risk scoring (name_risk and domain_risk)
  • New domain detection (registered less than 30 days)

Installation:

pip install identify-fake-email

Quick Start:

from identify_fake_email import EmailValidatorClient

client = EmailValidatorClient("YOUR_RAPIDAPI_KEY") result = client.validate_email("user@example.com")

print(f"Valid: {result.valid_email}") print(f"Risk score: {result.name_risk}")

if result.valid_email and result.name_risk < 0.7: print("Safe to accept") else: print("Suspicious - review")

Response Fields:

  • valid_email_structure: Passes syntax check
  • mx_records: Domain has mail servers
  • not_disposable: Not a temporary email
  • new_domain: Domain registered less than 30 days
  • is_role: Role-based address
  • name_risk: ML score 0-1 (higher = riskier)
  • domain_risk: ML score 0-1 (higher = riskier)
  • valid_email: Overall validation result (not including name_risk, domain_risk)

Get an API Key:

https://rapidapi.com/JP1V/api/email-validator-syntax-mx-disposable-risk-detection

Links:

License: MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

identify_fake_email-1.0.2.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

identify_fake_email-1.0.2-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file identify_fake_email-1.0.2.tar.gz.

File metadata

  • Download URL: identify_fake_email-1.0.2.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for identify_fake_email-1.0.2.tar.gz
Algorithm Hash digest
SHA256 5394de957d11129503d418d9ce2b06b762119464a1a635d157220327a1d2339f
MD5 d4b1b7f7fb9a5c91aa07b5d9bbd22731
BLAKE2b-256 a69e6e58cbcb4a927f16fe4af80e21a0e80aeb07be9ca2a3c1d3a72ff815c342

See more details on using hashes here.

File details

Details for the file identify_fake_email-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for identify_fake_email-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1d2782a7ca34f5c8d71c368104e5d6888671504ed4e365e4d0d74bbed02a2532
MD5 e1dc81af0db775c6d007fae5f6d58634
BLAKE2b-256 4a979367a09e109c452e7d54a62555413537213c7db4ff8d854b369e8dfbb7b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page