You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An HTTP API lets any agent or script scan without MCP.
What to build
POST /api/scans with Authorization: Bearer <key> and { "domain": "…" } (optional force) starts a scan, or returns the running/recent one, using the existing scan rules. Response: scan id, status and the URL to poll.
GET /api/scans/:id returns status and, once finished, the report. No key needed: reading is free, like the report pages.
Uses the self-serve keys and their limits; clear JSON errors (400 bad domain, 401 no/invalid key, 429 limit).
Done when
Start, reuse of a fresh scan, poll until done, and each error case are tested.
✅ HTTP scan API #37 An agent with a key can start a scan for a domain and gets back the scan id, its status and the address to poll.
✅ HTTP scan API #37 Asking again for a domain scanned in the last day returns that scan without spending the key's allowance, unless a fresh scan is forced.
✅ HTTP scan API #37 Anyone can poll a scan without a key and gets the report once it is finished.
✅ HTTP scan API #37 Clear JSON errors for a bad domain, a missing or invalid key, and a key over its daily limit.
✅ HTTP scan API #37 The API is described in the README with how to get a key, start, poll and what each error means.
Not tested in the browser: behaviour change with no page to click.
Activity
Give every report a JSON twin at /s/<domain>.json (#58)
Add API keys and a daily new-scan allowance to core (#63)
Let agents create and revoke their own API keys (#64)
drippa-ai commentedon Oct 12, 2026
Drippa Sign-Off: HTTP API for agents to start and poll scans
✅ Delivers ticket #37 — 5 of 5 outcomes
Open in Drippa
What was promised
Not tested in the browser: behaviour change with no page to click.
Full review on the pull request
Updated by Drippa • 2026-10-12 19:34 UTC
Let agents start and poll scans over HTTP (#68)