About this endpoint
What it does
Checks whether 1 to 25 page URLs or domains are allowed to be crawled according to robots.txt rules, and returns per-URL results with rule-matching details. You can also request AI crawler matrix data, the raw robots.txt text, or both.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| urls | String Array | Yes | Page URLs or domains to check, 1 to 25 per call, e.g. ["https://www.nytimes.com/section/world", "example.com"]. Each URL is checked against its site's robots.txt. |
| userAgent | String | No | Your crawler's product token or full User-Agent string, e.g. GPTBot or Mozilla/5.0 (compatible; MyBot/1.0). Empty means only the AI crawler matrix and * rules are considered. |
| aiCrawlers | Boolean | No | Include the allowed/blocked matrix for 17 AI crawlers plus Googlebot/Bingbot. |
| includeRobotsTxt | Boolean | No | Also return the raw robots.txt text, up to the first 20,000 characters. |
Response
Returns a JSON object with a count integer and an items array with one result per URL. Each result says whether your userAgent may crawl the path (allowed), which rule and group decided it, and what the site's robots.txt says about 17 AI crawlers plus Googlebot and Bingbot. Rules follow the robots.txt standard (RFC 9309): no robots.txt means crawling is allowed, and an unreachable robots.txt means the site should be treated as blocked.
| Parameter | Type | Description |
|---|---|---|
| count | Integer | Number of rows in items, one per URL in urls. |
| items | Object Array | One robots.txt result per URL, in the order you sent them. |
| items[].url | String | The URL or domain you sent. |
| items[].site | String | Host whose robots.txt was checked, e.g. www.nytimes.com. |
| items[].path | String | Path that was checked against the rules, e.g. /section/world. |
| items[].userAgent | String | The userAgent you sent. Only present when you send one. |
| items[].productToken | String | Crawler token read from your userAgent, e.g. gptbot from a full User-Agent string. |
| items[].allowed | Boolean | true if your userAgent may crawl this path. Only present when you send userAgent. |
| items[].allowedForAnyBot | Boolean | true if at least one crawler may fetch this path. |
| items[].policy | String | How the answer was reached: rules (robots.txt rules applied), allow-all (no robots.txt, for example HTTP 404) or disallow-all (robots.txt unreachable, so treat the site as blocked). |
| items[].reason | String | Plain-language reason for the result, e.g. longest match in group 'gptbot'. |
| items[].matchedRule | String | The robots.txt rule that decided the result, e.g. Disallow: /. Empty if no rule matched. |
| items[].matchedGroup | String | The user-agent group that applied, e.g. gptbot or *. |
| items[].ruleLine | Integer | Line number of the matched rule in robots.txt. |
| items[].aiCrawlers | Object Array | Allowed/blocked result for 17 AI crawlers plus Googlebot and Bingbot (19 rows). Leave out with aiCrawlers: false. |
| items[].aiCrawlers[].bot | String | Crawler name, e.g. GPTBot, ClaudeBot, PerplexityBot. |
| items[].aiCrawlers[].operator | String | Company that runs the crawler, e.g. OpenAI. |
| items[].aiCrawlers[].purpose | String | What the crawler is for, e.g. training, search or user fetch. |
| items[].aiCrawlers[].pathAllowed | Boolean | true if the crawler may fetch this path. |
| items[].aiCrawlers[].siteAllowed | Boolean | true if the crawler may fetch the homepage. |
| items[].aiCrawlers[].namedInRobotsTxt | Boolean | true if robots.txt has a group for this crawler by name. |
| items[].aiCrawlers[].rule | String | The rule that decided the result for this crawler. |
| items[].aiSummary | Object | Summary of the AI crawler check. |
| items[].aiSummary.aiBotsChecked | Integer | Number of AI crawlers checked (17). |
| items[].aiSummary.blockedBots | String Array | AI crawlers that are blocked. |
| items[].aiSummary.blockedOnHomepage | Integer | Number of AI crawlers blocked on the homepage. |
| items[].aiSummary.blockedOnThisPath | Integer | Number of AI crawlers blocked on this path. |
| items[].aiSummary.stance | String | Plain-language summary, e.g. blocks 15 of 17 AI bots, including AI search or user-fetch bots. |
| items[].robotsUrl | String | robots.txt URL that was fetched. |
| items[].robotsFinalUrl | String | robots.txt URL after redirects. |
| items[].robotsTxtFound | Boolean | true if a robots.txt file was found. |
| items[].httpStatus | Integer | HTTP status of the robots.txt request. null if the site could not be reached. |
| items[].robotsTxtBytes | Integer | Size of the robots.txt file in bytes. |
| items[].robotsTxt | String | Raw robots.txt text (first 20,000 characters). Only with includeRobotsTxt: true. |
| items[].groups | Integer | Number of user-agent groups in robots.txt. |
| items[].rulesTotal | Integer | Number of Allow/Disallow rules in robots.txt. |
| items[].userAgentsNamed | String Array | User agents that robots.txt names. |
| items[].crawlDelay | Number | Crawl-delay in seconds for your userAgent, or null. |
| items[].crawlDelays | Object | Crawl-delay per user agent, or null if none are set. |
| items[].sitemaps | String Array | Sitemap URLs listed in robots.txt. |
| items[].sitemapCount | Integer | Number of sitemaps listed. |
| items[].otherDirectives | Object | Other directives found (for example Host), or null. |
| items[].contentSignals | Object | Content-use signals declared in robots.txt, or null. |
| items[].llmsTxt | Boolean | true if the site also has an /llms.txt file. |
| items[].issues | String Array | Problems found, e.g. HTTP 404: no robots.txt - crawling allowed (RFC 9309 2.3.1.3). |
| items[].contentHash | String | Hash of the robots.txt content, useful to detect changes. |
| items[].fetchMs | Integer | Time taken to fetch robots.txt, in milliseconds. |
| items[].checkedAt | String | When the check ran (ISO 8601 UTC). |
| items[].cached | Boolean | true if the result was served from cache. |
| items[].cacheAgeSeconds | Integer | Age of the cached result in seconds. |


