Multilingual trivia API
for modern developers
{totalQuestionsLabel} questions from 12 open datasets, blended and deduped. English and Polish today, more on request. OpenAPI 3.1, TypeScript SDK, MCP server for Claude/Cursor.
Free tier · No credit card · 500 requests/day, full API
Request
curl -H "X-API-Key: qb_pk_YOUR_KEY" \
"https://quizbase.runriva.com/api/v1/questions/random?amount=1&lang=pl"One request, one JSON object, ready for your app.
{
"id": "019dc5f6-4a57-7e29-8c43-6370483b8d32",
"type": "multiple",
"difficulty": "medium",
"language": "en",
"category": "books",
"question": "Which book in \"The Hunger Games\" series was released in 2010?",
"correctAnswer": "Mockingjay",
"incorrectAnswers": [
"The Hunger Games",
"Catching Fire",
"The Ballad of Songbirds and Snakes"
],
"subcategories": [
{
"slug": "young-adult-fiction",
"label": "Young Adult Fiction"
},
{
"slug": "dystopian-novels",
"label": "Dystopian Novels"
},
{
"slug": "science-fiction-literature",
"label": "Science Fiction"
},
{
"slug": "21st-century-books",
"label": "21st Century Books"
},
{
"slug": "series-publishing",
"label": "Series Publishing"
}
],
"tags": [
{
"slug": "mockingjay",
"label": "Mockingjay"
},
{
"slug": "suzanne-collins",
"label": "Suzanne Collins"
},
{
"slug": "katniss-everdeen",
"label": "Katniss Everdeen"
},
{
"slug": "ya-literature",
"label": "Young Adult Fiction"
},
{
"slug": "hunger-games",
"label": "Hunger Games"
}
],
"attribution": {
"author": "Amazon Science (Mintaka)",
"source": "mintaka",
"license": "CC-BY-4.0",
"licenseVersion": "4.0",
"licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
"url": "https://github.com/amazon-science/mintaka",
"modifications": [
"refined_text",
"quizified"
],
"lastModified": "2026-05-21T09:11:44.531Z"
}
}Every question ships with license, author, and source.
QuizBase by the numbers
- Questions
- 0
- Languages
- 0
- Categories
- 0
- Subcategories
- 0
- Tags
- 0
- Topics
- 0
Last updated 9 days ago · Refreshed when content changes. API serves the full set in real time.
Why QuizBase
Multilingual-first
Polish and English on day one. Every question carries a canonical ID so translations stay linked across languages.
Filter that fits your game
Combine category, 5-level LLM-calibrated difficulty (`trivial` to `expert`), type, tags, subcategories, regions, and `?quality=high` in a single query. AND-composable, server-side, no client-side post-filtering.
Topic-aware
2.2K+ curated topics group identical concepts across translations and synonyms — pull "World War II" or "Druga wojna światowa" through the same handle.
Open & attributed
Source data under open licenses (CC-BY-SA, CC-BY, MIT). Full attribution preserved on every API response. Per-source BY-SA dumps published for share-alike compliance.
Performance
Steady under production load
Measured on production with k6 from an EU client. p95 under 500ms across the public surface, sustained at 50 RPS with zero errors over 1,575 requests. Numbers are real, methodology open.
See full benchmark methodology| Endpoint | p50 | p95 | RPS sustained |
|---|---|---|---|
| Public discovery (categories, stats, topics) | 22ms | 101ms | 50 |
| Browse /v1/questions | 65ms | 143ms | 50 |
| Random /v1/questions/random | 342ms | 571ms | 50 |
Last measured 2026-05-27 — 50 RPS sustained for 5 min, 0% errors (15,002 requests). Client-side over the public internet.
By category
Top eight — the rest under "Other".
- History 133,034
- Geography 132,147
- Music 131,462
- Celebrities 128,813
- Film 117,804
- Sports 105,577
- Books 77,645
- Television 57,521
- Other 289,453
By language
English and Polish at launch — full per-language counts.
By difficulty
Five levels calibrated by an LLM that sees the question with its distractor set — "Hard" means hard for a player, not hard for whoever typed it in. Filter via `?difficulty=hard` or skip rated with `?difficulty=any`.
- Trivial 55,604 4.7%
- Easy 180,409 15.4%
- Medium 245,370 20.9%
- Hard 370,489 31.6%
- Expert 321,584 27.4%
Regions
Cultural affinity, not geography
Top regions weighted by where each question lands culturally.
A region code on a question is not the country it is about — it is where someone is statistically more likely to know the answer. "Who painted the Mona Lisa?" carries `fr`, `it`, `gb`, `us` (cultural reach), not just `it` (where the painting hangs).
How to use this →
Use this to bias rounds toward an audience without locking content to a single country: pick a region code and you get questions that resonate with that culture, not just questions filed under that country.
Of which graded high-quality
Pass `?quality=high` to get questions that cleared distractor validation and content grading. One filter, no surprises — here is what you get.
What is the capital of Australia?
Single correct answer (Canberra). Distractors (Sydney, Melbourne, Perth) are plausible but unambiguously wrong. Content grade: standard. Calibrated difficulty: medium.
- EN pass filter
- 333.2K+
- PL pass filter
- 331.9K+
How deep your trivia goes
Four labels per question so you can drill from broad to specific — or filter exactly the slice your game needs.
Each question carries a broad category (24 total), one or more organic subcategories and tags harvested from the question, and a curated topic that groups identical concepts across translations and synonyms — so "World War II" and "Druga wojna światowa" map to the same topic handle. All four are filterable in the API.
Browse what's inside
Top topics by quiz-ready question count. Skim the list to see what your players will actually answer.
Biography
254,003 questions
NFL
73,066 questions
U.S. Presidents
61,376 questions
- Music Industry 56,310
- Record Labels 53,840
- American Musicians 48,982
- Professional Sports 45,874
- Higher Education 45,108
- Political Geography 44,100
- Administrative Divisions 43,228
- Cinema History 42,814
- American History 41,700
- Physical Geography 41,216
- Professional Athletes 41,144
- 2000s Cinema 39,406
- North American Geography 38,754
- European Geography 37,992
- U.S. History 37,926
- American Politics 36,375
- United States Geography 35,998
- U.S. Geography 35,654
- Major League Baseball 35,279
- Music History 34,148
- U.S. Politics 34,059
- 20th Century Literature 33,406
- Business History 32,798
- Pop Music 32,064
- American Cinema 30,992
- U.S. Presidency 30,950
- Military History 30,486
Three question types
Enough structure to power any quiz UI without custom parsing per source.
Multiple choice
One correct answer from 3-4 options. The classic trivia format. Returned by default.
True / False
Binary yes/no questions. Quick rounds, party games, warm-ups. Returned by default.
Open answer
Free-form text for quiz apps that validate on the client. Opt-in via `?type=text_input`.
Try a sample response
Ten pre-loaded questions, no sign-up. Switch language and click through to see the exact shape your client would receive.
{
"id": "019dc5f6-4a57-7e29-8c43-6370483b8d32",
"type": "multiple",
"difficulty": "medium",
"language": "en",
"category": "books",
"question": "Which book in \"The Hunger Games\" series was released in 2010?",
"correctAnswer": "Mockingjay",
"incorrectAnswers": [
"The Hunger Games",
"Catching Fire",
"The Ballad of Songbirds and Snakes"
],
"subcategories": [
{
"slug": "young-adult-fiction",
"label": "Young Adult Fiction"
},
{
"slug": "dystopian-novels",
"label": "Dystopian Novels"
},
{
"slug": "science-fiction-literature",
"label": "Science Fiction"
},
{
"slug": "21st-century-books",
"label": "21st Century Books"
},
{
"slug": "series-publishing",
"label": "Series Publishing"
}
],
"tags": [
{
"slug": "mockingjay",
"label": "Mockingjay"
},
{
"slug": "suzanne-collins",
"label": "Suzanne Collins"
},
{
"slug": "katniss-everdeen",
"label": "Katniss Everdeen"
},
{
"slug": "ya-literature",
"label": "Young Adult Fiction"
},
{
"slug": "hunger-games",
"label": "Hunger Games"
}
],
"attribution": {
"author": "Amazon Science (Mintaka)",
"source": "mintaka",
"license": "CC-BY-4.0",
"licenseVersion": "4.0",
"licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
"url": "https://github.com/amazon-science/mintaka",
"modifications": [
"refined_text",
"quizified"
],
"lastModified": "2026-05-21T09:11:44.531Z"
}
}This is a static sample. Want to hit the real API with your own filters? No sign-up needed.
Try it live →Built for four kinds of teams
From a vibe-coded weekend project to a multilingual learning platform — same API, different shape.

