POST /api/v1/inspect takes a document or an image and returns
structural fraud-risk signals as JSON. Everything else is in the
API reference.
1. Inspect a document
curl -s https://tamperlens.com/api/v1/inspect -F [email protected]
No key, no account: 10 documents an hour per IP, full report. PDFs, Office documents and images, up to 10 MB; a raw body works instead of multipart.
2. Read the report
{
"summary": { "riskScore": 95, "riskBand": "high", "signalCount": 2 },
"signals": [
{ "id": "incremental-updates", "severity": "high", "title": "…", "evidence": {…} }
]
}
-
summary.riskBandis the routing decision:lowunder 30,elevated30-69,high70 and up.highis reserved for reports carrying a high-severity signal, so weak findings cannot pile up into it. -
signals[].idandseverity, stable family ids. Branch on these when one family matters more to your flow than the single score does. -
signals[].evidenceis worth storing. Small, no document content, and it is what a human reviewer needs.
Tamperlens reports risk signals, not authenticity verdicts. Signals can have benign causes; combine them with your own decision logic.
3. Get a key
Create an account: email and password, no card.
Free key immediately, 50 documents a month, shown once. Sent as
-H "Authorization: Bearer tl_…", the call is metered
against your quota, not the hourly IP limit.
curl -s https://tamperlens.com/api/v1/auth/signup \
-H 'Content-Type: application/json' \
-d '{"email":"[email protected]","password":"a-long-enough-password"}'
# -> {"user":{…},"apiKey":{"plaintext":"tl_…","plan":"free","quota":50}}
Next
-
API reference
Auth behaviours, request forms,
/compare, issuer baselines, the annotated report, error codes, limits. - Your verdict policy Send review and reject thresholds with the request; the response carries your decision.
- For agents (MCP) Screen the document before your agent reads it: three MCP tools, and the injection surface we classify.
- OpenAPI explorer Machine-readable spec and a try-it-out console for every endpoint.
- Fraud signals field guide Every signal family, its evidence keys, its benign causes, its severity rules.
- Pricing Plans, quotas and what counts as one document.