PhishHunt by Rectifyq

API and MCP guide

For PhishHunt members · Last updated: 10 October 2026

PhishHunt has two machine interfaces. The REST API suits scripts, SOAR playbooks and bots. The MCP server lets an AI assistant such as Claude work with PhishHunt directly. Both act as you, follow the same rules as the web app, and need a member API key.

Not a member? The defanged public feed needs no key: github.com/rectifyq/phishhunt-feed. Membership is by invitation. Request one on the home page.

1. Get an API key

  1. Sign in to PhishHunt and open Me.
  2. Under API keys, choose a Kind, give the key a label you will recognise (for example “SOAR playbook”), and press Issue key.
  3. Copy the key straight away. It is shown once. PhishHunt stores only a hash of it and cannot show it again.
KindLooks likeUse it forNotes
userrq_user_…Your own scripts and your AI assistant, where you are at the keyboardWorks at once. Earns points on the human track, like the web app.
botrq_bot_…Unattended automation: scheduled jobs, mailbox parsers, SOARWorks once an admin approves it. Earns on the automated track (fewer points per action) with higher limits.

Keys work from any country. If a key may have leaked, press Revoke all my keys under Me → API keys, then issue new ones. Revoking is all-or-nothing: every key on your account stops working at once.

2. Hosts, sign-in and formats

InterfaceBase URL
REST APIhttps://api.phishhunt.rectifyq.com/v1
MCP serverhttps://mcp.phishhunt.rectifyq.com/mcp

3. Rate limits

Limits apply per key and per member, whichever runs out first. A write is any request that is not a GET; on the MCP server, any tool that changes something.

KeyWrites / hourReads / minuteReads / monthWrites / month
user120300150,0005,000
bot500600500,00020,000

Over a limit you get 429 rate_limited, with a Retry-After header in seconds and a message naming the limit you hit. Wait that long before retrying. If the whole platform passes its daily ceiling, writes pause until midnight UTC (503 read_only); reads keep working. Higher “partner” limits for bot keys are by arrangement with the admins.

4. Rules for using the data

The API and MCP server are covered by the Terms of Use, like the rest of PhishHunt. In particular:

5. Quick start

Keep the key in an environment variable, not in your script:

export PHISHHUNT_KEY="rq_user_xxxxxxxx_…"
API=https://api.phishhunt.rectifyq.com/v1

# who am I?
curl -s "$API/me" -H "Authorization: Bearer $PHISHHUNT_KEY"

# submit a link you received (paste it exactly as received)
curl -s -X POST "$API/cases" -H "Authorization: Bearer $PHISHHUNT_KEY" \
  -H "content-type: application/json" \
  -d '{"url":"https://login-secure.example/verify","vector":"sms"}'

# read the case back
curl -s "$API/cases/PH-2026-00012" -H "Authorization: Bearer $PHISHHUNT_KEY"

The same in Python:

import os, requests

API = "https://api.phishhunt.rectifyq.com/v1"
H = {"Authorization": f"Bearer {os.environ['PHISHHUNT_KEY']}"}

r = requests.post(f"{API}/cases", headers=H, json={"url": "https://login-secure.example/verify", "vector": "sms"})
r.raise_for_status()
case = r.json()
print(case["case_id"], case["recorded_as"])   # first_submission, page or sighting

# every validated case, newest first, 100 at a time
cursor = None
while True:
    params = {"state": "validated", "limit": 100, **({"cursor": cursor} if cursor else {})}
    page = requests.get(f"{API}/cases", headers=H, params=params).json()
    for c in page["items"]:
        print(c["case_id"], c["url_defanged"])
    cursor = page["next_cursor"]
    if not cursor:
        break

6. All endpoints at a glance

Every path starts with https://api.phishhunt.rectifyq.com. Click an endpoint for its fields and examples.

