PhishTank is a collaborative clearing house for data and information about phishing on the Internet. Also, PhishTank provides an open API for developers and researchers to integrate anti-phishing data into their applications at no charge.
- Free Unlimited API. You only need get application key, it takes near 1 minutes.
- Every day ~1500 new phishing sites. More stats here.
- Register and get it here.
- .Net Framework 3.5+.
- .Net Core 1.0+.
- Mono.
Via Nuget.
Install-Package SToolkit.PhishTank
Including.
using SToolkit.PhishTank;
Check site.
PhishTankApi api = new PhishTankApi("API_KEY_HERE");
var res = api.Check("http://yandex.ru");
Console.WriteLine($"Url: {res.Url}");
Console.WriteLine($"InDatabase: {res.InDatabase}");
Console.WriteLine($"IsPhish: {res.IsPhish}");
Console.WriteLine($"PhishID: {res.PhishID}");
Console.WriteLine($"PhishPage: {res.PhishPage}");
Console.WriteLine($"Verified: {res.Verified}");
Console.WriteLine($"VerifiedDate: {res.VerifiedDate}");
Also for .Net Framework 4.5+ and .Net Core have async method.
PhishTankApi api = new PhishTankApi("API_KEY_HERE");
var res = api.CheckAsync("http://yandex.ru");
And you can set proxy for requests, its default .net WebProxy class.
PhishTankApi api = new PhishTankApi("API_KEY_HERE");
api.Proxy = new WebProxy("ip:port");
- In result you need see
IsPhish
variable, because if url contains in database, it's not guarantees that it is phishing. - Api very sensitive to URL's, it means, what url always must be like
http://example.com
and not likeexample.com
. - This also applies to any specific URL links, and if link
http://paypal.example.com/login
is phishing, basic domain namehttp://example.com
probably won't even be in the database.
- [22.12.2018] (1.0) First public release.