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
10d 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 →
bet365.bet.br API
Access live betting odds, featured sports events, and real-time scores directly from bet365 Brazil's platform across multiple sports including Formula 1 and in-play markets. Get current match results, browse available betting categories, and view homepage promotions all through structured data endpoints.
pdga.com API
Access player profiles, ratings history, tournament events, live scoring, world rankings, and the course directory from the Professional Disc Golf Association.
viagogo.com API
Search for events and browse tickets across Viagogo's catalog, discovering performer schedules, ticket listings, and categories all in one place. Get detailed information about available tickets and events to find exactly what you're looking for.
bwfbadminton.com API
Track badminton tournaments worldwide by browsing the BWF calendar, viewing tournament draw brackets, and retrieving detailed match results with player stats and scores. Stay updated on competitions and analyze matchups with comprehensive tournament data from the Badminton World Federation.
mwcbarcelona.com API
Discover and explore MWC Barcelona 2026 exhibitors, speakers, and sessions by searching, filtering, and browsing by category, location, or type. Access detailed information about pavilions, agenda schedules, news updates, and pass options to plan your conference experience.
axs.com API
Search for events, performers, and venues across AXS.com to find tickets, pricing, and availability information in your area or by category. Browse featured events, explore venues by city, and access detailed event information all in one place.
brickset.com API
Search and browse thousands of LEGO sets by theme, year, or keyword. Retrieve detailed data for any set including piece count, minifigure count, dimensions, RRP, and more. Explore the full catalog of themes and yearly releases available on Brickset.
formula1.com API
Get comprehensive Formula 1 data including race results, qualifying sessions, practice sessions, pit stops, and driver/team standings from 1950 to present. Track live race schedules, fastest laps, starting grids, and historical world champions to stay updated on all F1 season information.