名言与谚语 API

API ID 15953

10万多条英语和孟加拉语名言和谚语:按类别或作者随机显示名言、每日名言、47个类别和文字搜索,附作者、作品和年份

API 文档

端点

请求
一条随机引言;所有参数均为可选项。如果没有内容符合筛选条件,则返回状态码 404】【。
Endpoint ID: 44370
GET https://zylalabs.com/api/15953/famous+quotes+and+proverbs+api/44370/random+quote
输入参数

随机引言 — 端点功能

对象 描述
category 可选 One category from the Categories endpoint (e.g. love, life, success, wisdom, friendship). Not case sensitive.
author 可选 Part of the author's name, at least 2 characters; case and accents ignored (e.g. twain, tagore).
lang 可选 en (English, the default) or bn (Bangla).
exclude_ai 可选 true leaves out the AI-written quotes (type "ai"). One of: false, true.

剩余免费测试请求:3 / 3。


输入参数

category
author
lang
exclude_ai
API 示例响应
JSON
{
    "statusCode": 200,
    "data": {
        "id": "en043999",
        "quote": "A Bachelor of Arts is one who makes love to a lot of women, and yet has the art to remain a bachelor.",
        "author": "Helen Rowland",
        "work": "A Guide to Men (1922)",
        "year": 1922,
        "language": "en",
        "type": "quote",
        "categories": [
            "art",
            "love"
        ]
    }
}
随机引言 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15953/famous+quotes+and+proverbs+api/44370/random+quote' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
全天(UTC)对每位来电者都是同一句话,每天更换一句。绝非 AI 撰写
Endpoint ID: 44371
GET https://zylalabs.com/api/15953/famous+quotes+and+proverbs+api/44371/quote+of+the+day
输入参数

每日名言 — 端点功能

对象 描述
lang 可选 en (English, the default) or bn (Bangla).

剩余免费测试请求:3 / 3。


输入参数

lang
API 示例响应
JSON
{
    "statusCode": 200,
    "date": "2026-12-03",
    "data": {
        "id": "en008897",
        "quote": "Laws are like Cobwebs which may catch small Flies, but let Wasps and Hornets break through. But in Oratory the greatest Art is to hide Art.",
        "author": "Jonathan Swift",
        "work": "A Tritical Essay upon the Faculties of the Mind (1707)",
        "year": 1707,
        "language": "en",
        "type": "quote",
        "categories": [
            "art",
            "justice",
            "success"
        ]
    }
}
每日名言 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15953/famous+quotes+and+proverbs+api/44371/quote+of+the+day' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
该语言中每个类别包含多少条引文
Endpoint ID: 44372
GET https://zylalabs.com/api/15953/famous+quotes+and+proverbs+api/44372/categories
输入参数

类别 — 端点功能

对象 描述
lang 可选 en (English, the default) or bn (Bangla).

剩余免费测试请求:3 / 3。


输入参数

lang
API 示例响应
JSON
{
    "statusCode": 200,
    "count": 10,
    "data": [
        {
            "name": "age",
            "count": 661
        },
        {
            "name": "anger",
            "count": 985
        },
        {
            "name": "art",
            "count": 4336
        },
        {
            "name": "business",
            "count": 1257
        },
        {
            "name": "change",
            "count": 1459
        },
        {
            "name": "character",
            "count": 4019
        },
        {
            "name": "courage",
            "count": 792
        },
        {
            "name": "death",
            "count": 3144
        },
        {
            "name": "failure",
            "count": 1188
        },
        {
            "name": "faith",
            "count": 2300
        }
    ]
}
类别 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15953/famous+quotes+and+proverbs+api/44372/categories' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
最多 10 条包含查询中每个词的引文(完整单词或词首;忽略大小写和重音),人工引文优先,最短的排在前面。total 是匹配项的数量。
Endpoint ID: 44373
GET https://zylalabs.com/api/15953/famous+quotes+and+proverbs+api/44373/search+quotes
输入参数

搜索报价单 — 端点功能

对象 描述
query 必需 Words to find in the quote text, e.g. "friend heart".
category 可选 One category from the Categories endpoint (e.g. love, life, success, wisdom, friendship). Not case sensitive.
author 可选 Part of the author's name, at least 2 characters; case and accents ignored (e.g. twain, tagore).
lang 可选 en (English, the default) or bn (Bangla).
exclude_ai 可选 true leaves out the AI-written quotes (type "ai"). One of: false, true.