EndpointWhat it does
Cases
POST /v1/casesSubmit a URL (deduplicated)
GET /v1/casesSearch and list cases, newest first
GET /v1/cases/{id}One case in full
Evidence
POST /v1/cases/{id}/lookupsRun the platform's own lookups, as the case page does
POST /v1/cases/{id}/enrichAdd a finding from your own tooling
POST /v1/cases/{id}/captureAttach an urlscan or Lookyloo permalink, or an encrypted HAR link
POST /v1/cases/{id}/tagsAdd tags
POST /v1/cases/{id}/posterSay which social media account posted it
Votes and reports
POST /v1/cases/{id}/validateVote on a case
GET /v1/cases/{id}/report/partiesWhere to report it, best first, with mail drafts
POST /v1/cases/{id}/reportRecord a report you sent
POST /v1/reports/batchRecord one report for up to 50 cases
POST /v1/reports/{id}/confirmAdd the ticket reference a party gave you
More actions
POST /v1/cases/{id}/recheckAsk for a liveness recheck, or report what you saw
POST /v1/cases/{id}/writeupLink a write-up you published
Read-only data
GET /v1/meYour handle, rank, track, key prefix and points balance, and the latest PhishHunt notice
GET /v1/me/submissionsEvery URL you submitted, and the case each one is on
GET /v1/campaigns, /v1/campaigns/{id}Campaigns and suspected clusters
GET /v1/postersSocial media accounts that posted phishing, with what they posted
GET /v1/stats/{metric}Platform statistics
GET /v1/hunters/{handle}A member's profile, as members see it
GET /v1/bountiesBounties
GET /v1/feeds/live.csvLive URLs of validated cases (TLP:GREEN, see section 4)

In the field tables below, required must always be sent, sometimes is needed only in the case described, and optional may be left out.

7. Cases: submit, list, read

POST /v1/cases — submit a URL

Submit a phishing link you found or received. PhishHunt canonicalises it and checks it against known cases first, so you never create a duplicate.

FieldTypeRequired?What to put
urlstringrequiredThe link exactly as received, not defanged. Shortened links are fine.
vectorstringoptionalWhere it was seen: sms, whatsapp, telegram, email, ads, search, qr or other. Any other value is left empty.
target_hintstringoptionalThe sector it imitates: banking, ewallet, courier, gov, telco, crypto, marketplace, airline, insurer or other. Any other value is left empty.
posted_byobjectoptionalThe social media account that posted the link or the QR code: {"platform": "threads", "account": "@someone"}. platform is threads, facebook, instagram, tiktok, x, telegram or youtube; account is the username (with or without the @) or a link to the profile or one of its posts, which names the platform too. Same as who posted it; a bad one fails the whole submission.
tagsarray of stringsoptionalTags to add at once, for example ["lure:parcel-redelivery"]. Same rules as adding tags.
referencesarrayoptionalUp to 10 links to where you found it (the scam ad, the post). Each is a URL string, or {"url": "…", "note": "…"} with a note of up to 140 characters. http or https only, never on the phishing domain itself, never a tracked phishing URL. A bad one fails the whole submission.
warning_reasonstringsometimesNeeded when the URL is on a known-legitimate domain (you get 409 warninglist_confirm without it): at least 5 characters on why it is phishing, for example “open redirect to a fake login”. Up to 300 characters are kept.

Request

curl -s -X POST "$API/cases" \
  -H "Authorization: Bearer $PHISHHUNT_KEY" -H "content-type: application/json" \
  -d '{
  "url": "https://login-secure.example/verify",
  "vector": "sms",
  "target_hint": "banking",
  "tags": ["lure:account-locked"],
  "references": [{"url": "https://www.facebook.com/ads/library/?id=123", "note": "scammer's Facebook ad"}]
}'

Response — 201 for a new case, 200 otherwise

