{"uid":"cap_3nFWTh_ZBg0BCi9fbqEhm","slug":"saylor-innovations-robots-txt-checker-1e54c555","name":"Saylor Innovations Robots.txt Checker","description":"Check whether a crawler may fetch a path under a robots.txt per RFC 9309 - matched group and rule, crawl delay and sitemaps, for Googlebot, GPTBot or any agent","url":"https://saylorinnovations.com/api/web/robots-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["robots"],"properties":{"path":{"type":"string","description":"optional path to test, default /"},"robots":{"type":"string","description":"robots.txt contents, up to 12000 characters"},"user_agent":{"type":"string","description":"optional crawler token such as Googlebot or GPTBot, default *"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["allowed","decision"],"properties":{"note":{"type":"string","description":"Caveat or context for reading the result"},"path":{"type":"string","description":"Path that was tested"},"source":{"type":"string","description":"Data source the values come from"},"allowed":{"type":"boolean","description":"True when the crawler may fetch the path"},"decision":{"type":"string","description":"allowed or blocked"},"sitemaps":{"type":"array","items":{"type":"string"},"description":"Sitemap URLs declared in the file"},"checked_at":{"type":"string","description":"Time the check was run (UTC)"},"user_agent":{"type":"string","description":"User-agent the rules were evaluated for"},"groups_found":{"type":"number","description":"Groups found"},"matched_rule":{"type":["object","null"],"properties":{"pattern":{"type":["string","null"],"description":"The path pattern of the deciding rule"},"directive":{"type":["string","null"],"description":"Allow or Disallow"}},"description":"The rule that decided the outcome, or null when no rule matched","additionalProperties":true},"matched_group":{"type":["array","null"],"items":{"type":"string"},"description":"Matched group"},"rules_in_group":{"type":"number","description":"Rules in group"},"group_selection":{"type":"string","description":"Group selection"},"crawl_delay_seconds":{"type":["number","null"],"description":"Crawl delay, in seconds"}},"additionalProperties":true},"description":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iVe08_1doIq7UodnhfQJL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a specific crawler is allowed to fetch a given path according to a robots.txt file, returning the matched rule, crawl delay, and sitemaps","exampleAgentPrompt":"Can you check this robots.txt and tell me whether Googlebot is allowed to fetch /blog/posts — here's the file contents: 'User-agent: Googlebot\\nDisallow: /private/\\nAllow: /\\nSitemap: https://example.com/sitemap.xml'?","exampleUseCases":[{"title":"SEO audit for blocked Googlebot paths","prompt":"I want to know if Googlebot is allowed to crawl /products/sale on my site. Here's my robots.txt: 'User-agent: *\\nDisallow: /checkout/\\nUser-agent: Googlebot\\nAllow: /products/\\nDisallow: /products/internal/'. Can you check and tell me the matched rule?"},{"title":"AI bot access verification","prompt":"Can you parse this robots.txt and tell me whether GPTBot is allowed to access /articles — I need to know if there's a specific rule matched or if it falls through to a default, and what crawl delay applies: 'User-agent: GPTBot\\nDisallow: /\\nCrawl-delay: 10\\nUser-agent: *\\nAllow: /'?"},{"title":"Sitemap discovery from robots.txt","prompt":"Here's a robots.txt file — can you check what sitemaps are declared in it and whether any crawler using the wildcard agent '*' is blocked from fetching /? I want the full breakdown including groups found. File: 'User-agent: *\\nAllow: /\\nSitemap: https://mysite.com/sitemap.xml\\nSitemap: https://mysite.com/news-sitemap.xml'"}],"resultDescription":"Returns a JSON object indicating whether the crawler is allowed or blocked (boolean + string decision), the path tested, the user-agent evaluated, the matched rule (directive and pattern) or null if none matched, the matched group, number of groups found, crawl delay in seconds if specified, a list of sitemap URLs declared in the file, and contextual notes about the evaluation.","failureModes":["robots.txt content exceeds 12000 character limit — truncation or rejection","Missing required 'robots' query parameter — 400 error","Malformed robots.txt syntax causing ambiguous or unexpected parse results","Empty or whitespace-only robots.txt returning default allow with null matched rule","Unusual or non-standard user-agent tokens may not match any group, defaulting to wildcard rules"],"whenToPreferThis":"Use this endpoint when you need RFC 9309-compliant parsing of a robots.txt file for a specific crawler and path — especially when you need the exact matched rule and group, crawl delay, and sitemap list extracted in a structured format. Prefer this over manual parsing or regex-based checks when dealing with complex multi-group robots.txt files or when you need to verify compliance for specific named bots like Googlebot or GPTBot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T15:21:39.056Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-robots-txt-checker-1e54c555"}