extract with the file. Doconda returns Markdown with
headings, tables and columns in order plus page markers, and reads scanned pages and their tables with OCR.
Steps
- Store your API key in
DOCONDA_API_KEYand install the SDK (pip install docondaornpm install @doconda/sdk). - Call
extractwith a path, a public URL, bytes or afile_…/doc_…id. - Pass the
markdownto your model.
What you get back
markdown: the text with its structure. In a PDF, headings, tables and columns in order, with page markers.chars,pagesandtruncated(if it goes over 2,000,000 characters).
Limits
- Up to 100 scanned pages per PDF; the rest come out marked as “not read”. A PDF can have up to 1,000 pages.
- A long scanned PDF can take a few minutes: after 120 s the API answers
202with{ "id", "status" }and you collect it withGET /extract/{id}. The SDK waits for you. - Files up to 20 MB. URLs can only point to public addresses.
FAQ
Which other formats does it read?
Which other formats does it read?
Word, PowerPoint, Excel (also
.doc, .ppt and .xls), images (PNG, JPG, GIF, WebP), TXT and Markdown. In
PowerPoint, one section per slide with its notes; in Excel, one table per sheet.Does Doconda keep the PDF?
Does Doconda keep the PDF?
No. It’s a read, not a document: nothing is kept once you have the text, and if you don’t collect it, it’s deleted
after 15 minutes. A file sent by URL, base64 or
multipart is also deleted after 15 minutes.How much does it cost?
How much does it cost?
See the pricing table. It counts toward the 120 documents per minute limit.
What if I want the PDF to be searchable?
What if I want the PDF to be searchable?
Review it with
operation: "review": it adds an invisible text layer (OCR) to scanned pages. See
Review.