Blog

Guides for building quiz apps, games and bots with The Trivia API.

  • 3 min read

    Got a source for that? Now we do

    Text questions from The Trivia API now include links to sources that back up the correct answer, and a hasSources filter to get only questions that have one. Here's what they look like and how to use them.

  • 6 min read

    Trivia questions now have a fixed set of tags

    Every question in The Trivia API is now tagged from one list of 1,047 tags, with names, descriptions and question counts you can fetch. Here's what changed and why, and what it means if you used the old tags.

  • 2 min read

    Trivia questions now come with hints and explanations

    Questions from The Trivia API can now include a hint to show before the player answers, and an explanation to show afterwards. Here's what they look like and how to use them.

  • 4 min read

    How to get free trivia questions from an API

    How to fetch random trivia questions as JSON, filter them by category, difficulty and tag, and use them from JavaScript, TypeScript or Python.

License

Information about the Creative Commons license for The Trivia API.

The API and all data returned from it are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Creative Commons License

This means that the API and the questions it returns are free for noncommercial use. If you have somewhere suitable in your app, then please credit the API somewhere discreet — we love having our hard work shared!

If you would like to use the API commercially, or would like enhanced functionality, this service is offered through a paid subscription.

Sign in

Sign in to access your API key and manage your account.

or continue with email