{
  "case_id": "PH-2026-00012",
  "state": "submitted",
  "recorded_as": "first_submission",
  "duplicate_of": null,
  "url_defanged": "hxxps://login-secure[.]example/verify",
  "track": "human",
  "first_submitter": "yourhandle",
  "points_pending": 0,
  "points_confirmed": 15
}
recorded_asMeaning
first_submissionA new case. You are its first submitter.
pageA new URL on a site that already has an open case (same attacker-owned domain). It joined that case, given in case_id; page says it is URL n of of.
sightingPhishHunt already had this URL. Your sighting is recorded on the existing case, given in case_id and duplicate_of.

If the case was saved but a reference link could not be added (the case already has 25), the response also carries references_error.

Errors you may see

GET /v1/cases — search and list cases

Newest first. All query parameters are optional and can be combined.

ParameterWhat it does
qSearch. A case id matches that case. A URL, host or domain (fanged or defanged) matches every case on its registrable domain and anything under it. A word of 3+ letters (a-z, 0-9, -) matches anywhere in the URL, for example ?q=maybank. Anything else is 400. The response then says how q was read, in search.
statesubmitted, validating, validated, enriched, reported, acknowledged, down, rejected or expired
kindphishing, scam, compromised (a hacked site) or out_of_scope. Each case carries its kind: empty until a vote decides it
submitterThe handle of the hunter who submitted the case, for example alice (heimdall for cases Project Heimdall's feed filed). Each case carries it as first_submitter
sectorA sector, as in target_hint above
aliasA colour alias, for example Yellow Bank
tagA tag, for example lure:parcel-redelivery
campaignA campaign id
sinceOnly cases created at or after this time (epoch seconds). Use it to poll for new cases.
limit1–100, default 50
cursorThe next_cursor of the previous page

Response

{
  "items": [ { "case_id": "PH-2026-00012", "url_defanged": "hxxps://login-secure[.]example/verify", "state": "validated", … } ],
  "next_cursor": "1791234567"
}

Pass next_cursor back as cursor until it is null.

GET /v1/cases/{id} — one case in full

State, liveness, target alias, tags, sightings, every URL of the site (pages), findings, captures, reports, votes and block checks. It also has:

8. Evidence: findings, captures, tags

POST /v1/cases/{id}/enrich — add a finding

Record one thing you found with your own tooling: the registrar, an IP, the kit's hash, where the link really lands. One finding per request.

FieldTypeRequired?What to put
typestringrequiredWhat kind of finding it is (list below)
valuestringrequiredThe finding itself, up to 2,000 characters
sourcestringrequiredWhere it came from (list below). manual for your own analysis.
confidencestringoptionallow, moderate or high
fieldstringoptionalA sub-label. Leave it out for the one the case page reads: domain_age → registered (also expires, first_cert), ip → a / aaaa, nameservers → ns, cert_issuer → issuer, cert_sans → hostnames, hosting → as_holder. Common other words (created, creation_date, expiry…) are read the same.
pagestringoptionalThe id of one of the site's other URLs (pages[].id on the case). Leave it out for the case's first URL.
type
registrar, asn, ip, country, cert_issuer, cert_sans, redirect_chain, landing_url, kit_family, kit_hash, screenshot, page_title, hosting, nameservers, domain_age, note, dns, ptr, prefix, open_ports, abuse_contact, domain_status, urlscan
source
manual, rdap, crtsh, urlscan, lookyloo, netcraft, vt, abuseipdb, shodan, censys, triage, phishreport, doh, ripestat, certspotter, internetdb

Request

curl -s -X POST "$API/cases/PH-2026-00012/enrich" \
  -H "Authorization: Bearer $PHISHHUNT_KEY" -H "content-type: application/json" \
  -d '{
  "type": "registrar",
  "value": "Example Registrar, LLC (IANA 9999)",
  "source": "rdap",
  "confidence": "high"
}'

Response — 201

{ "enrichment_id": "01JB…", "points_pending": 8, "merge": null }

