Poem

Hitokoto

0calls
Free

Want to display a different quote in your app and give users a small surprise? This Hitokoto endpoint is made for that.

GET
uapis.cn
/api/v1/saying

Overview

Each call randomly returns one line from a curated corpus of poems, anime lines, and famous quotes. Use it for homepage slogans, app launch messages, or any surface that needs a small human touch.

Response

200 / OK

Request successful. Returns one random quote.

JSON
{
  // Random quote or poem content.
  "text": "Every chance encounter, however small, has its own quiet meaning."
}

500 / Internal Server Error

The corpus is empty or cannot be read.

JSON
{
  "code": "INTERNAL_SERVER_ERROR",
  "details": {},
  "message": "Could not retrieve a saying from the corpus."
}