PhishStats API

Free to Use 20/minute (19 remaining at test time)
68 C
Measured Score 0 50 100 Speed 16/30 Consistency 17/20 Security 20/20 Browser access 0/15 Transparency 15/15 TESTED 2026-09-21

Overview

PhishStats is a real-time phishing URL database that aggregates phishing site data from multiple sources. You can use it to check whether a URL has been flagged as a phishing site or to download bulk phishing data for research. It's free to use and great for building security tools or browser extensions.

Beginner Tip

Use the /api/phishing.json endpoint with the ?url= parameter to check individual URLs, and check the score field — higher values indicate stronger phishing confidence.

Measurement Record

What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.

Request
GET https://api.phishstats.info/api/phishing?_sort=-id
Result
HTTP 200 · application/json · 34,613 bytes · compressed
Response time
231 ms (median of 3) · fastest 219 ms
Transport
TLSv1.3 · TLS_AES_256_GCM_SHA384 · certificate issued by Google Trust Services
Browser CORS
No Access-Control-Allow-Origin header — call it from a server, not the browser
Rate limit
20/minute (19 remaining at test time)
Served by
cloudflare
Answered
7 of 8 weekly checks (88%, since 2026-07-31)
Recorded
2026-09-21

Fields Returned

Top-level fields present in the response we captured, with the type and value we actually received.

Field Type Value received
id integer 11910914
url string (url) https://sewanowajs.shop/o/ix118/7331505120948…
redirect_url string (url) https://sewanowajs.shop/o/ix118/7331505120948…
ip string 104.21.54.179
countrycode null null
countryname null null
regioncode null null
regionname null null
city null null
zipcode null null
latitude string 0.0000
longitude string 0.0000
asn string AS13335
bgp string 104.21.32.0/19

Captured Response

Captured from a real request to https://api.phishstats.info/api/phishing?_sort=-id on 2026-09-21. Long arrays and nested objects are truncated to keep the shape readable.

JSON Response · Captured
[
  {
    "id": 11910914,
    "url": "https://sewanowajs.shop/o/ix118/7331505120948480#selectedbank9",
    "redirect_url": "https://sewanowajs.shop/o/ix118/7331505120948480#selectedbank9",
    "ip": "104.21.54.179",
    "countrycode": null,
    "countryname": null,
    "regioncode": null,
    "regionname": null,
    "city": null,
    "zipcode": null,
    "latitude": "0.0000",
    "longitude": "0.0000",
    "asn": "AS13335",
    "bgp": "104.21.32.0/19",
    "…": "(31 more fields)"
  }
]

Field Reference

id Unique identifier for this phishing record.
url The full phishing URL that was reported.
ip IP address hosting the phishing page.
countrycode Two-letter country code where the phishing server is located.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "https://phishstats.info:2096/api/phishing?_where=(url,like,~example~)&_size=5";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

How This API Fails

We deliberately sent this API a broken request and recorded exactly what came back on 2026-09-21. Knowing the shape of an error before you hit it makes error handling much easier to write.

HTTP 400 Requesting a path that does not exist application/json
{
  "error": {
    "code": "ER_BAD_FIELD_ERROR",
    "errno": 1054,
    "sqlMessage": "Unknown column 'NaN' in 'where clause'",
    "sqlState": "42S22",
    "index": 0,
    "sql": "select * from `phishing` where id = NaN LIMIT 1"
  }
}
HTTP 400 Sending an invalid value for "_sort" application/json
{
  "error": {
    "code": "ER_BAD_FIELD_ERROR",
    "errno": 1054,
    "sqlMessage": "Unknown column '!!!invalid!!!' in 'order clause'",
    "sqlState": "42S22",
    "index": 0,
    "sql": "select  *  from `phishing`  ORDER BY  `!!!invalid!!!` ASC limit 0,20 "
  }
}

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

Connection refused or port error PhishStats API runs on non-standard port 2096, which may be blocked by firewalls.
✓ Ensure your environment allows outbound connections on port 2096, or use the provided HTTPS endpoint.
Empty results array The URL you searched for may not be in the PhishStats database.
✓ Try searching by domain fragment using the like operator: ?_where=(url,like,~yourdomain~).
Overwhelming data volume Bulk CSV downloads can be very large (hundreds of MB).
✓ Use the API query parameters (_size, _page) to fetch only the records you need rather than downloading the full dataset.

Measured Score Breakdown

Live HTTP request to the API endpoint

Speed 16/30
Consistency 17/20
Security 20/20
Browser access 0/15
Transparency 15/15
Endpoint Response Time 231ms

Fully tested on Sep 21, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Security
Difficulty Beginner
Endpoint last called: 2026-09-21

Related Tags

Similar APIs

View All →