Website monitoring API and webhooks
Everything the dashboard shows is available as JSON. Create a token in Settings and send it as a bearer token. Limit: 120 requests a minute.
curl https://ishacked.com/api/v1/sites -H "Authorization: Bearer ih_…"
| Method | Path | What it does |
|---|---|---|
GET | /account | Plan, site limit, on-demand allowance, alert channels |
GET | /sites | All sites with status, issue count and top issue |
POST | /sites | Add sites: {"urls": ["https://a.com", "b.org, Client label"]}; add "kind": "uptime" for uptime-only monitors |
GET | /sites/:id | Findings, the full checklist, accepted keys and the latest raw snapshot |
PATCH | /sites/:id | Set the label, tags (up to 10), client recipients or the countries checked from besides Germany (up to 4, at most 2 besides us and gb; null for the default US and UK): {"label": "Acme", "tags": ["shop", "eu"], "alert_emails": ["[email protected]"], "countries": ["us", "id", "sg"]} |
DELETE | /sites/:id | Stop monitoring a site |
POST | /sites/:id/check | Check now (202 when queued, 429 when cooling down or out of allowance) |
POST | /check-all | Check every site now, within the daily allowance |
GET | /sites/:id/scans | The last 60 scans: status, findings, new keys |
GET | /sites/:id/scans/:scanId | One scan, with its full snapshot for the latest 10 |
POST | /sites/:id/visual-checks | Visual check around an update: capture "before" (202). Optional label, before_url, after_url (staging), live_url (also capture the live site with "after"), control: true (capture "before" twice to learn each page's noise), pages, and auth: [{"url", "username", "password"}] for HTTP Basic Auth, kept for this check only |
GET | /visual-checks/:id | Its status (ready once "before" is captured, done after the comparison), verdict and each page's verdict, reasons and image links |
POST | /visual-checks/:id/after | After the update: capture again and compare. Optional after_url, live_url and auth; with a live site, live_results compares after with it |
GET | /sites/:id/visual-checks | The site's last 30 visual checks |
Add sites with one link
For tools that can't send a token header. Create your add-site link in Settings: it can only add sites, adding one that's already there changes nothing, and you're emailed about every site it adds. Up to 20 addresses per call, 60 calls an hour.
curl -fsS "https://ishacked.com/add/ihk_…?url=newsite.com&client=Acme"
curl -fsS -X POST https://ishacked.com/add/ihk_… -H "Content-Type: application/json" \
-d '{"urls": ["a.com", "b.org"], "mode": "uptime"}'
The answer lists added (each with id and report_url), already and problems: 201 when something was added, 200 when everything was already there. Opened in a browser, it shows a short page instead.
Remove a site by link
There is no link that removes a site on its own. https://ishacked.com/app/remove?url=oldsite.com (or ?id=) opens a page where the signed-in owner confirms. Scripts remove sites with DELETE /sites/:id and a token.
Run a check after every deploy
curl -fsS -X POST https://ishacked.com/api/v1/sites/$SITE_ID/check -H "Authorization: Bearer $HACKBEACON_TOKEN"
Visual checks around updates
Screenshots, text and page structure of the site's pages on desktop and mobile, before and after an update; each page comes back unchanged, changed or broken with the reasons. Poll until status is ready before updating, and until it's done after.
run=$(curl -fsS -X POST https://ishacked.com/api/v1/sites/$SITE_ID/visual-checks -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{"label": "Monthly updates"}' | jq -r .id)
until curl -fsS https://ishacked.com/api/v1/visual-checks/$run -H "Authorization: Bearer $TOKEN" | jq -e '.status == "ready"' >/dev/null; do sleep 10; done
wp plugin update --all
curl -fsS -X POST https://ishacked.com/api/v1/visual-checks/$run/after -H "Authorization: Bearer $TOKEN"
Webhook payload
Sent for new high and medium issues (alert) and when the reported issues are fixed (resolved, with the fixed issues in findings). text and content let Slack and Discord display it as is.
{
"event": "alert",
"site": { "id": "6f1c…", "url": "https://client-shop.com/" },
"report_url": "https://ishacked.com/app/sites/6f1c…",
"findings": [
{ "key": "cloak-spam:casino", "severity": "high", "category": "seo",
"title": "Googlebot sees spam that visitors do not", "detail": "…", "evidence": ["casino"] }
],
"text": "⚠️ IsHacked: 1 new issue(s) on client-shop.com …",
"sent_at": "2026-10-16T12:00:00.000Z"
}
Finding keys
Each finding has a stable key, for example spf-lookups, tls-expiring:14 or wp-user:adminbackup. Alerts fire once per key, and marking a key as expected silences it for that site.