Folio

Folio API

One endpoint. Send a document, get Markdown back.

Fourteen formats (Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF) convert from their own text in about five milliseconds. Scanned pages are read by an OCR model instead, and those are the only pages that cost anything.

Why the page distinction matters

A two hundred page contract usually has a handful of scanned pages in it and the rest in real text. Most parsing APIs notice one scan and bill OCR rates for the whole document.

Folio inspects each page first. Pages carrying their own text are extracted locally for nothing, scanned pages go to OCR, and the response itemises which was which so you can check the bill against the document.

On a 200 page document with 12 scans, that is 12 billed pages rather than 200.

Base URL

https://quirelabs.com/api/v1

Getting a key

Keys are created in the dashboard. They look like folio_live_… and are shown once, at creation. Only a hash is stored, so a key that is lost has to be replaced rather than recovered.

Send it as a bearer token:

Authorization: Bearer folio_live_…

Next