Points stay pending until the finding has stood for 72 hours without being contradicted. A kit_hash may merge the case with others on the same domain that share it (cases on other domains are only linked, as a campaign): merge then names the case that remains (survivor) and how many were merged. A landing_url moves the case only when the case is a link shortener's (bit.ly and the like) and the page it lands on is not a known-legitimate site; otherwise it is kept as evidence and landing_note says why.

Errors you may see

POST /v1/cases/{id}/lookups — run the platform's lookups

What the case page's lookups do, run by the platform: domain RDAP (the registration date that counts for the evidence checklist), DNS through the platform's resolver (never the phishing host), the keyless block checks, and — with your urlscan key, passed through for this request and never stored — the latest urlscan scan of the URL imported with its screenshot. When urlscan has no scan, a new unlisted one starts: call again in about a minute to import it. Findings you post with enrich are kept too, but only these fill the checklist exactly as the case page does.

FieldTypeRequired?What to put
urlscan_keystringoptionalYour urlscan key, for the scan and its screenshot
block_checksbooleanoptionalfalse to skip the block checks
scanbooleanoptionalfalse: never start a new urlscan scan

Response — 200

{ "rdap": { "found": true, "added": 4, "registered_at": "2026-10-02", "registrar": "…" },
  "dns": { "added": 3, "skipped": 0 },
  "urlscan": { "imported": "0198…", "state": "ok", "screenshot": true, "added": 9 },
  "block_checks": { "checked": 7 },
  "checklist": { "ready": true, "done": 5, "needed": 5, "missing": [] },
  "note": "The evidence checklist is complete: the hourly AI validation will judge this case." }

Each step reports on its own: one that fails says so in its place ({ "error": "…" }) and the others still run. No points for lookups; an imported urlscan scan earns what one imported on the case page does.

POST /v1/cases/{id}/capture — attach a capture

Link a capture of the page that someone else's sandbox made. PhishHunt stores the link, never the page.

FieldTypeRequired?What to put
kindstringrequiredurlscan, lookyloo or har_external
permalinkstringrequiredAn https link. For urlscan, on urlscan.io; for lookyloo, on lookyloo.circl.lu; for har_external, where you keep the encrypted archive. Never on the phishing domain.
archive_formatstringsometimeshar_external only: 7z-aes256 or zip-aes256
archive_sha256stringsometimeshar_external only: the hex SHA-256 of the encrypted archive. The archive itself is never uploaded.
pagestringoptionalAs for findings: one of the site's other URLs

Request

curl -s -X POST "$API/cases/PH-2026-00012/capture" \
  -H "Authorization: Bearer $PHISHHUNT_KEY" -H "content-type: application/json" \
  -d '{
  "kind": "lookyloo",
  "permalink": "https://lookyloo.circl.lu/tree/2b7c…"
}'

Response — 201

{ "capture_id": "01JB…", "archive_password": null, "points_pending": 15 }

