You are not logged in.

#1 2024-09-30 11:30 am

booklooker
Member
Registered: 2024-09-30
Posts: 3

Search for email domain by API

Hi,

I found the following URL that performs an email domain search in your database:

https://www.stopforumspam.com/domain/skrak.com

I would like to implement such a search by API, but did not find any information in the API documentation about a parameter like "domain". Is this possible?

Best regards,
Jens

Offline

#2 2024-09-30 9:49 pm

pedigree
uıɐbɐ ʎɐqǝ ɯoɹɟ pɹɐoqʎǝʞ ɐ buıʎnq ɹǝʌǝu ɯ,ı
From: New Zealand
Registered: 2008-04-16
Posts: 7,071

Re: Search for email domain by API

hmm, it not sure how effective this would be.  I could well imagine this causing me insane amounts of trouble as people turn on checks run against an entire domain, imagine gmail.com filtering.  The purpose of the API isnt to speculate about data but to be as accurate as possible. 

the API has a "blacklisted" flag that lists if the domain itself is blacklisted when you check for an email address.

If you go into a little more detail then we can see, maybe I just missed the point

Offline

#3 2024-10-01 6:30 am

booklooker
Member
Registered: 2024-09-30
Posts: 3

Re: Search for email domain by API

Let's take the aforementioned example:
https://www.stopforumspam.com/domain/skrak.com

skrak.com is a very uncommon email domain. In fact, my user email database with 2M records did not have a single entry with this domain (until my scammer registered).
If I could ask your database (only in case of a rare domain!) if there are already reported hits with this domain (which would be true in this case) this would be a valuable hint to a *possible* scammer.

If I would search for the actual complete email adresses, I would get no results: soyodap932@skrak.com

We have other cases, where this information would have helped us in advance, for instance:
https://www.stopforumspam.com/domain/voomsec.com
https://www.stopforumspam.com/domain/sgatra.com

I hope you could implement it into your API. Or: Would it bother you, if I would send an (automated) request to your normal website and parse the result? It would be less than 100 calls a day.

Best regards,
Jens

Offline

#4 2024-10-01 8:30 am

Alex Kemp
Moderator
From: Nottingham, England
Registered: 2009-12-02
Posts: 2,432
Website

Re: Search for email domain by API

You can do this already.

Use the SFS SFS Search or (less strain on the website) the SFS API.

Here is a result just now using the Search link (top of page; 1st 17 transferred into [ code ] to try to make it readable in these pages):

Found 68 entries for "@skrak.com"

Export this search result list as: XML - CSV - json - phpserial

01-Oct-24 06:08     142.93.88.003          amierose93     yebek64910@skrak.com     United States
30-Sep-24 16:23     202.47.48.083          sonahix764     sonahix764@skrak.com     Pakistan
30-Sep-24 12:59     84.252.115.05          remahe5008     remahe5008@skrak.com     France
30-Sep-24 11:44     176.111.179.78         Doccola        joreb77069@skrak.com     Ukraine
30-Sep-24 11:04     176.111.179.78         Booten         joreb77069@skrak.com     Ukraine
30-Sep-24 06:43     2.70.254.168           Chrenua        boyari2259@skrak.com     Sweden
30-Sep-24 01:38     23.106.56.2            vohigel        vohigel945@skrak.com     United Kingdom      
29-Sep-24 22:53     82.79.152.28           regeleburger   nisikeg411@skrak.com     Romania      
29-Sep-24 22:46     102.129.153.54         jackie will    lofawem526@skrak.com     South Africa      
29-Sep-24 19:34     39.36.65.205           jajan102       jajan10257@skrak.com     Pakistan      
29-Sep-24 16:29     39.36.115.119          jajan102       jajan10257@skrak.com     Pakistan      
29-Sep-24 13:47     39.36.123.187          jajan10257     jajan10257@skrak.com     Pakistan      
29-Sep-24 12:58     175.157.142.147        kasun1256      repoh14685@skrak.com     Sri Lanka      
29-Sep-24 11:40     137.59.220.226         JosephMason    cetada4619@skrak.com     Pakistan      
29-Sep-24 04:34     35.189.116.137         Gahazza        joreb77069@skrak.com     United States      
29-Sep-24 00:32     198.16.78.45           fafos          fafos85333@skrak.com     United States      
28-Sep-24 22:56     23.106.249.34          mohen          mohen65912@skrak.com     Singapore      
28-Sep-24 19:00     2401:4900:8844:10a7::/64 Quickbooks325 tidisan460@skrak.com    India

100 calls a day is far too many; try to imagine your own case magnified by the 100s of thousands that use this site.

Implement a local cache so that you do not uselessly strain SFS. There are also monthly downloads to allow you to pre-load your cache.

The API lends itself to automated useage.

Offline

#5 2024-10-05 9:46 pm

pedigree
uıɐbɐ ʎɐqǝ ɯoɹɟ pɹɐoqʎǝʞ ɐ buıʎnq ɹǝʌǝu ɯ,ı
From: New Zealand
Registered: 2008-04-16
Posts: 7,071

Re: Search for email domain by API

Without listing specific email addresses, there is a data endpoint that is used for graphing. eg

https://www.stopforumspam.com/data/domain/voomsec.com

it lists records add per day.

as this is an internal data point, its not guaranteed to ever change, and its heavily cached so the update times will not reflect current data

Adding per email address per domain to the API, well, that's a lot more work given the nature of how the API is processing data.  Maybe its something that I can add to a subscription tier given the load it will add

There is always the downloadable files as well.  Will they not work for you?

Offline

#6 Today 7:40 am

booklooker
Member
Registered: 2024-09-30
Posts: 3

Re: Search for email domain by API

Oh, I had not seen the downloadable files. I send my requests now via API like you proposed. This works very well.
Thanx a lot for your really helpful site.

Cheers!

Offline

Board footer

Powered by FluxBB

Close
Close