AI Quiz Maker avatar
AI Quiz Maker

Pricing

Pay per event

Go to Store
AI Quiz Maker

AI Quiz Maker

Developed by

harvest-org

Maintained by Community

Transforms user input into a structured study quiz. Given a user's request, the agent extracts the core topic, and generates a multi-difficulty quiz in various formats (Markdown, HTML, JSON).

0.0 (0)

Pricing

Pay per event

0

Monthly users

5

Runs succeeded

>99%

Last modified

a month ago

Apify AI Agent Actor: Study Quiz Generator

Overview

The Study Quiz Generator is an autonomous AI agent built on Apify that transforms user input into a structured study quiz. Given a user's request (e.g., "I need to study for a quiz about World War 2"), the agent extracts the core topic, scrapes relevant Wikipedia pages asynchronously, and generates a multi-difficulty quiz in various formats (Markdown, HTML, JSON).

Features

  • Autonomous Topic Extraction: The agent identifies key study topics from natural language input.
  • Asynchronous Web Scraping: Retrieves data from multiple Wikipedia pages simultaneously for efficiency.
  • Intelligent Quiz Generation: Constructs easy, medium, and hard questions based on extracted information.
  • Multi-Format Output: Outputs quizzes in Markdown, HTML, and structured JSON format for various use cases.

Workflow

Workflow Diagram

  1. User Input Processing: The AI agent processes a free-text request to determine the main study topic.
  2. Web Scraping: Asynchronously scrapes Wikipedia pages relevant to the extracted topic.
  3. Content Analysis: Extracts key facts, events, and figures, organizing them into a structured knowledge base.
  4. Question Generation: Creates quiz questions of varying difficulty levels.
  5. Multi-Format Export: Outputs the quiz in Markdown (for readability), HTML (for web integration), and JSON (for programmatic use).

How to Use

  1. Deploy the Apify AI agent on the Apify platform.
  2. Provide a study request as input.
  3. The agent autonomously scrapes and processes data.
  4. Retrieve the generated quiz in your preferred format.

Example Input

"I need to study for a quiz about World War 2"

Output

Be sure to check the "Storage > Key-value store output tab for the HTML/MD report files.

Example Output Format

1{
2    "easy": [
3        {
4            "question": "What year did World War 2 start?",
5            "answers": ["1939", "1940", "1941", "1942"]
6        }
7        // 5 questions
8    ],
9    "medium": [
10        {
11            "question": "Which countries were part of the Axis powers?",
12            "answers": ["Germany", "Italy", "Japan", "Hungary"]
13        }
14        // 5 questions
15    ],
16    "hard": [
17        {
18            "question": "What was Operation Barbarossa?",
19            "answers": ["The German invasion of the Soviet Union"]
20        }
21        // 5 questions
22    ]
23}

Sample output HTML

This AI agent autonomously handles the entire study quiz generation process, making it a powerful tool for students, educators, and self-learners!

Pricing

Pricing model

Pay per event 

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Actor initialization

$1.000

Starting of the actor

LLM Input

$0.010

Length of input request (only for users who do not supply an API key)