Skip to content
OSINTtools.io

PhishTank API

Free community clearinghouse of reported and verified phishing URLs, run by Cisco Talos, with a free API.

Base URL
https://checkurl.phishtank.com
Sign-in
No key
Format
REST
Endpoints
1

Compiled by OSINTtools.io editors from phishtank.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

PhishTank's Check URL API tells you whether a URL is in the PhishTank database of reported phishing pages, and if so whether it is verified and still valid, with the ID and detail page of the report.

The request is an HTTP POST to https://checkurl.phishtank.com/checkurl/ with the URL (URL-encoded or base64-encoded) and an optional format (xml, php or json; XML is the default). An application key is optional, but without one the rate limits are much lower. Send a descriptive User-Agent such as phishtank/[username].

Responses carry X-Request-Limit-Interval, X-Request-Limit and X-Request-Count headers. Going over the limit returns HTTP 509. For heavy use PhishTank suggests downloading the hourly database files instead (see the developer information page); those downloads are not described here.

Quick start

  1. No key needed

    The PhishTank API answers without an account or key.

  2. Make your first request

    Check whether a URL is a known phishing URL in the PhishTank database.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl -X POST 'https://checkurl.phishtank.com/checkurl/' \
      -H 'Content-Type: application/x-www-form-urlencoded' \
      -d '{
      "url": "https://example.com/login",
      "format": "json"
    }'
  3. Read the response

    A 200 response looks like this.

    {
      "results": {
        "url": "https://example.com/login",
        "in_database": true,
        "phish_id": "1234567",
        "phish_detail_page": "https://www.phishtank.com/phish_detail.php?phish_id=1234567",
        "verified": "y",
        "verified_at": "2026-01-01T00:00:00+00:00",
        "valid": "y"
      }
    }

Authentication

No key or account: every endpoint answers without one.

An optional app_key can be sent as a form field for higher limits; register one at https://www.phishtank.com/api_register.php

Rate limits and pricing

Not stated in the docs as numbers: limits are given per interval in the X-Request-Limit headers, and are much lower without an app key.

Errors

StatusMeaning
509Rate limit exceeded

Check URL

Returns whether the URL is in the database, its phish ID and detail page, and whether it is verified and valid. The docs show the XML sample with true and false, and the PHP and JSON samples with 'y'. The exact nesting of the JSON output is taken from the XML structure (results).

Request body (form) · 3Show

urlstringalways present

The URL to check, URL-encoded or base64-encoded

formatstring

xml, php or json; default xml

app_keystring

Your application key; without it rate limits are much lower

Response fields · 7Show

urlstring

The URL that was checked

in_databaseboolean

Whether the URL is in the PhishTank database

phish_idstring

ID of the report

phish_detail_pagestring

Link to the report's detail page

verifiedstring

Whether the report has been verified

verified_atstring

When it was verified

validstring

Whether it is a valid phish

curl -X POST 'https://checkurl.phishtank.com/checkurl/' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d '{
  "url": "https://example.com/login",
  "format": "json"
}'
No key needed
Response
{
  "results": {
    "url": "https://example.com/login",
    "in_database": true,
    "phish_id": "1234567",
    "phish_detail_page": "https://www.phishtank.com/phish_detail.php?phish_id=1234567",
    "verified": "y",
    "verified_at": "2026-01-01T00:00:00+00:00",
    "valid": "y"
  }
}