API & MCP

Everything a person can do on Paperwell Document Text & Data Scan, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Paperwell Document Text & Data Scan

Extracts the full plain text of a PDF (per page), DOCX, HTML, text file or photo/scan (OCR) and scans it for DOIs, ISBNs, ISSNs, ORCIDs, arXiv ids and PMIDs (with check-digit validation), personal data to redact (e-mail, IBAN, phone, payment card numbers), dates, amounts and periods. Paperwell uses it to make documents searchable, comparable and ready for redaction.

Inputs of Paperwell Document Text & Data Scan
FieldTypeDefaultDescription
texttextarea—Text. Paste text, or upload a file below (exactly one).
filefile—Or upload a file. PDF (text layer), DOCX, HTML, text or a photo/scan (PNG/JPG, read with OCR). Max 10 MiB. Read in memory and not stored.
includeTextbooleantrueInclude the full text in the result

Example request

Reading notes with DOIs, ISBNs and an ORCID

curl -X POST https://paperwelldocumentscan.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"text":"Little (1961), doi:10.1287/opre.9.3.383. Textbook ISBN 0-306-40615-2. Author ORCID 0000-0002-1825-0097. Slide typo: ISBN 978-3-16-148410-5.","includeText":false}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "paperwell-document-scan": { "type": "http", "url": "https://paperwelldocumentscan.usefulweb.site/mcp" }
  }
}