{
"url": "https://hnrss.org/frontpage",
"finalUrl": "https://hnrss.org/frontpage",
"statusCode": 200,
"contentType": "application/xml",
"discoveredFrom": null,
"cached": false,
"checkedAt": "2026-10-19T19:28:12.602Z",
"note": "Only the feed document is read. Feed items' linked pages, enclosure files and images are not requested. Feeds generated by JavaScript are not seen.",
"found": true,
"format": "rss2.0",
"feed": {
"title": "Hacker News: Front Page",
"link": "https://news.ycombinator.com/",
"description": "Hacker News RSS",
"language": null,
"updated": "Mon, 19 Oct 2026 19:14:55 +0000",
"itemCount": 20
},
"grade": "A+",
"score": 98,
"summary": {
"errors": 0,
"warnings": 0,
"infos": 2
},
"issues": [
{
"severity": "info",
"code": "xml_declaration_missing",
"message": "No <?xml version=\"1.0\" encoding=\"UTF-8\"?> declaration."
},
{
"severity": "info",
"code": "language_missing",
"message": "The channel has no <language>."
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14324/rss+atom+feed+validator+api/35909/validate+rss+atom+feed+at+a+url?url=https://hnrss.org/frontpage' --header 'Authorization: Bearer YOUR_API_KEY'
{
"found": true,
"format": "rss2.0",
"feed": {
"title": "Example",
"link": "https://example.com",
"description": "Example feed",
"language": null,
"updated": null,
"itemCount": 1
},
"grade": "A",
"score": 96,
"summary": {
"errors": 0,
"warnings": 0,
"infos": 4
},
"issues": [
{
"severity": "info",
"code": "last_build_date_missing",
"message": "The channel has no <lastBuildDate>; readers use it to skip unchanged feeds."
},
{
"severity": "info",
"code": "language_missing",
"message": "The channel has no <language>."
},
{
"severity": "info",
"code": "atom_self_link_missing",
"message": "No <atom:link rel=\"self\"> in the channel; recommended so readers know the feed's own address."
},
{
"severity": "info",
"code": "item_pubdate_missing",
"message": "No item has a <pubDate>; readers cannot sort or date the items."
}
],
"checkedAt": "2026-10-19T19:28:14.628Z"
}
curl --location --request POST 'https://zylalabs.com/api/14324/rss+atom+feed+validator+api/35910/validate+feed+text+you+send+in' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"feed":"Example https://example.comExample feed Hello https://example.com/hellohttps://example.com/hello "}'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 RSS Atom Feed 验证器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
一个GET请求,一个分级的JSON报告:用于持续集成检查、发布管道和提要目录的无头RSS/Atom/JSON提要验证器。给它一个提要URL(或一个链接到其提要的网站),即可获取
一个分级的JSON报告用于一个数据源:检测到的格式 XML格式正确性检查 必需和推荐元素检查 从A加到F的等级 分数和可以用作CI构建的编码问题
是的。将馈送文本发送到验证端点,它会在离线状态下检查, без任何出站请求。最大大小为1 MB
RSS 2.0 Atom 和 JSON Feed 报告说明了检测到的格式并检查了每种格式所需或推荐的元素
在总结中的错误计数上设置门限 一处错误就会使分数降低到75 所以单凭字母等级并不是一个可靠的通过或不通过的信号
是的,馈送 URL 的结果会短时间缓存。将 fresh 参数设置为 1 以绕过缓存
GET端点返回一个分级的JSON报告,包括源检测到的格式、良好格式检查、必需和推荐元素、等级、分数以及任何编码问题 POST端点返回类似的数据,但直接验证提供的源文本,而不发出外部请求
关键字段包括 `url` `finalUrl` `statusCode` `contentType` `found` `format` `grade` `score` 和 `issues` `feed` 对象包含诸如 `title` `link` `description` 和 `itemCount` 等详细信息
响应被构建为一个JSON对象,包含用于元数据的顶级字段(如`url`和`statusCode`)以及一个包含特定馈送细节的`feed`对象。`issues`数组列出了在验证过程中发现的任何问题,按严重程度分类
GET 端点提供有关数据源格式、格式正确性和发现的问题的信息 POST 端点提供类似的见解,但专注于提交的数据源文本允许进行离线验证而无需外部请求
GET端点需要一个`信息源URL`或链接到信息源的网页URL POST端点接受`信息源`字段中的XML或JSON格式的信息源文本,最大大小为1 MB
用户可以分析`grade`和`score`来评估饲料质量,而`issues`数组提供了可行的改进见解。`summary`部分根据错误数量帮助优先修复
典型的用例包括对数据源的持续集成检查,以验证其有效性,确保在发布之前数据源符合标准,以及将数据源验证集成到发布流程中以维护内容质量
数据准确性通过针对每个数据源格式的必需和推荐元素进行结构化验证检查来保持 API提供有关任何问题的详细反馈,使用户能够有效地纠正错误