Open Trivia DB website screenshot

Open Trivia DB

The Open Trivia Database provides a completely free JSON API for use in programming projects. Use of this API does not require an API key, just generate the URL and use it in your own application to retrieve trivia questions across multiple categories, difficulties, and types.

Open Trivia DB publishes 3 APIs on the APIs.io network: Categories API, Questions API, and Tokens API. Tagged areas include Free, Games, Questions, and Trivia.

Open Trivia DB’s developer surface includes documentation and 3 more developer resources.

21.8/100 emerging ▬ flat Agent 20/100 agent aware Full breakdown ↓
scored 2026-08-25 · rubric v0.14.0
AccessFreemium
3 APIs
FreeGamesQuestionsTrivia

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-25 · rubric v0.14.0
Composite quality — 21.8/100 · emerging
Contract Quality 12.4 / 25
Developer Ergonomics 1.9 / 20
Access Clarity 0.0 / 20
Operational Transparency 1.0 / 13
Contract Governance 0.0 / 12
Discoverability 6.5 / 10
Agent readiness — 20/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
Documented Reversibility 6 / 6
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 9 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 4 / 4
Delegated User Identity 0 / 6
Protected Resource Metadata 0 / 5
Registration Without a Human 0 / 6
Agentic Commerce Surface 0 / 5
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/open-trivia-db: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 3

Individual APIs this provider publishes, each with its own machine-readable definition.

Open Trivia DB Categories API

Retrieve available trivia categories.

Open Trivia DB Questions API

Retrieve trivia questions.

Open Trivia DB Tokens API

Manage session tokens to track served questions.

Open Collections 5

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

API Collection

OPEN COLLECTION

Open Trivia DB API

OPEN COLLECTION

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Open Trivia Db Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Open Trivia Db Domain Security

TLSv1.3 · HSTS

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Open Trivia Db Agentic Access

5 operations

5 operations · 0 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Access & Security 1

Authentication, authorization, and security posture

Company 1

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: open-trivia-db
name: Open Trivia DB
description: The Open Trivia Database provides a completely free JSON API for use in programming projects. Use of this API
  does not require an API key, just generate the URL and use it in your own application to retrieve trivia questions across
  multiple categories, difficulties, and types.
type: Index
accessModel:
  pricing: freemium
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Freemium
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
position: Consumer
access: 3rd-Party
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/open-trivia-db.png
tags:
- Free
- Games
- Questions
- Trivia
created: '2025-02-12'
modified: '2026-05-19'
url: https://raw.githubusercontent.com/api-evangelist/open-trivia-db/refs/heads/main/apis.yml
specificationVersion: '0.23'
apis:
- aid: open-trivia-db:open-trivia-db-categories-api
  name: Open Trivia DB Categories API
  description: Retrieve available trivia categories.
  humanURL: https://opentdb.com/api_config.php
  baseURL: https://opentdb.com
  tags:
  - Categories
  properties:
  - type: OpenAPI
    url: openapi/open-trivia-db-categories-api-openapi.yml
  - type: Documentation
    url: https://opentdb.com/api_config.php
- aid: open-trivia-db:open-trivia-db-questions-api
  name: Open Trivia DB Questions API
  description: Retrieve trivia questions.
  humanURL: https://opentdb.com/api_config.php
  baseURL: https://opentdb.com
  tags:
  - Questions
  properties:
  - type: OpenAPI
    url: openapi/open-trivia-db-questions-api-openapi.yml
  - type: Documentation
    url: https://opentdb.com/api_config.php
- aid: open-trivia-db:open-trivia-db-tokens-api
  name: Open Trivia DB Tokens API
  description: Manage session tokens to track served questions.
  humanURL: https://opentdb.com/api_config.php
  baseURL: https://opentdb.com
  tags:
  - Tokens
  properties:
  - type: OpenAPI
    url: openapi/open-trivia-db-tokens-api-openapi.yml
  - type: Documentation
    url: https://opentdb.com/api_config.php
common:
- type: AgenticAccess
  url: agentic-access/open-trivia-db-agentic-access.yml
- type: DomainSecurity
  url: security/open-trivia-db-domain-security.yml
- type: Website
  url: https://opentdb.com
- type: Documentation
  url: https://opentdb.com/api_config.php
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/open-trivia-db"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/open-trivia-db/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/open-trivia-db/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.