{"uid":"cap_hvOPx1lwH5My1Nz2PVWZC","slug":"mat-web-data-toolkit-robots-txt-fetcher-a283865b","name":"Mat Web & Data Toolkit – Robots.txt Fetcher","description":"Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.","url":"https://automatom.matt-d59.workers.dev/robots?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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"groups":[{"allow":["/search/about","/search/howsearchworks"],"disallow":["/search","/sdch"],"crawl_delay":null,"user_agents":["*","Yandex"]},{"allow":["/maps/api/js"],"disallow":["/maps/api/js/","/maps/api/place/js/"],"crawl_delay":null,"user_agents":["AdsBot-Google"]}],"status":200,"sitemaps":["https://www.google.com/sitemap.xml"],"robots_url":"https://www.google.com/robots.txt"}},"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_BgIp3NcUXSRqnYFbahxQl","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":"Fetches and parses a website's robots.txt file, returning crawl rules, allowed/disallowed paths, user-agent groups, crawl delays, and sitemap URLs as structured JSON.","exampleAgentPrompt":"Can you fetch and parse the robots.txt file for https://www.example.com and tell me which paths are disallowed for crawlers and what sitemaps are listed?","exampleUseCases":[{"title":"Pre-scrape compliance check","prompt":"Before I start scraping data from https://www.nytimes.com, can you pull their robots.txt and tell me which sections of the site are off-limits to bots?"},{"title":"SEO audit – sitemap discovery","prompt":"I'm doing an SEO audit for https://www.shopify.com — can you grab their robots.txt and list all the sitemaps they've registered there?"},{"title":"Bot-specific crawl rules lookup","prompt":"I need to know what rules https://www.google.com sets specifically for Yandex and AdsBot-Google in their robots.txt — can you fetch and parse that for me?"}],"resultDescription":"A JSON object containing: the parsed robots.txt groups (each with user_agents, allow paths, disallow paths, and crawl_delay), the HTTP status code of the robots.txt fetch, a list of sitemap URLs declared in the file, and the canonical URL of the robots.txt that was fetched.","failureModes":["robots.txt not found (404) — returns status 404 with empty groups","website unreachable or timeout — HTTP error propagated in response","malformed robots.txt — partial parsing with best-effort results","missing or invalid URL query parameter — request rejected","site returns non-text content at /robots.txt — parsing may fail"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable parsing of a site's robots.txt rather than raw text retrieval. It's ideal for pre-scraping compliance checks, SEO audits requiring sitemap discovery, or when you need per-user-agent rule breakdowns without writing your own parser.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:48:09.032Z","isFirstParty":false,"canonicalSlug":"mat-web-data-toolkit-robots-txt-fetcher-a283865b"}