Skip to content

HTTP scan API #37

Closed
Closed

Description

@maaland

Why

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

Activity

  1. drippa-ai commented on Oct 12, 2026

    @drippa-ai

    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

    • ✅ 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.

    Full review on the pull request


    Updated by Drippa • 2026-10-12 19:34 UTC

  2. added a commit that references this issue on Oct 12, 2026
    0f869b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions