{
"count": 1,
"items": [
{
"url": "https://www.nytimes.com/section/world",
"site": "https://www.nytimes.com",
"path": "/section/world",
"robotsUrl": "https://www.nytimes.com/robots.txt",
"robotsFinalUrl": "https://www.nytimes.com/robots.txt",
"httpStatus": 200,
"robotsTxtFound": true,
"policy": "rules",
"userAgent": "GPTBot",
"productToken": "GPTBot",
"allowed": false,
"matchedGroup": "gptbot",
"matchedRule": "Disallow: /",
"ruleLine": 234,
"reason": "longest match in group 'gptbot'",
"crawlDelay": null,
"allowedForAnyBot": true,
"aiCrawlers": [
{
"bot": "GPTBot",
"operator": "OpenAI",
"purpose": "training",
"siteAllowed": false,
"pathAllowed": false,
"namedInRobotsTxt": true,
"rule": "Disallow: /"
},
{
"bot": "OAI-SearchBot",
"operator": "OpenAI",
"purpose": "search",
"siteAllowed": false,
"pathAllowed": false,
"namedInRobotsTxt": true,
"rule": "Disallow: /"
},
{
"bot": "ChatGPT-User",
"operator": "OpenAI",
"purpose": "user fetch",
"siteAllowed": false,
"pathAllowed": false,
"namedInRobotsTxt": true,
"rule": "Disallow: /"
},
{
"bot": "ClaudeBot",
"operator": "Anthropic",
"purpose": "training",
"siteAllowed": false,
"pathAllowed": false,
"namedInRobotsTxt": true,
"rule": "Disallow: /"
},
{
"bot": "Claude-SearchBot",
"operator": "Anthropic",
"purpose": "search",
"siteAllowed": false,
"pathAllowed": false,
"namedInRobotsTxt": true,
"rule": "Disallow: /"
},
{
"bot": "Claude-User",
"operator": "Anthropic",
"purpose": "user fetch",
"siteAllowed": false,
"pathAllowed": false,
"namedInRobotsTxt": true,
"rule": "Disallow: /"
},
{
"bot": "Google-Extended",
"operator": "Google",
"purpose": "training (Gemini)",
"siteAllowed": false,
"pathAllowed": false,
"namedInRobotsTxt": true,
"rule": "Disallow: /"
},
{
"bot": "Applebot-Extended",
"operator": "Apple",
"purpose": "training",
"siteAllowed": false,
"pathAllowed": false,
"namedInRobotsTxt": true,
"rule": "Disallow: /"
},
{
"bot": "PerplexityBot",
"operator": "Perplexity",
"purpose": "search",
"siteAllowed": false,
"pathAllowed": false,
"namedInRobotsTxt": true,
"rule": "Disallow: /"
},
{
"bot": "Perplexity-User",
"operator": "Perplexity",
"purpose": "user fetch",
"siteAllowed": false,
"pathAllowed": false,
"namedInRobotsTxt": true,
"rule": "Disallow: /"
}
],
"aiSummary": {
"aiBotsChecked": 17,
"blockedOnHomepage": 15,
"blockedOnThisPath": 15,
"blockedBots": [
"GPTBot",
"OAI-SearchBot",
"ChatGPT-User",
"ClaudeBot",
"Claude-SearchBot",
"Claude-User",
"Google-Extended",
"Applebot-Extended",
"PerplexityBot",
"Perplexity-User"
],
"stance": "blocks 15 of 17 AI bots, including AI search or user-fetch bots"
},
"sitemaps": [
"https://www.nytimes.com/sitemaps/new/news.xml.gz",
"https://www.nytimes.com/sitemaps/new/sitemap.xml.gz",
"https://www.nytimes.com/sitemaps/new/collections.xml.gz",
"https://www.nytimes.com/sitemaps/new/video.xml.gz",
"https://www.nytimes.com/sitemaps/new/cooking.xml.gz",
"https://www.nytimes.com/sitemaps/new/recipe-collects.xml.gz",
"https://www.nytimes.com/sitemaps/new/regions.xml",
"https://www.nytimes.com/sitemaps/new/best-sellers.xml",
"https://www.nytimes.com/sitemaps/new/subscription-landing-pages.xml",
"https://www.nytimes.com/sitemaps/new/weather.xml.gz"
],
"sitemapCount": 25,
"groups": 70,
"userAgentsNamed": [
"*",
"aliyunsecbot",
"amazonadbot",
"amazonbot",
"anthropic-ai",
"applebot-extended",
"source_bot",
"audigentadbot",
"awariorssbot",
"awariosmartbot"
],
"rulesTotal": 187,
"crawlDelays": null,
"contentSignals": null,
"otherDirectives": null,
"issues": [],
"robotsTxtBytes": 8855,
"contentHash": "d0dbccfe5e661cfc"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15629/robots+txt+checker+api/42234/robots+txt+checker+api?url=https://www.nytimes.com/section/world&userAgent=GPTBot&aiCrawlers=true&includeRobotsTxt=false' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 robots.txt 检查器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
此 URL 是否允许您的爬虫访问?精确的 robots.txt 规则、RFC 9309、AI 机器人矩阵、GPTBot、ClaudeBot、站点地图
此 URL 是否允许您的爬虫访问?robots.txt 精确规则(RFC 9309)、AI 机器人矩阵(GPTBot、ClaudeBot)、站点地图
每次请求最多返回 100 条结果,具体取决于端点
每次请求都会从公共来源收集实时数据。相同的请求可能会从缓存中提供,缓存时间最长为 6 小时 马会
列表参数接受多个值,值之间用逗号分隔,例如:london,paris
该端点接受以下查询参数,均为可选:url、urls、userAgent、aiCrawlers、includeRobotsTxt url:要检查的页面 URL 或域名 urls:替代 url 使用:最多 25 个页面 URL 或域名 userAgent:爬虫的产品标识或完整 User-Agent 字符串,例如 GPTBot 或“Mozilla/5.0 (compatible; MyBot/1.0)”。留空 = 仅检查 AI 爬虫矩阵和“*”规则 aiCrawlers:包含 17 种 AI 爬虫以及 Googlebot/Bingbot 的允许/阻止矩阵 includeRobotsTxt:同时返回原始 robots.txt 文本(前 20,000 个字符)