{"uid":"cap_LgPtyJIGjol-2oiDMhx95","slug":"freetier-agent-api-robots-txt-crawl-permission-checker-5f1b597d","name":"FreeTier Agent API — Robots.txt Crawl Permission Checker","description":"Check whether a URL may be crawled per the site's robots.txt for a given user-agent. Returns allowed, matched rule, crawl-delay, sitemaps.","url":"https://freetier-agent-api.pages.dev/api/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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"ua":{"type":"string","description":"user-agent token, default *"},"url":{"type":"string","description":"absolute http(s) URL"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{"type":["string","null"]},"allowed":{"type":["boolean","null"]},"sources":{"type":"array","items":{"type":["object","null"]}},"sitemaps":{"type":["array","null"]},"user_agent":{"type":["string","null"]},"crawl_delay":{},"matched_rule":{},"robots_status":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/some/page","allowed":true,"sources":[{"url":"https://example.com/robots.txt","name":"robots.txt (live)"}],"sitemaps":[],"user_agent":"MyAgent","crawl_delay":null,"matched_rule":null,"robots_status":404}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3XwJJUEoplbR9fi_dpY5E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given URL is allowed or disallowed for crawling according to the site's robots.txt rules, returning crawl policy, matched rule, sitemap locations, and crawl delay.","exampleAgentPrompt":"Can you check whether https://example.com/some/page is allowed to be crawled according to its robots.txt rules, using the default wildcard user-agent?","exampleUseCases":[{"title":"Pre-scrape compliance check for agent","prompt":"Before my agent scrapes https://shop.example.com/products, check if that URL is allowed by robots.txt so we don't violate the site's crawl policy."},{"title":"SEO audit for blocked pages","prompt":"I need to verify if https://myblog.com/private-section is blocked by robots.txt — can you check the crawl rules and tell me which rule applies and whether there's a crawl delay?"},{"title":"Sitemap discovery via robots.txt","prompt":"Can you look up the robots.txt rules for https://news.ycombinator.com/ and tell me if there are any sitemap URLs listed there?"}],"resultDescription":"A JSON object containing: the checked URL, a boolean 'allowed' indicating crawl permission, a list of sitemaps found in robots.txt, the matched user-agent rule, the matched rule string, and any crawl delay specified for that user-agent.","failureModes":["Invalid or non-absolute URL returns an error","Site has no robots.txt — may return allowed=true with no rules","Network timeout fetching the remote robots.txt","Malformed robots.txt on target site may produce unexpected results","URL scheme other than http/https not supported"],"whenToPreferThis":"Use this endpoint when an AI agent needs to verify crawl permission before accessing or scraping a URL, especially for compliance with web crawling etiquette. Ideal for pre-flight checks in scraping workflows, SEO audits, or any agent that fetches web content and needs to respect robots.txt policies. Prefer this over manually parsing robots.txt when you need a fast, structured JSON answer with matched rule and sitemap discovery.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-04T06:38:56.912Z","isFirstParty":false,"canonicalSlug":"freetier-agent-api-robots-txt-crawl-permission-checker-5f1b597d"}