剩余免费测试请求:3 / 3。


输入参数

query
category
author
lang
exclude_ai
API 示例响应
JSON
{
    "statusCode": 200,
    "total": 321,
    "count": 10,
    "data": [
        {
            "id": "en010031",
            "quote": "Opposition is true Friendship.",
            "author": "William Blake",
            "work": "The Marriage of Heaven and Hell (1790–1793)",
            "year": 1790,
            "language": "en",
            "type": "quote",
            "categories": [
                "friendship"
            ]
        },
        {
            "id": "en007389",
            "quote": "Friendship is Love without wings.",
            "author": "Lord Byron",
            "work": null,
            "year": null,
            "language": "en",
            "type": "quote",
            "categories": [
                "friendship",
                "love"
            ]
        },
        {
            "id": "en042601",
            "quote": "Candour’s the cement of friendship.",
            "author": "F. Anstey",
            "work": "The Brass Bottle (1900)",
            "year": 1900,
            "language": "en",
            "type": "quote",
            "categories": [
                "friendship"
            ]
        },
        {
            "id": "en059164",
            "quote": "Without friendship life is nothing.",
            "author": "Proverb (Portuguese)",
            "work": null,
            "year": null,
            "language": "en",
            "type": "proverb",
            "categories": [
                "friendship",
                "life"
            ]
        },
        {
            "id": "en060531",
            "quote": "Illness is the steelyard of friendship.",
            "author": "Proverb (Finnish)",
            "work": null,
            "year": null,
            "language": "en",
            "type": "proverb",
            "categories": [
                "friendship"
            ]
        },
        {
            "id": "en098064",
            "quote": "Love and lordship never like friendship.",
            "author": "Proverb (English)",
            "work": "A Dictionary of English Proverbs (comp. Thomas Preston, 1880)",
            "year": null,
            "language": "en",
            "type": "proverb",
            "categories": [
                "friendship",
                "love"
            ]
        },
        {
            "id": "en009142",
            "quote": "From wine what sudden friendship springs!",
            "author": "John Gay",
            "work": "Fables, Part the Second (1738)",
            "year": null,
            "language": "en",
            "type": "quote",
            "categories": [
                "friendship"
            ]
        },
        {
            "id": "en006870",
            "quote": "Confidence is the only bond of friendship.",
            "author": "Publilius Syrus",
            "work": "The Moral Sayings of Publius Syrus, a Roman Slave",
            "year": null,
            "language": "en",
            "type": "quote",
            "categories": [
                "friendship"
            ]
        },
        {
            "id": "en010127",
            "quote": "Half Friendship is the bitterest Enmity...",
            "author": "William Blake",
            "work": "Jerusalem The Emanation of The Giant Albion (c. 1803–1820)",
            "year": 1803,
            "language": "en",
            "type": "quote",
            "categories": [
                "friendship"
            ]
        },
        {
            "id": "en094446",
            "quote": "Sudden friendships rarely live to ripeness.",
            "author": "Mlle. De Scuderi",
            "work": "Many Thoughts of Many Minds (comp. Louis Klopsch, 1896)",
            "year": null,
            "language": "en",
            "type": "quote",
            "categories": [
                "friendship"
            ]
        }
    ]
}
搜索报价单 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15953/famous+quotes+and+proverbs+api/44373/search+quotes?query=friendship' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 名言与谚语 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

超过100,000条英语和孟加拉语名言和谚语:按类别或作者随机显示名言、每日名言、47个类别和词语搜索,并附有作者、作品和年份

名言与谚语 API FAQs

摘自历史上作家、思想家、领袖和科学家的作品,以及数十个国家的谚语。每条引言均标注作者、作品、年份、语言、类型和类别

约有 9,600 条英文引言由 AI 撰写。它们的类型为 ai,作者为 AI-generated;传入 exclude_ai=true 即可将它们排除在外。每日引言从来不是 AI 撰写的

英语(en,默认)和孟加拉语(bn),包含超过9400条孟加拉语引言和谚语,其中有泰戈尔、斯瓦米·维韦卡南达和贝古姆·罗凯亚的作品

每位调用者全天(UTC)都会收到同一句引言,每天都会收到一句新的引言,每种语言均如此

响应的 HTTP 状态为 200,正文中包含 statusCode 400 或 404、error、message 和 requestId

每个答案都在几毫秒内从记忆中得出;没有上游网站会对其进行速率限制或减慢速度

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API