If you like this API and want to support its continued operation, please sponsor us. Thank you very much!
API endpoint
BaseURL: https://hitokoto-api.ecylt.com
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Call the ACG Forum Hitokoto API service
BaseURL: https://hitokoto-api.ecylt.com
GET /api/hitokoto
{
"id": 1,
"content": "生命不息,奋斗不止",
"source": "网络",
"category": "f"
}
GET /api/hitokoto/{category}
| Parameter | Type | Description |
|---|---|---|
| category | string | Hitokoto category. Options: - e: Original (includes community contributions) - f: From the internet |
{
"id": 2,
"content": "人生最大的遗憾,就是在最无能为力的时候遇到一个想要保护一生的人",
"source": "我们仍未知道那天所看见的花的名字",
"category": "f"
}
{
"error": "Invalid category"
}
{
"error": "No sentences found for this category"
}