Zero Spam Blacklist API

Your license key: Get one today!

You must read and agree to the Term of Use before using this API. Any abuse of the service will result in the permanent and immediate ban of the offending IP address.

Anonymous API requests are limited to 100 per day. Registering or purchasing a premium subscription unlocks additional requests, access to IP geolocation information, exclusive IP information, API integration support, and early-access to new features.

Spam Blacklist API Documentation

You can query the Zero Spam Blacklist API with an HTTP POST request. API requests will return a JSON string and include a status, result, total_queries and queries_left. See the explanations below.

Possible status responses:

  • success – The API query was successfully run with IP results.
  • failed – The API query failed. Details can be found in the result.

Possible result responses:

  • missing_client_ip – Client IP could not be determined.
  • invalid_ip – Invalid IP address was provided.
  • invalid_license – License key could not be found/is invalid.
  • exceeded_requests – Client exceeded the maximum number of API requests for the day.
  • array – Array containing the queried information.

Querying the Spam Blacklist API

Query the Zero Spam Blacklist API by sending a POST request. See below.

API endpoint:

https://www.zerospam.org/wp-json/v1/query

Parameters:

  • ip(string) Required. IP address or addresses to query. Separate multiple IPs with a pipe (|).
  • license_key(string) Your unique license key for premium accounts.

Response

  • user_ip(string) IP address.
  • date_added(datetime) Date first recorded.
  • last_updated(datetime) Date last updated.
  • attempts(int) Number of reports.
  • permalink(int) Zero Spam link to lookup page.
  • confidence(float) Zero Spam’s spam/malicious confidence level.
  • ip_type(string) The IP type.
  • num_sites(string) Premium. # of sites that have reported.
  • num_detection_types(string) Premium. # of detection types.
  • detection_types(array) Premium. Type of detections that have been reported.
  • num_reported_emails(int) Premium. # of reported emails submitted by the IP.
  • reported_emails(array) Premium. Array of reported emails submitted by the IP.
  • num_reported_usernames(int) Premium. # of reported usernames submitted by the IP.
  • reported_usernames(array) Premium. Array of reported usernames submitted by the IP.
  • num_reported_urls(int) Premium. # of reported URLs submitted by the IP.
  • reported_urls(array) Premium. Array of reported URLs submitted by the IP.
  • hostname(array) Premium. The hostname.
  • continent_code(string) Premium. IP geolocation continent code.
  • continent_name(string) Premium. IP geolocation continent name.
  • country_code(string) Premium. IP geolocation country code.
  • country_name(string) Premium. IP geolocation country name.
  • region_code(string) Premium. IP geolocation region code.
  • region_name(string) Premium. IP geolocation region name.
  • city(string) Premium. IP geolocation city name.
  • zip(string) Premium. IP geolocation zip/postal code.
  • latitude(string) Premium. IP geolocation latitude.
  • longitude(string) Premium. IP geolocation longitude.
  • dms(string) Premium. IP geolocation degrees, minutes & seconds.

Example API Response

{"status":"success","result":{"104.248.124.93":{"user_ip":"104.248.124.93","date_added":"2021-03-15 12:12:13","attempts":"17","ip_type":null,"continent_code":null,"continent_name":null,"country_code":null,"country_name":null,"region_code":null,"region_name":null,"city":null,"zip":null,"latitude":null,"longitude":null,"num_sites":1,"num_detection_types":1,"detection_types":["registration"],"num_reported_emails":17,"reported_emails":["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],"num_reported_usernames":17,"reported_usernames":["julianne chambers","deangelo short","roselyn mcdaniel","roselyn walters","krystal james","krystal jordan","laurel cowan","alena michael","jerry green","finnegan short","ally cowan","jasper mcpherson","karissa frazier","alena wagner","raelynn jennings","deangelo dixon","maritza shannon"],"num_reported_urls":0,"reported_urls":null,"hostname":"104.248.124.93","confidence":0.45000000000000001,"permalink":"http:\/\/zerospam.local\/ip-lookup\/104.248.124.93"},"5.188.210.58":{"user_ip":"5.188.210.58","date_added":"2021-03-15 12:15:13","attempts":"124","ip_type":"ipv4","continent_code":"AS","continent_name":"Asia","country_code":"RU","country_name":"Russia","region_code":"SPE","region_name":"St.-Petersburg","city":"Saint Petersburg","zip":"195269","latitude":"59.939041137695","longitude":"30.315790176392","dms":"59\u00b0 56.342 N, 30\u00b0 18.947 E","num_sites":3,"num_detection_types":2,"detection_types":{"0":"blocked","2":"comment"},"num_reported_emails":18,"reported_emails":["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],"num_reported_usernames":0,"reported_usernames":null,"num_reported_urls":15,"reported_urls":{"0":"https:\/\/rlcialis.com\/","1":"https:\/\/dbbpharm.com\/","2":"https:\/\/buydmeds.com\/","3":"https:\/\/reallevitra.com\/","5":"https:\/\/cialisrmp.com\/","6":"https:\/\/viagradds.com\/","7":"https:\/\/levitrahow.com\/","8":"https:\/\/conmstore.com\/","9":"https:\/\/viagralp.com\/","10":"https:\/\/viagrabtab.com\/","11":"https:\/\/flagylpill.com\/","12":"https:\/\/optablets.com\/","13":"https:\/\/enviagra.com\/","14":"https:\/\/toptabstore.com\/","15":"https:\/\/cialisdisp.com\/"},"hostname":"5.188.210.58","confidence":0.45000000000000001,"permalink":"http:\/\/zerospam.local\/ip-lookup\/5.188.210.58"}},"queries_left":9988}