Reference
Academic Quiz Engine
Overview
Heavstal Quiz Engine generates random multiple-choice questions (MCQs) for educational purposes. It covers core STEM subjects including Physics, Chemistry, Biology, Mathematics, and Computer Science.
It supports Batch Generation, allowing you to fetch up to 10 unique questions in a single request without duplicates.
Endpoint
POST /quiz
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| subject | string | Optional | Filter by subject. Options: `physics`, `chemistry`, `biology`, `mathematics`, `computer`. If omitted, returns mixed subjects. |
| count | number | Optional | Number of questions to retrieve (Max: 10, Default: 1). |
Example Usage (Single Question)
javascript
Example Usage (Batch Fetch)
Get 5 random Mathematics questions.
javascript
Successful Response
json