Doc2QA
Transform any document or text into high-quality question-answer pairs using AI. WHAT IT DOES Doc2QA automatically extracts key information from your content and generates structured Q&A pairs - perfect for creating study materials, FAQs, quizzes, and knowledge bases. SUPPORTED INPUTS - PDF documents (up to 150 pages) - Word documents (.docx) - Plain text files (.txt) - Raw text via API 4…
Doc2QA endpoints
| Method | Endpoint | Description |
|---|---|---|
| Q&A Generation | ||
| POST |
generateQA /v1/generate |
Convert text or uploaded document (PDF, TXT, DOCX) into structured Q&A pairs. **Supported Files**: PDF, TXT, DOCX (max 50MB) **Minimum Content**: 50 characters |
| POST |
generateQAJson /v1/generate/json |
Generate Q&A pairs from text input using JSON body. Use this endpoint for programmatic access without file uploads. |
| Batch Processing | ||
| POST |
generateQABatch /v1/generate/batch |
Batch process up to 10 texts in a single API call. More efficient than multiple individual requests. Each item is processed independently - failed items don't affect others. |
| Health | ||
| GET |
healthCheck /v1/health |
Returns the health status of the API and its components. Use this to verify API availability. |
Doc2QA pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | $9.09 / month | — |
|
| PRO | $31.2 / month | — |
|
| ULTRA | $134 / month | — |
|
| MEGA | $567 / month | — |
|