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

# GET /trivia/search

`GET /trivia/search`

Search for random trivia which has the text in the query, for a given category(optional).

## Query parameters

- `query` string, string
- `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)
