๐Ÿ’ฌ Zero Setup Required

Document Query API

Ask natural language questions about any document and get precise answers with coordinate proof. No training, templates, or setup required - just upload and ask. Perfect for developers who need reliable document intelligence.

// Ask any question about your document
const formData = new FormData();
formData.append('document_file', file);
formData.append('question', "What's the total amount due and when is it due?");
formData.append('include_coordinates', 'true');

const response = await fetch('/api/ask', {
  method: 'POST',
  headers: { 'X-API-Key': 'your-api-key' },
  body: formData
});

const result = await response.json();

// "The total amount due is $1,234.56 and it's due on March 15, 2024"
console.log('AI Answer:', result.answer);
console.log('Confidence:', result.confidence); // 0.94

// Get exact coordinates where the answer was found
result.geometry?.forEach(coord => {
  console.log('Found text:', coord.text);
  console.log('At coordinates:', coord.bbox); // array of 8 floats representing 4 points
  console.log('On page:', coord.page);
  console.log('Confidence:', coord.confidence);
});
Natural language questions about any document
๐Ÿ—ฃ๏ธ

Natural Language

Ask questions in plain English like "What's the total?" or "When is this due?"

๐Ÿ“

Coordinate Proof

Get exact bounding box coordinates showing where answers were found

โšก

Zero Setup

No training, templates, or configuration required - works immediately

Document Query API Demo

Interactive demo coming soon...

Ask Any Document Anything

Natural language questions for every document type

Get precise answers with exact coordinates showing where the information was found. No training, no setup - just ask.

๐Ÿงพ

Invoice Processing

Extract totals, dates, vendor information, and line items from invoices automatically

Example questions:

"What's the total amount?"

"When is payment due?"

๐Ÿ“‹

Contract Analysis

Analyze contracts for key terms, dates, and obligations without manual review

Example questions:

"What's the contract duration?"

"What are the termination conditions?"

๐Ÿ“Š

Report Extraction

Pull key metrics and insights from financial reports and business documents

Example questions:

"What's the quarterly revenue?"

"What are the key risks mentioned?"

๐Ÿฅ

Medical Records

Extract patient information, diagnoses, and treatment details from medical documents

Example questions:

"What medications is the patient taking?"

"What's the diagnosis?"

Document Query vs Traditional Methods

Why natural language questions beat rigid templates

Replace complex OCR setup with simple questions that work on any document format

Unique: Natural language questions ("What's the total?") + coordinate proof for any document type

NinjadocAITemplate OCRGeneric LLM/AI API
โ“Natural Language Questions
~
๐Ÿ“Answer + Coordinate Proof
~
โšก5-Minute Integration
~
๐Ÿ’ฒTransparent Pricing
~
๐Ÿ”งTypeScript SDK + React Components
๐Ÿง Context Understanding
~
๐ŸŽฏZero Configuration Required
~
๐Ÿ“Handles Document Layout Variations
~
๐Ÿ”ŒDeveloper-Friendly REST API
~

Loved by Developers

Zero setup, maximum results

"The zero-setup approach is amazing. We can query any document instantly without training or templates. The coordinate proof gives us confidence in the answers."

Michael Johnson

Developer

"Natural language queries make it so easy to extract information from complex documents. No more rigid field definitions - just ask questions."

Sarah Chen

Business Analyst

Frequently Asked Questions

Everything you need to know

What types of questions can I ask?

You can ask any natural language question about the document content, such as 'What's the total amount?', 'When is this due?', or 'What are the key terms?'. The AI understands context and can handle complex, multi-part questions.

Do I need to specify fields in advance?

No, there's zero setup required. Just upload your document and ask questions naturally. The AI understands context and provides coordinate proof for answers without any pre-configuration.

How accurate are the answers?

Answers include confidence scores and exact coordinates showing where the information was found in the document, ensuring high accuracy and verifiability.

What document formats are supported?

We support PDF documents. Other formats may be available via our Transform to Markdown API.

How do coordinates work for verification?

Each answer includes exact bounding box coordinates (array of 8 floats representing 4 points) showing where the information was found on the page. This allows you to highlight the source text for verification and build interactive document viewers.

Can I integrate this into my existing application?

Yes! Our REST API is designed for easy integration. We provide comprehensive documentation to get you started in minutes.