Robots.txt & Sitemap Auditor avatar

Robots.txt & Sitemap Auditor

Pricing

from $0.005 / actor start

Go to Apify Store
Robots.txt & Sitemap Auditor

Robots.txt & Sitemap Auditor

Audit a website's robots.txt directives and sitemap discovery in one fast API call. Detect blocked paths, missing sitemaps, and crawlability issues. Built for SEO agencies, technical SEO consultants, and site migration QA teams.

Pricing

from $0.005 / actor start

Rating

0.0

(0)

Developer

Sanskar Jaiswal

Sanskar Jaiswal

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Audit a website's robots.txt directives and sitemap discovery in a single API call. Detects blocked paths, missing sitemaps, sitewide disallow rules, and crawlability issues. Returns structured findings with severity levels.

Use cases

  • SEO agencies - run crawlability audits across client sites
  • Technical SEO - identify robots.txt misconfigurations and missing sitemaps
  • Site migration QA - verify robots.txt and sitemap health before and after migrations
  • Dev shops - automated crawlability checks in deployment pipelines
  • Website monitoring - continuous robots.txt and sitemap monitoring

Input

FieldTypeRequiredDefaultDescription
startUrlstringyes-Public website URL to audit
timeoutSecondsintegerno10Per-request timeout (3-30 seconds)

Example input

{
"startUrl": "https://example.com",
"timeoutSeconds": 10
}

Output

A single dataset item with the full audit:

FieldTypeDescription
inputUrlstringThe URL provided
normalizedUrlstringNormalized site origin
checkedAtstringISO timestamp
robotsobjectRobots.txt analysis (see below)
sitemapsarraySitemap probe results (see below)
findingsarraySeverity-tagged findings with codes and messages

robots object

FieldTypeDescription
urlstringURL where robots.txt was fetched
okbooleanWhether the fetch succeeded
statusintegerHTTP status code
finalUrlstringFinal URL after redirects
contentTypestringHTTP content-type
sitemapDirectivesarraySitemap URLs declared in robots.txt
disallowCountintegerNumber of disallow rules
allowCountintegerNumber of allow rules
crawlDelayarrayCrawl-delay values found
errorstringError message if fetch failed

sitemaps array

Each entry contains:

FieldTypeDescription
urlstringSitemap URL probed
okbooleanWhether the fetch succeeded
statusintegerHTTP status code
contentTypestringHTTP content-type
finalUrlstringFinal URL after redirects
bytesSampledintegerBytes read from the response
errorstringError message if fetch failed

findings array

Each finding has a severity (critical, warning, info, or ok), a code, and a message.

CodeSeverityMeaning
SITEWIDE_DISALLOWcriticalrobots.txt contains Disallow: /
ROBOTS_NOT_OKwarningrobots.txt returned an error status
NO_SITEMAP_DISCOVEREDwarningNo sitemap directive and /sitemap.xml not reachable
CRAWL_DELAY_SETinfoCrawl-delay values found
COMMON_PRIVATE_PATHS_BLOCKEDinfoCMS/admin paths are blocked
BASIC_DISCOVERY_OKokBasic robots/sitemap signals are healthy

Example output

{
"inputUrl": "https://example.com",
"normalizedUrl": "https://example.com/",
"checkedAt": "2026-07-06T12:00:00.000Z",
"robots": {
"url": "https://example.com/robots.txt",
"ok": true,
"status": 200,
"sitemapDirectives": ["https://example.com/sitemap.xml"],
"disallowCount": 3,
"allowCount": 0,
"crawlDelay": []
},
"sitemaps": [
{
"url": "https://example.com/sitemap.xml",
"ok": true,
"status": 200,
"contentType": "application/xml",
"bytesSampled": 45000
}
],
"findings": [
{ "severity": "info", "code": "COMMON_PRIVATE_PATHS_BLOCKED", "message": "Common private/CMS paths are blocked from crawlers" },
{ "severity": "ok", "code": "BASIC_DISCOVERY_OK", "message": "example.com has basic robots/sitemap discovery signals" }
]
}

Security

  • Only public HTTP/HTTPS URLs are accepted
  • SSRF protection: localhost, private IPv4/IPv6, and DNS-resolving-to-private IPs are blocked
  • URLs with embedded credentials are rejected
  • Redirects are revalidated before following
  • No browser automation, no proxies

Pricing

Pay per event:

EventPrice
Actor start$0.005
Site audited$0.01

A single-site audit costs approximately $0.015.

FAQ

What sitemap paths does it check? Sitemaps declared in robots.txt, plus /sitemap.xml and /sitemap_index.xml as fallback probes.

Can I audit multiple sites in one run? This actor audits one site per run. For bulk audits, schedule multiple runs.

What if robots.txt is missing? The actor returns a ROBOTS_NOT_OK warning and continues with sitemap probing.