---
title: "GET /trivia/random"
method: GET
path: "/trivia/random"
tags: ["Trivia"]
---

# GET /trivia/random

`GET /trivia/random`

Get a random trivia for a given category(optional)

## Query parameters

- `category` string, string

## Response `200`

200  response

## Other responses

- `401` — 401 response

---

[API](https://skmtc.dev/fungenerators/apis/trivia-api.md) · [All operations](https://skmtc.dev/fungenerators/apis/trivia-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fungenerators/trivia-api/revisions/eadd00c73b49/schema)
