Starhold Lunascribe

API

Convert a file

Send the file bytes as the request body. There is no multipart form, so no file name ever reaches us.

curl -X POST "https://scribe.starhold.app/v1/convert?lang=en&wait=1" \
  -H "Authorization: Bearer sh_live_..." \
  --data-binary @scan.pdf

With wait=1 a job that finishes within 25 seconds returns the Markdown itself. Otherwise you get 202 with a job_id. Poll GET /v1/jobs/{id}, then fetch GET /v1/jobs/{id}/result.md. The result is deleted by that download, or after 15 minutes. DELETE /v1/jobs/{id} deletes it at once.

Languages: lang=en,fr (at most three). Supported: da, de, en, es, fi, fr, it, nl, no, pl, pt, sv.

Limits

PlanPages per monthMax per fileJobs at onceLargest file: up to
Free5010 pages, 10 MB1about 2 min
Entry1,000100 pages, 50 MB2about 17 min
Middle10,000400 pages, 200 MB2about 67 min

Speed: a scanned page takes up to about 10 seconds (we measured 4 to 10 s; Docling reads layout and tables, so it is not instant), a PDF with a text layer is usually faster. Plan for roughly 6 to 15 scanned pages a minute per job: a 100-page scan takes up to about 17 minutes, the largest Middle file up to about 67 minutes. Every job reports estimated_seconds_max when you submit it.

Everyone: a job is stopped when it runs 25% over its estimate (at least 5 minutes, never more than 90 minutes), 100 megapixels per image or page, password-protected PDFs are refused.

Errors

Every error is JSON {"error": {"code", "message", "docs"}}. Messages are fixed text and never quote your document.