# Open Trivia Database questions

Random multiple choice and true or false trivia questions from the Open Trivia Database, by category and difficulty, each with the correct answer and the wrong answers.

- No API key needed to call
- Source: [Open Trivia Database](https://opentdb.com/)
- Licence and terms: [CC BY-SA 4.0](https://opentdb.com/api_config.php)
- Coverage: worldwide
- Answers are shared and cached for 60 seconds.

## Questions you can ask

- Give me three easy science trivia questions. (operation `open_trivia_questions`)

## Operations

### Trivia questions

Answers: give me trivia questions on a topic and difficulty, with correct and incorrect answers. Categories: 9 general knowledge, 17 science and nature, 18 computers, 21 sports, 22 geography, 23 history, 25 art, 27 animals.

- `amount`: optional, integer, default 5
- `category`: optional, integer, Category number, for example 9 general knowledge, 17 science and nature, 23 history.
- `difficulty`: optional, string, easy \| medium \| hard
- `type`: optional, string, multiple \| boolean

Example: Give me three easy science trivia questions.

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"open_trivia","operation":"open_trivia_questions","params":{"amount":3,"category":17,"difficulty":"easy"}}}
```

Over HTTP:

```
curl '/v1/connectors/open_trivia/open_trivia_questions?amount=3&category=17&difficulty=easy'
```

## Source notice

Source: Open Trivia Database. Terms: "All data provided by the API is available under the Creative Commons Attribution-ShareAlike 4.0 International License."

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