Only Lookyloo captures earn points here, and only your first capture of each URL (case, or URL of a site's case): a later capture of the same URL is kept but earns nothing, and the response says "repeat": true with points_pending: 0. A first capture's 15 points confirm when Lookyloo has the finished capture — at once if it already has (points_confirmed), else checked hourly. For har_external, archive_password is a password PhishHunt generates and shows to members on the case's capture list.

POST /v1/cases/{id}/poster — who posted it

Say which social media account posted a URL of a case you submitted or sighted. Cases from the same account are linked on the Related tab and in campaigns, and the account is listed in /v1/posters. It changes only the account on your how-it-was-found entry for that URL; with no entry yet, it starts one (found on social media). No points. An account can be a victim's, taken over: name only what the platform shows publicly.

FieldTypeRequired?What to put
accountstringrequiredThe username, with or without the @ (letters, digits, dots, dashes, underscores; stored lowercased), or a link to the profile or one of its posts. Empty clears it.
platformstringsometimesthreads, facebook, instagram, tiktok, x, telegram or youtube. Not needed with a link, which names it.
urlstringoptionalWhich URL of the site, as submitted. Default: the case's first.

Request

curl -s -X POST "$API/cases/PH-2026-00012/poster" \
  -H "Authorization: Bearer $PHISHHUNT_KEY" -H "content-type: application/json" \
  -d '{"account": "https://www.threads.com/@hadiah.raya/post/C9xYz"}'

Response

{"case_id": "PH-2026-00012", "id": "01J…", "url_sha256": "…",
 "poster": {"platform": "threads", "platform_name": "Threads", "handle": "hadiah.raya", "label": "Threads @hadiah.raya",
            "key": "threads:hadiah.raya", "profile_url": "https://www.threads.com/@hadiah.raya"}}

POST /v1/cases/{id}/tags — add tags

FieldTypeRequired?What to put
tagsarray of stringsrequiredUp to 20 tags per request, as namespace:value, for example lure:parcel-redelivery or evasion:mobile-only. Tags outside PhishHunt's vocabulary are kept as free-form tags, lower-cased to a-z 0-9 : _ -.

Request and response — 201

curl -s -X POST "$API/cases/PH-2026-00012/tags" \
  -H "Authorization: Bearer $PHISHHUNT_KEY" -H "content-type: application/json" \
  -d '{"tags": ["lure:parcel-redelivery", "evasion:mobile-only"]}'

{ "added": ["lure:parcel-redelivery", "evasion:mobile-only"], "effects": ["…"] }

added lists the tags that were new on the case; a tag already there is skipped. effects says what a tag changed: evasion:* tags change how PhishHunt checks whether the site is live.

9. Votes

POST /v1/cases/{id}/validate — vote on a case

FieldTypeRequired?What to put
verdictstringrequiredmalicious (harmful and in scope), out_of_scope, benign (a genuine site) or unsure
kindstringoptionalWith malicious: phishing (the default), scam (a fraud site that poses as no one) or compromised (a real site that was hacked)
reasonstringsometimesNeeded with out_of_scope: gambling, adult, piracy, chat_account, spam or other
notestringsometimesWhy it is out of scope, at most 200 characters, no links. Needed with other

Request and response — 201

curl -s -X POST "$API/cases/PH-2026-00012/validate" \
  -H "Authorization: Bearer $PHISHHUNT_KEY" -H "content-type: application/json" \
  -d '{"verdict": "malicious"}'

{ "weight": 1.5, "state": "validating" }

Votes are weighted by rank: weight is the case's running total, state its state after your vote. out_of_scope counts against the case like benign. A case is validated at +3, taking the kind its votes named most; at −3 it closes as out of scope when those votes weigh at least as much as the benign ones, otherwise it is rejected. Two members voting malicious with nobody voting benign or out_of_scope also validate it, 3 hours after the second vote, whatever their ranks; a trusted submitter's case validates at +1.5 with nobody disagreeing. When the AI has validated a case, one vote that agrees with it is enough, and with no vote against it the case is validated 6 hours later. For 7 days after an AI-validated case is validated, members may still vote on it; at −3 it is rejected. Only phishing cases go into the public feed and /v1/feeds/live.csv.

Errors you may see

10. Reports

Reporting opens once a case is validated by members, or by the AI on complete evidence: check reportable on the case. PhishHunt sends nothing on your behalf through this API. The flow is:

  1. List the parties to report to, best first.
  2. Send the report yourself: by email from your own mailbox, or on the party's web form.
  3. Record it in PhishHunt.
  4. For an email report, add the ticket reference when the party replies. That confirms its points.

GET /v1/cases/{id}/report/parties — where to report

An array, best first. Each party has:

FieldMeaning
partyThe id to send when you record the report, for example mycert
label, whyIts name, and why it is worth reporting to for this case
channelmailto (an email) or link (a web form)
to, mailtoEmail parties: the address, and a ready draft (subject, body, and a href that opens your mail app)
url, kitWeb-form parties: the form's address, and its fields in order with the values to paste
doneWhy it is lower down, when it is (for example, already reported or already blocking)

POST /v1/cases/{id}/report — record a report you sent

FieldTypeRequired?What to put
partystringrequiredWho you reported to (the party from the list above)
channelstringrequiredmailto if you emailed them, link if you used their web form
referencestringoptionalEmail reports only: the ticket reference, if you already have it (4–80 characters). Saves a call to confirm.
party
Web forms: cloudflare, netcraft, urlscan, phishtank, microsoft, spamhaus, google_safe_browsing, phishdestroy. Email: mycert, nc4, apwg, registrar, hosting, brand. A party's name as the case page shows it (“MyCERT Cyber999”, “Google Safe Browsing”) is accepted too.

Request

curl -s -X POST "$API/cases/PH-2026-00012/report" \
  -H "Authorization: Bearer $PHISHHUNT_KEY" -H "content-type: application/json" \
  -d '{"party": "mycert", "channel": "mailto"}'

Response — 201

{ "report_id": "01JB…", "state": "reported", "points_pending": 12 }

Keep report_id: you need it to confirm. A web-form report (link) is confirmed on your word at once; an email report (mailto) waits for its ticket reference.

Errors you may see

POST /v1/reports/batch — one report for many cases

“I sent it” for up to 50 cases at once, to one party: each case is recorded as report would, and each says whether it was (state is the case's state afterwards).

curl -s -X POST "$API/reports/batch" \
  -H "Authorization: Bearer $PHISHHUNT_KEY" -H "content-type: application/json" \
  -d '{ "case_ids": ["PH-2026-00012", "PH-2026-00013"], "party": "mycert", "channel": "mailto" }'

{ "party": "mycert", "recorded": 1, "results": [
  { "case_id": "PH-2026-00012", "ok": true, "state": "reported" },
  { "case_id": "PH-2026-00013", "ok": false, "error": "you already reported this case to that party" } ] }

POST /v1/reports/{id}/confirm — add the ticket reference

{id} is the report_id you got when you recorded the report.

FieldTypeRequired?What to put
referencestringrequiredThe ticket or case number from the party's reply, 4–80 characters

Request and response — 200

curl -s -X POST "$API/reports/01JB…/confirm" \
  -H "Authorization: Bearer $PHISHHUNT_KEY" -H "content-type: application/json" \
  -d '{"reference": "CYBER999-2026-123456"}'

{ "state": "confirmed", "points_pending": 0, "points_confirmed": 12 }

Errors you may see

11. Recheck and write-ups

POST /v1/cases/{id}/recheck — recheck liveness

Ask PhishHunt to check again whether the site is up, and optionally say what you saw yourself. Refused for PAP:RED and do-not-probe cases. Never earns points.

FieldTypeRequired?What to put
verdictstringoptionalWhat you observed: live, changed, dead or unknown
detailstringoptionalA short note, for example “404 since this morning”

Response — 202

{ "accepted": true, "transition": "none", "points_awarded_for_click": 0 }

POST /v1/cases/{id}/writeup — link a write-up

Link an analysis you published about the case. An admin reviews it before it is featured or earns points.

FieldTypeRequired?What to put
urlstringrequiredWhere it is published (https)
titlestringrequiredUp to 200 characters
abstractstringrequiredA summary, up to 1,000 characters
platformstringoptionalWhere it is published, for example “Medium”
names_individualbooleanoptionaltrue if it names a living person
public_record_refstringsometimesNeeded when names_individual is true: the public record that names them (a court filing, a press release). Without it the write-up is never featured.

Response — 201

{ "writeup_id": "01JB…", "review_state": "pending" }

12. Campaigns, stats, profiles, feed

All of these are GET requests with no body.

GET /v1/me
Your handle, rank, track (human or automated, from the key's kind), key_prefix and points balance. A good first call to check a key works. notice is the latest announcement for API and MCP users (title, body, start), or null — the MCP server adds the same to its instructions.
GET /v1/me/submissions
Every URL you submitted, newest first, whoever's case it is on now. Each item has recorded_as, url_defanged, case_id, case_state, case_kind, tlp, vector, channel and submitted_at. recorded_as is first_submission (the first URL of a case you started), page (a URL you added to a site's case, including your own case folded into another site's) or sighting (a URL already on PhishHunt). A sighting recorded before 20 October 2026 has url_defanged: null: only its case was kept then. Filters: recorded_as, state, since (epoch seconds), limit (up to 100, default 50); pass next_cursor back as cursor for the next page. GET /v1/cases?submitter= lists only the cases you started.
GET /v1/campaigns and /v1/campaigns/{id}
Campaigns (cp-…) and suspected clusters (cl-…) of cases that share infrastructure. Filters: confidence (confirmed, suspected, possible), alias, sector, vector, live=1. One campaign lists its cases and why each is linked. Rebuilt hourly. A grouping by shared infrastructure, not an attribution claim.
GET /v1/posters
The social media accounts members said posted phishing URLs, latest first (up to 200): label, platform, handle, profile_url, urls, cases, members (how many named it), vectors (URLs per vector), first_seen, last_seen, and posted — the latest 25 URLs (defanged), each with case_id, state, vector and the cluster it is in. Filters: platform, vector (e.g. vector=qr for the accounts that posted QR codes — then only those URLs), q (part of the username), account (platform:username). An account can be a victim's, taken over.
GET /v1/stats/{metric}
{metric} is one of headline, weekly, brands, sectors, vectors, registrars, asns, as_holders, kits, survival, tags. Rebuilt hourly.
GET /v1/hunters/{handle}
A member's profile as members see it in the app: rank, points, cases found, confirmed reports and badges. The real name appears only if that member chose to show it.
GET /v1/bounties
Current and past bounties, newest first: name, theme, scope rules, start and end, prize, and the sponsor with its independence statement.
GET /v1/feeds/live.csv
CSV with the columns case_id,url,url_sha256,state,target_sector,vector,first_seen: one row per live URL of every validated phishing case, newest first. Live, not defanged, TLP:GREEN: read section 4 before using it.

13. Points per action

What each action earns, on a user key (human track) and a bot key (automated track). Pending points confirm when the condition is met.

ActionReason codeUser keyBot keyConfirmed when
Submit a new casesubmission_first153At once — taken back if the case expires unvalidated after 7 days. A URL whose domain does not resolve when submitted goes on the watchlist with no points, and earns them if it comes alive within 30 days.
Submit a new URL of a known sitesubmission_page51At once (at most 10 URLs per member per case)
Sighting from a new vectorsighting_new_vector30At once
Votevalidation30When the vote closes
Add a findingenrichment84After 72 hours uncontradicted
Attach a Lookyloo capture (your first of each URL)capture_lookyloo150When the permalink resolves
Report by emailreport_mailto120With the ticket reference
Report on a web formreport_link60At once, on your word

A case that is later rejected reverses the points for submitting it, and its submitter loses 20 more (false_positive). A case closed out of scope (gambling, porn, a chat account and so on) reverses them too, but costs only 2 more (out_of_scope).

14. Errors

Every error is JSON: {"error": "code", "message": "what went wrong"}. The message is written for people: log it.

HTTPerrorMeaningWhat to do
400validation_failedA bad or missing field, malformed JSON, or the case is not in a state that allows this yetRead message, fix the request
401unauthorizedA missing, wrong or revoked key, or a bot key still waiting for approvalCheck the Authorization header
403forbidden, self_validation_forbiddenNot allowed: for example a recheck on a PAP:RED case, or a vote on your own caseDo not retry
404not_foundNo such case, report, route, metric or memberCheck the id
409conflictAlready done: one vote and one report per party eachNothing more needed
409reference_not_uniqueThat ticket reference is already on another reportCheck the reference
409warninglist_confirmThe URL is on a known-legitimate domainResubmit with warning_reason
422warninglist_blockThe URL is a genuine site's front page, not a phishing pageDo not resubmit
429rate_limitedOver a limitWait for Retry-After seconds
503read_onlyWrites are paused; reads still workRetry writes later

15. MCP server

The Model Context Protocol lets an AI assistant call PhishHunt as a set of tools, so you can ask “is this link in PhishHunt?” or “submit this SMS link and tag it as a parcel lure” in your own words. It acts as you, with your key, under the same rules and limits as the REST API.

Claude Code

Put your key in an environment variable, then add the server:

claude mcp add --transport http phishhunt https://mcp.phishhunt.rectifyq.com/mcp \
  --header "Authorization: Bearer $PHISHHUNT_KEY"

Or share it with a project in .mcp.json, without the key itself. Each person sets PHISHHUNT_KEY in their own environment:

{
  "mcpServers": {
    "phishhunt": {
      "type": "http",
      "url": "https://mcp.phishhunt.rectifyq.com/mcp",
      "headers": { "Authorization": "Bearer ${PHISHHUNT_KEY}" }
    }
  }
}

Other MCP clients

Any client that supports remote (HTTP) MCP servers with a custom header works: give it the endpoint above and the header Authorization: Bearer <your key>. Use a user key for an assistant you drive yourself.

Test it by hand

curl -s https://mcp.phishhunt.rectifyq.com/mcp -H "Authorization: Bearer $PHISHHUNT_KEY" \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

curl -s https://mcp.phishhunt.rectifyq.com/mcp -H "Authorization: Bearer $PHISHHUNT_KEY" \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_case","arguments":{"case_id":"PH-2026-00012"}}}'

A tool's answer is JSON text inside result.content[0].text: {"provenance": {…, "tlp": "tlp:green"}, "result": …}. When a tool fails, result.isError is true and the text holds {"error", "message"}, using the same codes as the REST API.

16. MCP tools

Arguments use the same names and values as the REST fields above. Required arguments are marked *.

ToolArgumentsWhat it does
Read only
get_casecase_id*One case by id, defanged
search_casesq, state, sector, alias, tag, campaign, since, cursorSearch and list cases, as GET /v1/cases
find_relatedcase_id*Cases sharing the domain, kit hash or path pattern, or posted by the same social media account
list_postersplatform, vector, q, accountAccounts that posted phishing, as /v1/posters
list_campaignsconfidence, alias, sector, vector, live (true/false)Campaigns and suspected clusters
get_campaigncampaign_id*One campaign or cluster, and why its cases are linked
brand_statsmetric*Statistics, as /v1/stats
hunter_profilehandle*A member's profile, as members see it
my_submissionsrecorded_as, state, since, cursor, limitEvery URL you submitted, as /v1/me/submissions
defang_iocsitems* (array of strings)Defang a list of URLs, hosts or emails
Change data (count as writes, earn points)
submit_urlurl*, vector, target_hint, tags, warning_reason, posted_bySubmit a URL, as POST /v1/cases. A URL on a known-legitimate domain answers warninglist_confirm: call again with warning_reason.
run_lookupscase_id*, urlscan_key, block_checks, scanRun the platform's own lookups, as lookups — what fills the evidence checklist
enrich_casecase_id*, type*, value*, source*, field, confidenceAdd a finding, as enrich
attach_capturecase_id*, kind*, permalink*, archive_format, archive_sha256Attach a capture, as capture
set_postercase_id*, account*, platform, urlSay who posted it, as poster (no points)
tag_casecase_id*, tags*Add tags. evasion:* tags change how PhishHunt checks liveness.
file_reportcase_id*, party*, channel*, referenceRecord a report, as report; for email parties it also returns the draft to send from your own mail client
file_reportscase_ids*, party*, channel*One report for up to 50 cases, as batch

* required. Your assistant should ask you before using a tool that changes data.

17. Good practice