POST
qbreader.org/api/random-question
Get random questions from the database.
Note: this endpoint is deprecated and will be removed in a future update.questionType
: "tossup" | "bonus"
required
"tossup"
- only tossups"bonus"
- only bonusesdifficulties
: number[] | number | string
default: undefined
undefined
then all difficulties are allowed.string
or number
if there is only 1 difficulty.categories
: string[] | string
default: undefined
undefined
then all categories are allowed.string
if there is only 1 category.subcategories
: string[] | string
default: undefined
undefined
then all subcategories are allowed.string
if there is only 1 subcategory."History"
and the "Biology"
and "Chemistry"
subcategories will return no questions.number
: number
default: 1
minYear
: number
default: 2010
maxYear
: number
default: 2023