Discover/funtrivia.com API
live

funtrivia.com APIfuntrivia.com

Access FunTrivia's trivia questions, quizzes, categories, and answers via API. Browse by category, search by keyword, or fetch random quizzes with full Q&A data.

Endpoints
14
Updated
1mo ago
Try it

No input parameters required.

api.parse.bot/scraper/fcf298a7-65f1-4c50-bb96-0b8b3ae47407/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/fcf298a7-65f1-4c50-bb96-0b8b3ae47407/get_trivia_categories' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 14 totalclick to expand

Retrieve the list of top-level trivia categories from the questions section of FunTrivia.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "data": "array of category objects with id and name",
    "status": "string indicating success"
  },
  "sample": {
    "data": [
      {
        "id": "1",
        "name": "Animals"
      },
      {
        "id": "14",
        "name": "History"
      },
      {
        "id": "9",
        "name": "Science"
      }
    ],
    "status": "success"
  }
}

About the funtrivia.com API

The FunTrivia API provides access to trivia questions and quizzes across 14 endpoints, covering category browsing, keyword search, and full quiz retrieval with questions, answer options, correct answers, and difficulty ratings. Use get_quiz_detail to pull a complete quiz by URL, or get_trivia_questions_by_subtopic to fetch questions for a granular topic with explanations and incorrect choices included in every response.

Trivia Questions Endpoints

The trivia question side of the API is organized as a two-level hierarchy. get_trivia_categories returns top-level category objects (id, name), and get_trivia_subtopics_by_category accepts a cat_id to return subtopic objects with their own ids. Those subtopic ids feed into get_trivia_questions_by_subtopic, which returns question objects containing the question text, the correct answer, an explanation, a difficulty value, and an array of incorrect choices. get_trivia_questions_by_category skips the subtopic level and returns questions directly from a category's main page. get_random_trivia_questions requires no input and returns a mixed set across all categories — useful for sampling content without committing to a topic path.

Quiz Endpoints

The quiz side mirrors the question hierarchy but adds richer discovery options. get_quiz_categories returns category objects with a slug field used to construct paths for get_quizzes_by_category. That endpoint accepts slug paths like 'animals/index' for top-level categories or 'brain_teasers/word_play/something_in_common' for deeper subcategory trees, and it returns a category string plus a quizzes array of titles and URLs. get_quiz_detail accepts a full quiz URL (both /trivia-quiz/ and /quiz/ URL formats are supported) and returns the quiz title, metadata, and a questions array with options and correct answers. search_quizzes accepts a free-text query and returns matching quiz titles and URLs for keyword-driven discovery.

Discovery and Trending Endpoints

Four endpoints return curated lists of quizzes without requiring any input: get_newest_quizzes surfaces recently added content, get_top_rated returns highly rated quizzes, get_hot_topics reflects trending quizzes at the time of the call, and get_most_played_quizzes returns currently high-traffic quizzes. All four return arrays of quiz objects with title and URL fields, which can then be passed to get_quiz_detail for full question data. get_random_quiz returns a complete quiz with metadata and questions in a single call.

Response Shape Notes

Question objects across both the trivia and quiz endpoints include multiple-choice options alongside the correct answer, making them usable directly in quiz interfaces without additional processing. The explanation field in trivia question responses provides context for the correct answer. Not all categories expose subtopics — get_trivia_subtopics_by_category returns an empty array for categories that have no sub-level, so callers should handle both cases.

Common use cases
  • Build a trivia game app seeded with categorized questions, answer choices, and difficulty ratings from get_trivia_questions_by_subtopic
  • Power a daily trivia widget using get_random_trivia_questions or get_random_quiz for fresh content on each load
  • Create a quiz browser that surfaces trending content by combining get_hot_topics and get_most_played_quizzes with get_quiz_detail
  • Index FunTrivia quizzes by keyword using search_quizzes to build a topic-specific trivia database
  • Track newly published trivia content by polling get_newest_quizzes and storing returned titles and URLs
  • Generate categorized question sets for e-learning modules by walking get_quiz_categories, get_quizzes_by_category, and get_quiz_detail
  • Build a CLI trivia tool that fetches top-rated quizzes and presents questions with shuffled answer choices
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does FunTrivia have an official developer API?+
FunTrivia does not publish a public developer API. The Parse API is the structured way to access FunTrivia's trivia and quiz data programmatically.
What does get_quiz_detail return, and what URL formats does it accept?+
It returns a data object containing the quiz title, metadata, and a questions array where each question includes the answer options and the correct answer. It accepts both '/trivia-quiz/' and '/quiz/' URL formats, so URLs from get_quizzes_by_category, search_quizzes, or any of the discovery endpoints can be passed directly to it.
Do all trivia categories have subtopics available through get_trivia_subtopics_by_category?+
No. Some categories have no subtopic level, in which case get_trivia_subtopics_by_category returns an empty data array. For those categories, use get_trivia_questions_by_category with the cat_id directly to retrieve questions.
Does the API expose user account data, quiz scores, leaderboards, or player statistics?+
Not currently. The API covers quiz content, question data, answer choices, and discovery lists such as top-rated and most-played quizzes — not user-generated data or gameplay statistics. You can fork the API on Parse and revise it to add an endpoint targeting those data surfaces if they become accessible.
Can I paginate through large lists of quizzes within a category, or is each call limited to one page of results?+
Each call to get_quizzes_by_category returns the quizzes listed on that category page. Pagination across multiple pages of quiz listings is not currently supported. The API covers top-level and subcategory paths via the slug parameter. You can fork it on Parse and revise to add pagination handling for deeper result sets.
Page content last updated . Spec covers 14 endpoints from funtrivia.com.
Related APIs in EntertainmentSee all →
sporcle.com API
Access Sporcle quizzes by slug, keyword search, or category. Retrieve quiz titles, questions, multiple-choice answers, hints, user ratings, and average scores.
jetpunk.com API
Search and discover trivia quizzes from JetPunk by category or tag, then access detailed quiz questions and answers to test your knowledge or build custom trivia experiences. Browse thousands of quizzes organized by topic and retrieve complete question/answer data for any quiz you find.
quizbowlpackets.com API
Search and browse thousands of quizbowl question sets across all competition levels, then access detailed metadata like difficulty, subjects, and download links for each packet. Find the perfect practice materials for High School, Collegiate, Middle School, or Pop Culture quizbowl competitions.
funpay.com API
Browse and monitor gaming marketplace listings and prices on FunPay.com. Search for games and categories, view current listings and pricing, explore the full game directory alphabetically, and look up seller profiles to research reputation and active offers.
explodingtopics.com API
Discover rapidly growing trends, emerging startups, and top-performing websites by filtering through trending topics by category and volatility. Programmatically access detailed trend analysis, related topics, blog coverage, and curated highlights to stay ahead of market movements.
superuser.com API
Access questions, answers, and comments from Super User to find solutions to technical problems, search for specific topics, and explore trending discussions across the community. View user profiles, track site activity, and discover the hottest questions trending across the Stack Exchange network.
runoob.com API
Access comprehensive programming tutorials and learning materials from Runoob, including browsing categories and directories, retrieving full tutorial content, and searching across thousands of coding lessons. Discover structured learning paths by category, view navigation links, and get detailed metadata to help you find exactly what you need to learn.
wikia.com API
Extract structured data from Fandom (formerly Wikia) gaming wikis. Search pages, retrieve full page content, list category members, and convert wiki pages into organized guides with infoboxes, section breakdowns, and clean text.