Prerequisites
- An API key from docstrange.nanonets.com (sign in, then find the key in the top-right menu)
- A document to extract (PDF, image, Word, Excel, or PowerPoint)
Make your first extraction
Send a document to the synchronous endpoint and get back structured Markdown:
You should receive a JSON response with
"success": true and your extracted content in result.markdown.content.Try multiple output formats
Request Markdown and JSON in a single call:The response includes both
result.markdown and result.json.Stream results in real-time
Use the streaming endpoint for real-time content delivery via Server-Sent Events:
Python
What’s Next
Output Formats
Learn about all output options: Markdown, HTML, JSON schemas, CSV, and more.
Code Examples
Complete examples for every endpoint, including batch processing and React integration.
Python SDK
Type-safe Python client with async support and streaming.
TypeScript SDK
Type-safe TypeScript client for Node.js and browser.