API Documentation
Powerful APIs for email testing, network analysis, and IP intelligence. Free tier available with enhanced features for API key holders.
Quick Start
🚀 Getting Started
1. Free Tier
Start immediately with 100 requests/hour. No registration required.
2. Get API Key
Register through Router Login for 1000 requests/hour and advanced features.
3. Start Building
Integrate our APIs into your applications and monitoring systems.
📡 API Features
✓Email server testing (SMTP, MX, SPF)
✓ASN and network information lookup
✓IP geolocation and ISP details
✓VPN and proxy detection
✓Email blacklist checking
✓Bulk processing capabilities
✓JSON responses with detailed metadata
✓Global edge network for low latency
Code Examples
Email Testing
# Test MX records
curl "https://whatismyip.io/api/email-tests?type=mx&domain=example.com"
# Test SMTP server
curl "https://whatismyip.io/api/email-tests?type=smtp&server=mail.example.com&port=587"
# With API key
curl -H "X-API-Key: YOUR_KEY" \
"https://whatismyip.io/api/email-tests?type=spf&domain=example.com"ASN Lookup
# IP to ASN
curl "https://whatismyip.io/api/asn-lookup?ip=8.8.8.8"
# ASN details
curl "https://whatismyip.io/api/asn-lookup?asn=15169"
# Bulk lookup
curl "https://whatismyip.io/api/asn-lookup?bulk=8.8.8.8,1.1.1.1,15169"Rate Limits & Pricing
Free Tier
Requests per hour:100
Bulk requests:10 per batch
Features:Basic
Support:Community
Perfect for testing and small projects
API Key Tier
Requests per hour:1,000+
Bulk requests:50 per batch
Features:Advanced
Support:Priority
Enterprise-ready with saved results
Get API Key →API Endpoints
📧 Email Testing Suite
Comprehensive email server testing, MX record validation, and SPF record checking.
SMTP Server Test:
GET /api/email-tests?type=smtpMX Record Check:
GET /api/email-tests?type=mxSPF Validation:
GET /api/email-tests?type=spfBulk Testing:
POST /api/email-tests/bulk🌐 Network Intelligence
ASN lookup, IP geolocation, and comprehensive network analysis.
ASN Lookup:
GET /api/asn-lookupIP Information:
GET /api/ipinfoVPN Detection:
GET /api/vpn-checkBlacklist Check:
GET /api/blacklist-check