---
title: "Get Random Fact"
method: GET
path: "/fact"
tags: ["Facts"]
---

# Get Random Fact

`GET /fact`

Returns a random fact

## Query parameters

- `max_length` integer

## Response `200`

successful operation

- CatFact — CatFact
  - `fact` string, string — Fact
  - `length` integer — Length

## Other responses

- `404` — Fact not found

---

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