Vibe Coders
Weekend trivia app in 20 lines — AI-assisted, no backend.
View guide
AI Agent Builders
MCP server, ChatGPT actions, Claude tools — trivia as native capability.
View guide
Game Developers
Quiz mechanic for Unity, Roblox, React Native. Multilingual out of the box.
View guide
Educators
Flashcards, lesson plans, Anki/Quizlet exports for classroom materials.
View guide
21 ready recipes
Slack bot, Discord activity, Anki generator, MCP for Claude, Cursor pomodoro, Twitch overlay — copy the code, ship.
MCP 5 min readMCP server for Claude.ai, Cursor, and MCP Inspector
Connect QuizBase to Claude.ai Custom Connectors, Cursor, and any Model Context Protocol client in two minutes. OAuth for agents, API key for code.
Discord 45 min readDiscord Activity Kahoot-style trivia game tutorial
Build a Discord Activity that runs a Kahoot-style trivia round in a voice channel. Embedded App SDK plus WebSockets plus QuizBase REST, ~150 lines.
Slack 25 min readSlack and Discord daily trivia bot in Node.js
Build a community trivia bot for Slack or Discord. Daily question scheduler, first-answer scoring, weekly leaderboard. About 100 lines of plain Node.js.
Education 20 min readGenerate Anki flashcards from QuizBase API in Python
Fetch 50 trivia questions from QuizBase and bundle them into an Anki .apkg deck using genanki. Stable question IDs preserve review history across deck updates.
Cursor 35 min readCursor side-panel pomodoro with QuizBase trivia breaks
Build a Cursor extension with 25-minute focus blocks plus 5-minute QuizBase trivia breaks. Side-panel webview, agent-fetched questions, streak tracking.
Twitch 40 min readTwitch trivia overlay with OBS browser source
Build a Twitch stream interactive trivia overlay. OBS browser source, chat-answer scoring, on-screen winner reveal. Plain Node plus HTML, no streaming SDK.
Mechanics 30 min readBuild a multi-round trivia quiz with API filtering
End-to-end recipe for a multi-round trivia quiz with API filtering and per-session question dedup. Discovery, filters, stable IDs, Star Wars-themed example.
API 20 min readRate limits in practice — pacing, retries, capacity
Read IETF rate-limit headers, respect Retry-After, implement exponential backoff with idempotency, and plan capacity that stays under the QuizBase tier limit.
-
See all 21 guides
Full library across every audience and stack.
All 24 categories
From general knowledge to anime. Pause on hover.
Start in 30 seconds
- 1
Sign up
Free tier, no credit card.
- 2
Grab your API key
Free plan gives the full API: 500 requests/day, every endpoint, the entire 1.2M+ catalog. No card required.
- 3
Make your first request
One curl, one JSON back. Ship by lunch.
curl -H "X-API-Key: qb_pk_YOUR_KEY" \
"https://quizbase.runriva.com/api/v1/questions/random?amount=5&lang=pl"import { createClient } from '@quizbase/client';
const client = createClient({ apiKey: process.env.QUIZBASE_API_KEY! });
const random = await client.questions.random({
amount: 5,
lang: 'pl',
difficulty: 'hard',
quality: 'high'
});
console.log(random.data); // Question[]Open data, publicly available
12 datasets blended into the API, 9 BY-SA dumps published separately so you can mirror, fork, or audit the data we build on top of. Categorization, generated distractors, and topic groupings stay in the API.
Built in the open, growing on request
Need a new language? Cultural region we don’t cover yet? An endpoint shape that would unblock your app? Email — every paid customer request goes to the top of the roadmap.
Growing on request
Missing language, region, endpoint shape, or filter? Email and it goes on the roadmap. Paid customers cut the line.
Email usShipping in public
Every release lands in the changelog with what changed, what broke, and what’s next.
See the changelog →Benchmarked openly
Real production load tests with k6. Numbers, methodology, raw dumps — all linked from the docs.
Read the benchmarks →