Skip to content
Back to skills

Trivia Get Trivia

ASecurity

Returns a random trivia question with multiple-choice answers. Use the optional category and difficulty query parameters to filter the question pool.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
ai-agentsgoapi

Works with

  • api

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add bobadilla-tech/requiems-api-skills --skill trivia-get-trivia --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Trivia Get Trivia?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Trivia Get Trivia
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bobadilla-tech-trivia-get-trivia/badge)](https://www.skillsdirectory.com/skills/bobadilla-tech-trivia-get-trivia)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: trivia-get-trivia
api: Trivia
method: GET
path: /v1/entertainment/trivia
base_url: https://requiems.xyz
description: Returns a random trivia question with multiple-choice answers. Use the optional category and difficulty query parameters to filter the question pool.
---

## Endpoint

**GET https://requiems.xyz/v1/entertainment/trivia**

## Get Trivia Question

Returns a random trivia question with multiple-choice answers. Use the optional category and difficulty query parameters to filter the question pool.

## Parameters

| Name | Type | Required | Location | Description |
| ---- | ---- | -------- | -------- | ----------- |
| `category` | string | no | query | Filter by category. One of: science, history, geography, sports, music, movies, literature, math, technology, nature. |
| `difficulty` | string | no | query | Filter by difficulty. One of: easy, medium, hard. |

## Response Example

```json
{
  "data": {
    "question": "What is the largest planet in our solar system?",
    "options": ["Earth", "Jupiter", "Saturn", "Mars"],
    "answer": "Jupiter",
    "category": "science",
    "difficulty": "easy"
  },
  "metadata": {
    "timestamp": "2026-01-01T00:00:00Z"
  }
}
```

## Response Fields

| Field | Type | Description |
| ----- | ---- | ----------- |
| `question` | string | The trivia question text |
| `options` | array<string> | Four multiple-choice answer options |
| `answer` | string | The correct answer — always one of the values in options |
| `category` | string | The category the question belongs to |
| `difficulty` | string | The difficulty level of the question (easy, medium, or hard) |

## Errors

- `400` **bad_request** — An invalid category or difficulty value was provided
- `404` **not_found** — No questions match the given category and difficulty combination
- `401` **unauthorized** — Missing API key
- `403` **forbidden** — Invalid or revoked API key

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…