# PhishTank API reference

> 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…

Source: https://osinttools.io/apis/phishtank/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/phishtank/

- Base URL: https://checkurl.phishtank.com
- Authentication: No key needed. 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: 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.
- Vendor docs: https://www.phishtank.com/api_info.php

## Overview

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.

## Errors

| Status | Meaning |
| --- | --- |
| 509 | Rate limit exceeded |

## Check URL

### Check whether a URL is a known phishing URL in the PhishTank database.

`POST /checkurl/`

- Takes: URL
- Footprint: passive (the target is not contacted)

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).

Response fields:

- `results.url` (string): The URL that was checked
- `results.in_database` (boolean): Whether the URL is in the PhishTank database
- `results.phish_id` (string): ID of the report
- `results.phish_detail_page` (string): Link to the report's detail page
- `results.verified` (string): Whether the report has been verified
- `results.verified_at` (string): When it was verified
- `results.valid` (string): Whether it is a valid phish

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

Example response (200):

```json
{
  "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"
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
