Robots.txt Checker API - can I crawl this URL, AI bot blocks
robots_txt_checkerCall before your crawler, scraper or AI agent fetches a page: is this URL allowed for your user agent, and which exact robots.txt line decided it (RFC 9309: longest match, Allow wins ties, * and $ wildcards, missing file = allowed, server error = disallowed). Plus the AI crawler matrix of the site (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot, Bytespider, Meta and 10 more: blocked or allowed), crawl-delay, sitemaps, Content-Signal, llms.txt, a change hash for monitoring and syntax issues. Up to 25 URLs per call, live, no key needed for the source, ~0.2-1 s per site. For SEO tools, RAG pipelines, web agents and publishers auditing AI bot access. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.002/call via x402 at https://radarbg.com/x402/robots-txt-checker.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "https://www.nytimes.com/section/world",
"userAgent": "GPTBot"
},
"name": "robots_txt_checker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Page URL or domain to check, e.g. https://www.nytimes.com/section/world | |
| urls | No | Instead of url: up to 25 page URLs or domains | |
| userAgent | No | Your crawler's product token or full User-Agent string, e.g. GPTBot or 'Mozilla/5.0 (compatible; MyBot/1.0)'. Empty = only the AI crawler matrix and '*' rules | |
| aiCrawlers | No | Include the allowed/blocked matrix for 17 AI crawlers + Googlebot/Bingbot | |
| includeRobotsTxt | No | Also return the raw robots.txt text (first 20,000 characters) |