Get structured PDF answers with bounding boxes, citation URLs, and MCP-ready outputs for auditable agent workflows.
Start BuildingGet structured answers from PDFs with bounding boxes, citation URLs, and MCP-ready outputs, so every AI answer can be traced to the source.
Ask questions in plain English. Get structured answers with page, bbox, and source evidence attached.
Most tools return extracted text. Ninjadoc returns answers with the source evidence an agent or reviewer needs to verify them.
ninjadoc.ai | Traditional OCR | Generic LLM API | |
|---|---|---|---|
1Natural language document questions | |||
2Bounding boxes for every answer | |||
3Citation URLs for source review | |||
4MCP-ready for AI agents | |||
5Audit-ready evidence JSON | |||
6Transparent per-page pricing | |||
7No templates or field training | |||
8Developer-friendly REST API |
250 credits per dollar. Credits never expire. Start with what you need, scale as you grow.
1,250 credits
Perfect for trying out the API
6,250 credits
Great for regular document processing
25,000 credits
For high-volume processing needs
125,000 credits
Maximum value for large-scale operations
Simple, predictable costs for every operation
Ask natural language questions about any document
≈ $0.01 per page
When AI makes a decision based on a document, you need more than an answer. You need proof. Ninjadoc returns exact source coordinates for every field, making every agent-driven extraction auditable by default.
Call Ninjadoc from any agent framework. Structured JSON answers with citation URLs that travel with your data into every downstream system.
Every field comes with page number and bounding box coordinates pointing to the exact location it was drawn from: text, image, checkbox, or signature.
Every extracted field comes with a citation URL linking directly to its source location in the document. When an auditor asks where the number came from, you have a link — not just a claim.
{
"index": 0,
"question": "What is the total amount due?",
"answer": "$4,250.00",
"confidence": 0.99,
"evidence": [{
"page_index": 0,
"evidence_texts": ["Total Amount Due: $4,250.00"],
"citation_url": "https://api.ninjadoc.ai/citations/01JV.../0/page.jpg",
"citation_url_cropped": "https://api.ninjadoc.ai/citations/01JV.../0/cropped.jpg",
"located": [{
"boxes": [{
"normalized": { "x1": 680, "y1": 820, "x2": 890, "y2": 850 },
"pixel": { "x1": 420, "y1": 680, "x2": 540, "y2": 700 }
}]
}]
}]
}{
"mcpServers": {
"ninjadoc": {
"serverUrl": "https://api.ninjadoc.ai/mcp/nj_API_KEY"
}
}
}Our API is designed for developer happiness. RESTful, fully documented, and ready for production. Integrate with any language or framework in just a few lines of code.