---
title: "GET /riddle/search"
method: GET
path: "/riddle/search"
tags: ["Random Riddle"]
---

# GET /riddle/search

`GET /riddle/search`

Search for random riddle 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/random-riddles-api.md) · [All operations](https://skmtc.dev/fungenerators/apis/random-riddles-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fungenerators/random-riddles-api/revisions/89ad8e658ab6/schema)
