Skip to main content

addrly

Official Python SDK for the Addrly email validation API.

Install

pip install addrly

Quick Start

from addrly import Addrly

client = Addrly("sk_your_api_key")

# Validate an email
result = client.validate_email("user@example.com")
print(result["mx"], result["disposable"], result["domain_age_in_days"])

# Validate a domain
domain = client.validate_domain("example.com")

# Auto-detect (email or domain)
auto = client.validate("test@gmail.com")

Bulk Validation

# Bulk email validation (Pro: 500, Ultra: 1000)
bulk = client.bulk_validate_emails([
    "user1@gmail.com",
    "user2@yahoo.com",
    "spam@tempmail.com",
])
print(bulk["summary"])  # {"total": 3, "valid": 2, ...}

# Bulk domain validation
domains = client.bulk_validate_domains(["gmail.com", "tempmail.com"])

Gates

# Evaluate an email against a gate
decision = client.gate("gate_abc123def456", email="user@tempmail.com")
print(decision["decision"]["action"])  # "block"

Error Handling

from addrly import Addrly, AddrlyError

try:
    result = client.validate_email("test@example.com")
except AddrlyError as e:
    print(e.status)    # 429
    print(e.error)     # "Rate limit exceeded"
    print(e.response)  # full API error response

Release files for addrly 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for addrly 1.0.1
File Size Uploaded
addrly-1.0.1.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for addrly 1.0.1
File Interpreter ABI Platform
addrly-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / addrly-1.0.1.tar.gz

Download URL addrly-1.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1ee023701c2f623cf20fdc2fe6950ed99a980a2b38f2bbdc12b2b4e732314a91
BLAKE2b-256 checksum
How to use checksums
b4761e27a91f7d8160739fb003725131101523507b740213a0a2a0dfae8aadd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / addrly-1.0.1-py3-none-any.whl

Download URL addrly-1.0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b1bd7d295b4ea31489035af00f14535432f09013e97dbb53b1d1f7342f61d6b
BLAKE2b-256 checksum
How to use checksums
a11c6fec03baab6b31547b76185ba8cc6362b91c28951d08eac8e45cd747a63e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page