Robots.txt & XML Sitemap Discrepancy Checker avatar

Robots.txt & XML Sitemap Discrepancy Checker

Pricing

from $0.70 / 1,000 item scrapeds

Go to Apify Store
Robots.txt & XML Sitemap Discrepancy Checker

Robots.txt & XML Sitemap Discrepancy Checker

Audit robots.txt directives (Disallow, Allow, Crawl-delay) against XML Sitemap URLs. Identifies blocked sitemap URLs, missing sitemaps, and indexing discrepancies.

Pricing

from $0.70 / 1,000 item scrapeds

Rating

0.0

(0)

Developer

LiteZero

LiteZero

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Share

🤖 Robots.txt & XML Sitemap Discrepancy Checker

Audit technical SEO compliance by cross-checking robots.txt directives (Disallow, Allow, User-agent, Crawl-delay) against XML Sitemap URLs. Instantly spot critical indexing errors such as URLs listed in your sitemap that are blocked from search engine crawlers by robots.txt.


🥊 Why This Actor Beats the Competition

FeatureThis Actor (Pay-Per-Result)Enterprise SEO Suites (Ahrefs, Semrush)Manual Audit / Spreadsheets
Cost💰 $1.00 / 1,000 URLs checked$200–$500/month recurring feesHigh labor cost & error-prone
Speed⚡ Under 15 seconds per auditHours of site-wide crawler processingSlow manual pattern matching
API Integration✅ Direct REST API, Python & Node.js SDKsComplex web dashboardsNone
Discrepancy Detection✅ Identifies blocked sitemap URLs automaticallyBuried in technical crawl error logsManual regex required

🛠️ Step-by-Step: How to Use

Method 1: Apify Web Console

  1. Enter your domain (e.g. https://apify.com or apify.com) in Domains or Website URLs.
  2. Set Max Sitemap URLs to Audit (e.g. 30).
  3. Click Start to run the check.

Method 2: Python SDK

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("litezero/robots-txt-sitemap-checker").call(run_input={
"domainsOrUrls": ["https://apify.com"],
"maxUrlsToAudit": 50
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
if item["isBlockedByRobots"]:
print(f"CRITICAL DISCREPANCY: {item['url']} is in sitemap but blocked by: {item['matchedRule']}")

📥 Input Parameters

ParameterTypeDefaultDescription
domainsOrUrlsArray["https://apify.com"]Domains or website homepages to audit.
maxUrlsToAuditInteger30Maximum sitemap URLs to check against robots.txt rules.

📤 Output Sample JSON

{
"domain": "https://apify.com",
"url": "https://apify.com/store",
"isBlockedByRobots": false,
"matchedRule": "None (Allowed by default)",
"hasSitemapInRobots": true,
"sitemapsFound": ["https://apify.com/sitemap.xml"],
"disallowRulesCount": 8,
"allowRulesCount": 2,
"robotsTxtUrl": "https://apify.com/robots.txt",
"auditedAt": "2026-10-03T09:20:00.000Z"
}

💡 Top Commercial Use Cases

  1. Pre-Launch Technical SEO QA: Ensure dev/staging Disallow rules were removed before production deployment.
  2. Crawl Budget Optimization: Confirm high-priority sitemap landing pages are 100% crawlable by Googlebot.
  3. Agency Client Audits: Deliver automated robots.txt vs sitemap audit reports in client discovery phases.\n