Tools / Trivia Quiz
Trivia Quiz icon

Trivia Quiz

20+ categories of trivia questions

Curated trivia questions across 20+ categories: history, science, sports, video games, music, film, and more. Filter by category, difficulty, and type (multiple choice or true/false). Each question includes shuffled answers with the correct one marked.

3 skillsv0.02
Get Questions

Get trivia questions with answers. Supports filtering by category, difficulty, and question type. Returns shuffled answer choices with the correct answer marked.

Returns: List of trivia questions with shuffled answer choices, correct answer, category, difficulty, and question type
Parameters
amountnumberNumber of questions to return (1-50)
categorystringCategory name (e.g. "Science", "History", "Video Games") or category ID. Use list_categories to see all options.
difficultystringQuestion difficulty level
typestringQuestion type: multiple_choice (4 options) or true_false
Example
Get 10 random trivia questions across all categories
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "trivia-quiz",
  "skill": "get_questions",
  "input": {
    "amount": 10
  }
}' \
  https://api.toolrouter.com/v1/tools/call
List Categories

List all available trivia categories with their IDs. Use these category names or IDs when requesting questions with get_questions.

Returns: List of all trivia categories with their IDs and names
Example
List all available trivia categories
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "trivia-quiz",
  "skill": "list_categories",
  "input": {}
}' \
  https://api.toolrouter.com/v1/tools/call
Category Stats

Get the total number of available questions for a specific trivia category, broken down by difficulty level (easy, medium, hard).

Returns: Category name, ID, total question count, and breakdown by difficulty level
Parameters
category *stringCategory name (e.g. "Science & Nature", "History") or category ID number
Example
Get question counts for the Science & Nature category
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "trivia-quiz",
  "skill": "category_stats",
  "input": {
    "category": "Science & Nature"
  }
}' \
  https://api.toolrouter.com/v1/tools/call
Loading reviews...
Loading activity...
v0.022026-03-22
  • Added subtitle, expanded description, and agent instructions
v0.012026-03-20
  • Initial release with get_questions, list_categories, and category_stats skills

Quick Start

MCP (Claude Code)
claude mcp add --transport stdio \
  --env TOOLROUTER_API_KEY=YOUR_API_KEY \
  toolrouter -- npx -y toolrouter-mcp
REST API
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{"tool":"trivia-quiz","skill":"get_questions","input":{}}' \
  https://api.toolrouter.com/v1/tools/call

Use Cases

Open Create Educational Quizzes

Create Educational Quizzes

Generate subject-specific quiz questions for classroom learning and student assessment.

Trivia Quiz icon
Trivia Quiz
4 agent guides
Open Search Papers by Topic

Search Papers by Topic

Find relevant academic papers on any research topic across millions of scholarly publications.

Academic Research icon
Academic Research
4 agent guides
Open Geocode Addresses to Coordinates

Geocode Addresses to Coordinates

Convert street addresses into precise latitude and longitude coordinates for mapping and spatial analysis.

Address Geocoding icon
Address Geocoding
4 agent guides
View all use cases for Trivia Quiz

Workflows

Open Team Trivia Generator

Team Trivia Generator

Create engaging trivia quizzes with general knowledge, fun facts, and current sports scores.

Trivia Quiz icon
Trivia Quiz
Wikipedia Lookup icon
Wikipedia Lookup
Sports Scores icon
Sports Scores
3 steps3 tools

Frequently Asked Questions

Can I ask for a specific number of trivia questions?

Yes. `get_questions` accepts an amount from 1 to 50, and you can also filter by category, difficulty, and question type.

Can I get true-or-false questions only?

Yes. Set the question `type` filter to true/false, or leave it open for multiple-choice questions with shuffled answers.

How do I find what trivia categories are available?

Use `list_categories` to see the category names and IDs, then use `category_stats` to check how many questions are available in a category before you request them.

Does the quiz show the correct answer?

Yes. Each question includes the shuffled choices and clearly marks the correct answer, so it is ready to display in an app or quiz flow.