{
"ok": true,
"origin": "https://example.com",
"robotsUrl": "https://example.com/robots.txt",
"robotsStatus": 404,
"robotsFound": false,
"aiOpennessScore": 100,
"blockedAiBots": [],
"allowedAiBots": [
"GPTBot",
"OAI-SearchBot",
"ChatGPT-User",
"ClaudeBot",
"Claude-Web",
"anthropic-ai",
"PerplexityBot",
"Google-Extended",
"CCBot",
"Bytespider",
"Applebot-Extended",
"Meta-ExternalAgent",
"Amazonbot",
"cohere-ai",
"Diffbot"
],
"aiPolicyMatrix": [
{
"bot": "GPTBot",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "OAI-SearchBot",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "ChatGPT-User",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "ClaudeBot",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "Claude-Web",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "anthropic-ai",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "PerplexityBot",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "Google-Extended",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "CCBot",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "Bytespider",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "Applebot-Extended",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "Meta-ExternalAgent",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "Amazonbot",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "cohere-ai",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
},
{
"bot": "Diffbot",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
}
],
"sitemaps": [],
"groupCount": 0,
"llmsTxt": {
"present": false,
"status": 404,
"preview": null
}
}
curl --location --request GET 'https://zylalabs.com/api/15926/ai+crawler+and+robots+txt+auditor+api/44279/audit+ai+crawlers?domain=example.com' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"origin": "https://example.com",
"robotsFound": false,
"result": {
"bot": "GPTBot",
"path": "/",
"allowed": true,
"matchedBy": "none",
"matchedRule": null
}
}
curl --location --request GET 'https://zylalabs.com/api/15926/ai+crawler+and+robots+txt+auditor+api/44280/check+bot+path+rule?domain=example.com&bot=GPTBot&path=/' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 AI 爬虫和 Robots.txt 审核器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
审计任意域名的 robots.txt,涵盖 GPTBot、ClaudeBot 和 PerplexityBot 等 15 个主要 AI 机器人,计算 AI 开放度评分,并检查 llms.txt
报告 robots.txt 的 URL 和状态、是否找到该文件、AI 开放度评分、允许和禁止的 AI 机器人列表,以及显示每个机器人对某一路径的决策的策略矩阵
该分数概括了该域名的 robots.txt 策略对接受审计的 AI 爬虫的开放程度。例如,分数为 100 且没有被屏蔽的机器人,表示审计中没有屏蔽任何列出的机器人。仅返回翻译后的文本。不得添加句号或逗号。如果翻译有误,只返回“error”
每条记录标识一个机器人和经检查的路径,说明是否允许访问,并显示匹配的规则。`matchedBy` 标识决策的来源;未匹配任何规则时,`matchedRule` 为 null】【。
审计涵盖 15 个具名爬虫,包括 GPTBot、OAI-SearchBot、ChatGPT-User、ClaudeBot、PerplexityBot、Google-Extended、CCBot、Bytespider 等。响应中的 `allowedAiBots`、`blockedAiBots` 和 `aiPolicyMatrix` 展示了它们的结果.
它返回域名源、是否找到 robots.txt,以及一个包含所选机器人、路径、允许或禁止的决定、匹配来源和匹配规则的 `result` 对象
使用 Check Bot Path Rule,并指定要评估的 AI 爬虫用户代理和 URL 路径。响应中的 `result.allowed` 给出该爬虫和路径的判定;例如,可以检查 GPTBot 是否可访问 `/`。
`robotsFound: false` 表示在报告的 robots URL 处未找到 robots.txt 文件。示例将已检查的机器人视为未匹配任何规则,因此允许访问,但这并不能证明该审计对 robots.txt 的评估之外的访问权限
Audit AI Crawlers 端点说明称它会检查 llms.txt 和 robots.txt。提供的示例未展示 llms.txt 专属的响应字段,因此请查阅该端点的完整响应架构以确定这些结果
该 API 会审查域名的 robots.txt 文件,检查 15 种主要 AI 机器人(包括 GPTBot、ClaudeBot 和 PerplexityBot 等知名机器人),以确定它们的访问权限
AI 开放度评分是由 API 计算的一项指标,用于量化某个域名对 AI 机器人抓取的许可程度。它通过分析 robots.txt 文件得出,具体取决于该文件如何允许或禁止各种 AI 用户代理访问
该 API 还会检查“llms.txt”文件。该文件可以提供与大型语言模型(LLM)及其与域名内容交互相关的额外指令或信息,从而更全面地展示 AI 访问政策
此 API 对网站所有者了解 AI 爬虫如何访问其内容、AI 开发者确保其机器人遵守规定,以及研究人员研究 AI 数据访问政策都很有价值。它有助于管理内容可见性并确保遵守爬取规则】【。
该 API 提供结构化输出,详细说明 15 个主要 AI 机器人的访问状态、计算得出的 AI 开放度评分,以及对 llms.txt 文件的分析结果。这些数据通常以 JSON 格式返回,便于集成到其他应用程序或报告中五月婷婷