freeapis

Zen Quotes

大量禅意名言,供启发灵感

认证方式
No auth
HTTPS
Yes
CORS
Yes

简介

ZenQuotes 以 JSON 提供励志名言——随机名言、按作者、今日名言,以及叠加名言文字的图片。免密钥且支持 CORS(实测可用),是名言小组件和每日励志功能的简单数据源。

快速开始

随机名言(实测可用):

curl "https://zenquotes.io/api/random"
[
  {
    "q": "The best way to predict the future is to invent it.",
    "a": "Alan Kay",
    "h": "<blockquote>...</blockquote>",
    "i": "https://zenquotes.io/img/alan-kay.jpg"
  }
]

多条名言:

curl "https://zenquotes.io/api/quotes"
curl "https://zenquotes.io/api/quotes/5"

今日名言:

curl "https://zenquotes.io/api/today"

名言图片:

curl "https://zenquotes.io/api/image"

认证方式

无需认证——免密钥。

速率限制与注意事项

  • 免费;没有文档化的硬性限制——请礼貌使用。
  • 响应是数组;每条名言有 q(文本)、a(作者)、h(HTML blockquote)和 i(作者图片 URL)。
  • /api/image 端点返回叠加名言的图片(PNG)——适合社交卡片。
  • 已启用 CORS——浏览器小组件可用。

常见问题

ZenQuotes 免费吗? 是的——免费、免密钥、支持 CORS。

可以按作者获取吗? 可以——/api/quotes/{作者} 返回该作者的名言。

如何获取名言图片? https://zenquotes.io/api/image 返回带样式的 PNG。

性格测试 分类更多

APIAuthHTTPSCORS
Advice Slip

Generate random advice slips

No authYesUnknown
AstroWay

Astrology, natal charts, Human Design, Vedic and horoscopes on the Swiss Ephemeris

API KeyYesYes
Biriyani As A Service

Biriyani images placeholder

No authYesNo
Dev.to

Access Forem articles, users and other resources via API

API KeyYesUnknown
Dictum

API to get access to the collection of the most inspiring expressions of mankind

No authYesUnknown