Open Trivia Database Scraper avatar

Open Trivia Database Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Open Trivia Database Scraper

Open Trivia Database Scraper

Scrape trivia questions from the Open Trivia Database (opentdb.com). Filter by category, difficulty, and question type. Returns questions with correct and incorrect answers. No API key required.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Scrape trivia questions from the Open Trivia Database — a free, user-contributed trivia question database. No API key required.

Features

  • Fetch up to 500 questions per run
  • Filter by category (24 categories including History, Science, Sports, Film, Music, etc.)
  • Filter by difficulty (Easy, Medium, Hard)
  • Filter by type (Multiple choice or True/False)
  • HTML entities automatically decoded
  • All answer choices provided (correct + incorrect)

Input

FieldTypeDescription
amountintegerNumber of questions to fetch (default: 50)
categoryselectCategory ID (0 = any)
difficultyselectany, easy, medium, hard
questionTypeselectany, multiple, boolean

Output

FieldDescription
questionThe trivia question text
categoryCategory name
difficultyDifficulty level
questionType"multiple" or "boolean"
correctAnswerThe correct answer
incorrectAnswersList of wrong answers
allAnswersAll answers combined (sorted)
scrapedAtISO timestamp
recordTypeAlways "trivia_question"

FAQ

How many questions are available? The Open Trivia DB has 4,000+ verified questions.

Is the data free? Yes — OTDB is open source and free to use.

Why does the scraper wait between requests? OTDB enforces rate limits; the actor waits ~5 seconds between requests to avoid being blocked.