This endpoint returns a random piece of trivia like "Rio de Janeiro was once the capital of Portugal, making it the only European capital outside of Europe.".
{
"trivia": "Koalas sleep up to 20 hours a day."
} {{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
The trivia covers a vast array of topics including history, science, geography, entertainment, sports, and general knowledge.
We strive to ensure accuracy, but given the nature of trivia, some facts may be simplified or subject to debate.
Absolutely! This API is perfect for populating quiz apps, daily fact widgets, or educational games.
The Random Trivia API returns interesting but often non-practical facts and questions, whereas the Random Life Hack API provides practical tips to improve daily life.