FREE · NO API KEY · JSON

MonsterMoo API

A free, open math problem API for developers and AI agents. Generate K-8 problems, check answers, and build curriculum-aligned quiz sets — no key required.

Getting Started

All endpoints are served from the MonsterMoo API. No authentication required, no rate limits, free to use.

Base URL: https://moomoomath-api.linix100.workers.dev

# Example request
curl "https://moomoomath-api.linix100.workers.dev/api/problem?topic=fractions&grade=4&difficulty=2"

Endpoints

Five endpoints cover problem generation, quizzes, answer checking, and curriculum planning.

GET /api/topics List all available topics
GET /api/problem Generate a single problem
GET /api/quiz Generate a multi-problem quiz
POST /api/check Check a student's answer
GET /api/curriculum Recommended topic sequence for a grade

Try It

Pick a topic and difficulty, then get a live problem from the API.

Available Topics

23 topics across Number Sense, Operations, Fractions, Decimals, Algebra, and Geometry. Use the slug value in API calls.

For AI Agents

MonsterMoo API is designed to be called programmatically by tutoring agents, curriculum planners, and benchmark tools.

🤖 Tutoring Agent Workflow

The standard loop for an AI tutor using this API:

  1. Call GET /api/curriculum?grade=5 to get recommended topics for the student's grade.
  2. Call GET /api/problem?topic=fractions&difficulty=2 to fetch a problem.
  3. Present problem.question to the student and collect their response.
  4. Call POST /api/check with the problem_id and the student's answer.
  5. If wrong, present result.hint_if_wrong and result.explanation to guide them.
  6. Repeat, increasing difficulty as the student succeeds.

📋 Prompt Template for LLM Agents

Add this to your system prompt to let an LLM agent call the API:

# MonsterMoo Tool
You have access to the MonsterMoo API for K-8 math problems.
Base URL: https://moomoomath-api.linix100.workers.dev

## Available calls:
- GET /api/topics → list all topics and their slugs
- GET /api/problem?topic=SLUG&grade=N&difficulty=1-4 → get one problem
- GET /api/quiz?topics=SLUG1,SLUG2&count=N&difficulty=mixed → quiz set
- POST /api/check body:{problem_id,user_answer} → check answer

## When to use:
- Use /api/topics first to discover valid slugs
- Save problem.id — you need it for /api/check
- difficulty=1 is easiest, 4 is hardest
- All responses are JSON with a "meta" field

📊 Benchmark Testing

Generate standardized test sets for evaluating AI math capabilities. Use /api/quiz with all topics at difficulty 3–4 for a challenging K-8 benchmark. The answer field provides ground truth for automated scoring.

AMC 8 Problem Bank

650 real AMC 8 problems (1998–2024) stored in Cloudflare D1. Filter by year, topic, or difficulty. Requires Authorization: Bearer <token>.

GET /api/problems Query competition problems
GET /api/problems/random Random competition problems
GET /api/problems/years Available years and problem counts
GET /api/problems/topics Topics with counts and difficulty ranges