● HEADLESS ASSESSMENT AS A SERVICE

The REST API for
EdTech Platforms & LMS

Connect your student portal (like PrepNex) to India's premier verified question bank. Deliver dynamic test sessions in <1 second with zero local image storage.

Explore Endpoints ⚡

Built by Developers, for Developers

Clean JSON responses, standard HTTP status codes, granular exam-scope permissions, and full CDN-hosted image URLs.

🖼️ Zero Image Storage on Your Servers

Syncing thousands of question graphics and diagrams across multiple databases is inefficient. Our API returns ready-to-render HTTPS image URLs (q_img_url, sol_img_url). Your frontend simply loads them via <img src="...">.

🔒 Stream & Exam Permission Scoping

Restrict API keys to specific exams (neet, jee_mains, jee_adv). If a student who only purchased NEET tries to request JEE papers, the API strictly enforces access control at the tenant level.

⚡ Automated Server-Side Grading

Submit user answer maps to our /evaluate_paper.php endpoint to receive instant official scoring, negative marks deduction, accuracy percentages, and graphical solution keys.

POST /api/v1/generate_paper.php JSON API
// Request Payload { "exam": "neet", "chapters": ["Optics", "Genetics", "Thermodynamics"], "total_questions": 45, "difficulty_ratio": { "easy": 30, "medium": 50, "hard": 20 } } // Response Preview { "success": true, "paper_token": "pn_98a72b...", "total_questions": 45, "questions": [ { "id": 156, "subject": "physics", "q_img_url": "https://papergenerator.in/uploads/physics/questions/q_156.png" } ] }

Final Touch Mock Test Series & Question Vault

Instantly integrate 147 pre-curated SOF Olympiad mock test papers (7 sets across Class 4–10 for IMO, NSO, and IEO) with 100% zero question repetition into your app or learning platform.

🔑 Master Partner Full-Access API Key ACTIVE • 100K REQS/DAY

This master key has unrestricted global access across all exams (IMO, NSO, IEO, JEE, NEET) and all 147 mock papers.

pn_live_master_all_exams_2026 (Header: X-API-KEY)
1. List Test Series by Exam & Class GET

Retrieve the list of 7 pre-curated mock test papers for any class (Class 4 to 10) and subject (IMO, NSO, IEO).

// cURL Example
curl -H "X-API-KEY: pn_live_master_all_exams_2026" \
  "https://papergenerator.in/api/v1/sof_test_series.php?exam=IMO&class=Class%204"
// Response Preview
{
  "success": true,
  "total_tests": 7,
  "tests": [
    {
      "test_token": "SOF_IMO_C4_T01",
      "title": "SOF IMO — Final Touch Mock Set 01 (Class 4)",
      "total_questions": 35,
      "total_marks": 40,
      "duration_minutes": 60
    }
  ]
}
2. Fetch Full Paper & Question Graphics GET / POST

Fetch complete question payload with section quotas, positive/negative marks, answer keys, and CDN image URLs.

// cURL Example
curl -H "X-API-KEY: pn_live_master_all_exams_2026" \
  "https://papergenerator.in/api/v1/sof_test_series.php?token=SOF_IMO_C4_T01&include_solutions=1"
// Question Object Sample
{
  "question_number": 1,
  "section": "Logical Reasoning",
  "marks_positive": 1.0,
  "correct_option": "C",
  "question_url": "https://papergenerator.in/uploads/mathematics/questions/Olympiads/imo_c4_2010_seta_q1.png",
  "solution_url": "https://papergenerator.in/uploads/mathematics/solutions/Olympiads/imo_c4_2010_seta_q1.png"
}

🚀 Direct CBT Simulator Webview / Iframe Embed

Rather than rendering your own question navigation and OMR sheet, you can directly launch or embed our full-screen CBT simulator for any of the 147 mock papers using the token:

<!-- Iframe Embed for EdTech Student Portals -->
<iframe src="https://papergenerator.in/test.php?token=SOF_IMO_C4_T01" width="100%" height="800px" frameborder="0" allowfullscreen></iframe>

Integrate with PaperGenerator API

Looking to power your EdTech app, test series, or school platform with our assessment engine? Request API access below.

Request API Keys →