System Status: Operational
Zero Spam API
Documentation
Integrate the world’s most accurate threat intelligence into your stack. Identify malicious IPs and disposable emails in real-time.
bash
# Single IP Lookup
curl "https://www.zerospam.org/wp-json/v3/query?license_key=YOUR_LICENSE_KEY&ip=8.8.8.8"
# IP & Email Lookup
curl "https://www.zerospam.org/wp-json/v3/query?license_key=YOUR_LICENSE_KEY&ip=8.8.8.8|1.2.3.4&email=spam@example.com|test@malicious.net"
# Response Structure
{ "status": 200, "body_response": { "queries_limit": 10000, "queries_made": 1, "queries_remaining": 9999, "ip_addresses": { "8.8.8.8": { "ip_address": "8.8.8.8", "permalink": "https://www.zerospam.org/lookup/8.8.8.8/", "confidence": 0.45, "date_added": "2024-01-15 10:30:00", "last_updated": "2024-06-22 14:15:00", "country_code": "US", "country_name": "United States", "num_reports": 12 } } }, "response": [] }
Query API
Look up IP addresses and email addresses to check if they have been reported as spam or malicious. This is the primary endpoint for threat checking.
GET
https://www.zerospam.org/wp-json/v2/query
Query IP addresses and/or email addresses for spam reports and threat data.
Parameters
| Parameter | Type | Description |
|---|---|---|
| ip | String | The IP address you want to check. You can check multiple IPs at once by separating them with a pipe character (|). The number of IPs you can check at once depends on your license tier. Example: “1.2.3.4|5.6.7.8” |
| String | The email address you want to check. You can check multiple emails at once by separating them with a pipe character (|). Example: “bot@spam.com|fake@test.com” | |
| license_key | String | Your Zero Spam license key. This authenticates your request and determines what data you can access. Example: “XXXX-XXXX-XXXX-XXXX” |
Important
You must provide at least one of `ip` or `email`. You can provide both to check IPs and emails in a single request.
Limits & Quotas
| Explorer | 10/day |
| Essentials | 10,000/day |
| Business | 50,000/day |
| Platform | Unlimited |
Unlock Real-Time Threat Intelligence
Query real-time threat data from thousands of websites to block the same attackers hitting everyone else.
- Threat Confidence Scoring — Not all spam is equal. Our scoring algorithm weighs report volume, recency, complaint diversity, and reporting sources to calculate precise threat levels for every IP and email
- Source Intelligence — Go beyond block/allow decisions. See exactly where attacks originate with country, city, ISP, connection type, and reverse DNS data
- Activity History — Bad actors don’t stop. Track when each threat was first seen, last seen, and how many sites have reported them to catch persistent offenders
Response Data
Every API response includes these standard fields that tell you about the request status and your usage:
