Scan a target and return a verdict bound to its content hash.
Auth: X-API-Key, OR x402 payment (when enabled). Without valid auth the paid path returns 402 with payment requirements. An error verdict returns HTTP 422 and is never billed (§9.5).
Request
- Base URL: https://lazaretto.dev
- URL: https://lazaretto.dev/v1/scan
- Auth: one of:
- API key in header X-API-Key
- HTTP x402
Request body
Response
A verdict (clear/flagged/malicious). x402 only: the signed attestation comes back, and is published, only when the payment settled. When the payment facilitator did not answer clearly, the result still comes back, with no attestation and a payment block {outcome:"unknown", detail, contact, time}. Whether that payment settled is unknown (settlement_outcome_unknown). Do not pay again for the scan; if you were charged, nothing more is owed. Email contact@lazaretto.dev with the paying wallet address and the time if in doubt.
Changes
No recorded changes to this operation across all 1 revision of this API.