# QuizBase > QuizBase is the question bank behind quiz apps, games and bots: a multilingual trivia API. Ask for questions by topic, difficulty and language and get them with the answer and wrong options in one call. 1M+ blended, deduped questions from 11 open datasets (CC, MIT), English and Polish at launch. Per-record license, author, and source on every response; the API itself is proprietary. Publishable (qb_pk_*) and secret (qb_sk_*) keys or OAuth 2.1 with DCR. MCP server at /mcp for Claude (also Desktop), Cursor, and any MCP host. BY-SA dump at /data is the share-alike publication required by upstream licenses. ## Getting Started - [QuizBase docs — multilingual trivia API](https://quizbase.runriva.com/docs): Multilingual trivia API with transparent licensing, 1M+ quiz-ready questions, English and Polish at launch. - [Quickstart — first QuizBase API request in 5 min](https://quizbase.runriva.com/docs/quickstart): Step-by-step guide to your first QuizBase trivia API call — sign up, generate a key, fetch random questions, and handle the response. - [Authentication — API keys and OAuth 2.1 for MCP](https://quizbase.runriva.com/docs/authentication): QuizBase auth reference — qb_pk_/qb_sk_ key prefixes for REST, OAuth 2.1 with Dynamic Client Registration for the MCP server, headers, rotation, CORS rules. - [Errors and retries — RFC 9457 + IETF rate-limit](https://quizbase.runriva.com/docs/errors-and-retries): QuizBase error handling — RFC 9457 Problem Details body, IETF rate-limit headers, Retry-After contract, and recommended exponential backoff for clients. - [Performance — SLOs, p95 numbers, sustained throughput](https://quizbase.runriva.com/docs/performance): Service Level Objectives, per-endpoint p95 from sustained load tests, methodology, and quarterly drift mechanism. ## Api Reference - [GET /v1/me — verify API key and rate-limit window](https://quizbase.runriva.com/docs/api/me): Diagnostic endpoint — confirm your API key works and inspect your current rate-limit window. - [GET /v1/usage — daily request series and summary](https://quizbase.runriva.com/docs/api/usage): Programmatic access to your QuizBase daily request series, success/error breakdown, and rolling usage summary — primary endpoint for in-app monitoring widgets. - [GET /v1/questions/random — random quiz questions](https://quizbase.runriva.com/docs/api/questions-random): Fetch a batch of random QuizBase trivia questions filtered by category, difficulty, language, tags, or topics — primary endpoint for live games and quiz apps. - [GET /v1/questions — cursor + delta-sync browse](https://quizbase.runriva.com/docs/api/questions): Cursor-paginated QuizBase trivia question listing with full filter set and updatedSince parameter — primary endpoint for caching and delta-sync workflows. - [GET /v1/questions/:id — fetch a single question by UUID](https://quizbase.runriva.com/docs/api/questions-by-id): Fetch a single question by UUID — deep links, shareable URLs, moderation review. - [GET /v1/categories — list trivia categories with i18n](https://quizbase.runriva.com/docs/api/categories): List QuizBase trivia categories with localized display names per language. Authenticated endpoint with 1h server-side caching, OpenTDB-compatible ids. - [GET /v1/topics — curated topics with aliases](https://quizbase.runriva.com/docs/api/topics): Discover QuizBase curated trivia topics with aliases, descriptions, and question counts — high-precision navigation above raw tags. - [GET /v1/topics/:slug — single curated topic detail](https://quizbase.runriva.com/docs/api/topics-by-slug): Detail of a single curated topic — counts, facets across category/difficulty/language, co-occurring tags and subcategories, plus a few sample questions. - [GET /v1/tags — raw tags with labels and counts](https://quizbase.runriva.com/docs/api/tags): List raw tags with display labels and question counts. Requires `X-API-Key` (or `Authorization: Bearer …`). - [GET /v1/subcategories — middle taxonomy reference](https://quizbase.runriva.com/docs/api/subcategories): List raw subcategories — the middle taxonomy layer between category and tags. Requires `X-API-Key` (or `Authorization: Bearer …`). - [GET /v1/languages — supported languages with counts](https://quizbase.runriva.com/docs/api/languages): Whitelist of QuizBase supported languages with per-language question counts. Authenticated endpoint, ideal for building language pickers. - [GET /v1/regions — cultural affinity codes](https://quizbase.runriva.com/docs/api/regions): Discover region codes used by QuizBase questions. Cultural affinity, not geography. ISO 3166-1 alpha-2 plus jewish, christian-catholic, islam. - [GET /v1/stats — dataset counts by language and source](https://quizbase.runriva.com/docs/api/stats): Aggregate QuizBase dataset counters — total questions, per-language coverage, per-source and per-category totals. Served from a 5-minute server-side cache. - [POST /v1/report — flag a question for review](https://quizbase.runriva.com/docs/api/report): Report a problem with a question — translation, factual error, attribution, or moderation. ## Guides - [Guides — end-to-end recipes for QuizBase](https://quizbase.runriva.com/docs/guides): 21 hands-on guides covering quiz mechanics, MCP integration, classroom tools, and AI agent recipes. Pick your stack and ship. - [Languages and translations — EN/PL launch coverage](https://quizbase.runriva.com/docs/guides/languages-and-translations): English and Polish at launch — translation quality, strict-language mode, and mapping a whole question set between languages in one call. - [OpenTDB alternative — migrating to QuizBase v1](https://quizbase.runriva.com/docs/guides/migrating-from-opentdb): A field-by-field mapping from Open Trivia DB to QuizBase v1, plus what you gain — 1M+ questions, stable IDs, MCP support, full attribution. - [Multilingual quiz app with SvelteKit — PL case study](https://quizbase.runriva.com/docs/guides/polish-quiz-app): End-to-end SvelteKit tutorial — Polish quiz app with score, timer, attribution. Swaps to English (the second supported language) by changing one parameter. - [Build a multi-round trivia quiz with API filtering](https://quizbase.runriva.com/docs/guides/multi-round-quiz): 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. - [MCP server for Claude.ai, Cursor, and MCP Inspector](https://quizbase.runriva.com/docs/guides/mcp-for-claude): Connect QuizBase to Claude.ai Custom Connectors, Cursor, and any Model Context Protocol client in two minutes. OAuth for agents, API key for code. - [MCP-powered Slack trivia bot for your team](https://quizbase.runriva.com/docs/guides/mcp-slack-trivia-bot): Build a Slack bot that posts daily trivia via QuizBase MCP. Bolt SDK plus a Claude agent runtime, scoring, leaderboard, around 80 lines of TypeScript. - [Daily trivia in Claude.ai Project with QuizBase MCP](https://quizbase.runriva.com/docs/guides/claude-project-daily-quiz): Build a personal trivia coach in Claude.ai Project — custom instructions, quizbase_random MCP tool, streak tracking artifact. End-to-end setup in five minutes. - [Custom GPT trivia tutor with QuizBase OpenAPI action](https://quizbase.runriva.com/docs/guides/custom-gpt-trivia-tutor): Build a ChatGPT Custom GPT that fetches trivia via QuizBase OpenAPI action. Age-appropriate filters, conversation flow with explanations, no code required. - [Generate Anki flashcards from QuizBase API in Python](https://quizbase.runriva.com/docs/guides/anki-flashcards-generator): 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. - [Discord Activity Kahoot-style trivia game tutorial](https://quizbase.runriva.com/docs/guides/discord-activity-kahoot-style): 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. - [Cursor side-panel pomodoro with QuizBase trivia breaks](https://quizbase.runriva.com/docs/guides/cursor-pomodoro-quiz): Build a Cursor extension with 25-minute focus blocks plus 5-minute QuizBase trivia breaks. Side-panel webview, agent-fetched questions, streak tracking. - [Slack and Discord daily trivia bot in Node.js](https://quizbase.runriva.com/docs/guides/slack-discord-trivia-bot): Build a community trivia bot for Slack or Discord. Daily question scheduler, first-answer scoring, weekly leaderboard. About 100 lines of plain Node.js. - [Roblox classroom trivia experience with HttpService](https://quizbase.runriva.com/docs/guides/roblox-classroom-experience): Build a Roblox Studio classroom experience that fetches QuizBase trivia via HttpService. Lua client, teacher mode, projector-style display. About 100 lines. - [Multiplayer realtime quiz with WebSockets tutorial](https://quizbase.runriva.com/docs/guides/multiplayer-realtime-quiz): Build a 1v1 realtime trivia browser game. WebSocket sync, broadcast-ID pattern, anti-cheat by design. Plain Node server plus React client, ~200 lines total. - [Embed QuizBase trivia in Moodle and Canvas LMS](https://quizbase.runriva.com/docs/guides/moodle-canvas-lms-module): Drop a working QuizBase trivia activity into a Moodle Page or a Canvas page. HTML embed, no JavaScript build, attribution preserved, score on student device. - [Quiz lead-gen widget for SaaS landing pages](https://quizbase.runriva.com/docs/guides/quiz-lead-gen-widget): Build an embeddable trivia quiz widget that gates results behind an email signup. 5-10x higher conversion than newsletter CTAs. ~120 lines of vanilla JS. - [Multi-MCP agent — QuizBase plus a second source](https://quizbase.runriva.com/docs/guides/multi-source-aggregator-agent): Build an AI agent that composes QuizBase MCP with a second MCP server for trivia plus built-in explainers. Learning mode toggle, zero dataset work, ~80 lines. - [Twitch trivia overlay with OBS browser source](https://quizbase.runriva.com/docs/guides/twitch-stream-overlay): Build a Twitch stream interactive trivia overlay. OBS browser source, chat-answer scoring, on-screen winner reveal. Plain Node plus HTML, no streaming SDK. - [Reddit weekly trivia bot tutorial for 2026 API](https://quizbase.runriva.com/docs/guides/reddit-weekly-trivia-bot): Build a Reddit bot that posts a weekly trivia thread, scores first-correct comments, and replies with a leaderboard. Native fetch, OAuth2 script app, no SDK. - [Build a time-pressure trivia quiz in JavaScript](https://quizbase.runriva.com/docs/guides/time-pressure-quiz): Build a 5-second countdown trivia game with auto-submit, streak tracking, three-wrong reset. React + QuizBase, ~100 lines of plain JS. Addictive by design. - [Rate limits in practice — pacing, retries, capacity](https://quizbase.runriva.com/docs/guides/rate-limits-and-retries): Read IETF rate-limit headers, respect Retry-After, implement exponential backoff with idempotency, and plan capacity that stays under the QuizBase tier limit. ## Sdks - [TypeScript SDK — typed client with retries and auth](https://quizbase.runriva.com/docs/sdks/typescript): Official QuizBase TypeScript SDK with fully typed methods, automatic retry on 429/5xx, Retry-After honored, zero-config auth, and per-endpoint timeouts. - [MCP server reference — tools, resources, prompts](https://quizbase.runriva.com/docs/sdks/mcp-server): Tools, resources, and prompts exposed by the QuizBase Model Context Protocol server. - [Other languages — Python, Go, Rust, Ruby clients](https://quizbase.runriva.com/docs/sdks/other): Community-built QuizBase SDKs for Python, Go, Rust, and Ruby, plus the always-available raw curl fallback and notes on contributing your own client library. ## Resources - [FAQ — billing, content, usage answers](https://quizbase.runriva.com/docs/faq): Frequently asked questions about QuizBase pricing, API keys, content licensing, language coverage, multilingual translation quality, and support. - [Support — report bugs, ask questions, get help](https://quizbase.runriva.com/docs/support): How to report a bug, ask a question, get integration help. In-dashboard button, mailto fallback, and routing to the right channel. ## Optional - [llms-full.txt](https://quizbase.runriva.com/llms-full.txt): Full documentation as plain text, one document concatenated - [OpenAPI spec](https://quizbase.runriva.com/openapi.json): Machine-readable API schema (OpenAPI 3.1)