Sitemap Check: Understand and Use the Results
Find and analyze XML sitemaps
Sitemaps: the index page you build for search engines
An XML sitemap is a structured file — usually published at `yourdomain.com/sitemap.xml` — that lists every page on your website you want search engines to discover and index. Think of it as the table of contents you hand to a librarian: "here is everything I have, here is when each item was last updated, here is roughly how important each one is." Search engines use it as a discovery aid, especially for large sites or sites with thin internal linking, where finding pages by following links would be slow or unreliable.
You should care because search engines cannot rank pages they don't know exist, and the sitemap is your most direct tool for making sure they know. New blog posts, new product pages, new landing pages, an updated about page — all of them get discovered faster when they appear in a sitemap that gets submitted to Google Search Console. Without a sitemap, you are relying on Google to find your new content by crawling links, which can take days or weeks for fresh content on small sites.
The five things every sitemap audit looks at:
Does the sitemap exist and is it reachable? A sitemap that returns a 404 or a 500 is the same as no sitemap at all.
Are all listed URLs canonical? Every URL in the sitemap should be the version you want indexed — not a redirect, not a duplicate, not a parameter-tracked variant.
Do all listed URLs return a 200 status? Sitemap entries that 404 or 301 to other pages are wasted crawl budget.
Are excluded pages actually excluded? Internal admin pages, search-result pages, login pages, and thank-you pages should not be in the sitemap.
Is the sitemap referenced in `robots.txt`? The line `Sitemap: https://example.com/sitemap.xml` in `robots.txt` is the formal way to point crawlers at it.
A serious sitemap audit goes beyond "does the file exist." It samples real URLs from the sitemap and fetches each one to confirm the listed page actually returns 200 — most stale-sitemap problems live in the gap between "sitemap shipped" and "every listed URL is still alive months later." It validates `<lastmod>` accuracy by comparing the claimed last-modified date against signals from the actual page (Last-Modified header, content-freshness indicators) so you catch sitemaps that lie about freshness — a pattern Google has been explicitly devaluing since 2023. And it inspects sitemap extensions — the `<image:image>`, `<video:video>`, and `<news:news>` blocks that let you flag images, videos, and news content for the corresponding Google verticals. Most sites that have an image library, a video catalog, or a news section have never bothered to add the corresponding extension, and miss the dedicated discovery channel entirely.
Three questions a sitemap audit answers:
Is search engines actually able to discover all the pages I want indexed?
Are there pages in my sitemap that should not be there (admin pages, drafts, internal pages)?
After my last content launch, did the new pages actually make it into the sitemap?
The cost of ignoring your sitemap is the slow accumulation of pages that search engines don't know about. New content takes longer to rank. Stale content stays in the index after you've deleted it. The fix is almost free on any modern CMS — most platforms generate sitemaps automatically — but the audit is what catches the cases where the automation has quietly broken. The official spec is in Google's sitemap documentation, and the format itself has been stable for over fifteen years.
The Sitemap Check endpoint, in plain language
Find and analyze XML sitemaps
Sitemaps reveal site structure, content freshness, and crawling priorities. They're essential for SEO (Search Engine Optimization) auditing, content discovery, and understanding how a site wants search engines to index its content.
What is actually happening when you call it
Searches for sitemaps at common locations (/sitemap.xml, /sitemap_index.xml) and robots.txt (robots.txt file) references. Parses sitemap XML per the sitemaps.org protocol to extract URLs, last modified dates, change frequency, and priority values. Handles sitemap indexes with multiple child sitemaps.
Why this specific tool matters
Choose a task: Content Discovery. Map all pages on a competitor's site through their sitemap to understand content strategy.
Run the Sitemap Check request below and retain the input and observed result. Before changing configuration, compare the relevant fields with the value or policy you expected. Use the Sitemap Check reference to check the field definitions and supported options.
Available on the free plan. The technical details: `GET /v1/domain/sitemap`.
When would I actually use this?
Content Discovery
Map all pages on a competitor's site through their sitemap to understand content strategy.
Use the finding: Discover competitor content for gap analysis and strategy planning.
SEO Health Check
Verify sitemap is properly formatted, accessible, and includes all important pages.
Use the finding: Ensure search engines can discover and index all content efficiently.
Web Scraping Preparation
Use sitemap to generate a complete list of URLs for web scraping projects.
Use the finding: Efficiently crawl websites by starting with known URL (web address) lists.
The easiest way: just ask your AI assistant
Connect the MCP server. Just ask in plain English:
Use domain_sitemap with domain=https://example.com. Show the returned findings, identify unavailable evidence, and explain a useful next check.
Confirm the tool and inputs in the client before accepting its summary. For Sitemap Check, use the response fields below to separate observations from recommendations.
The dedicated MCP server is available on every plan. Individual tool access and request limits depend on your plan. Management categories and endpoints disabled for the tool catalog are not exposed through MCP.
The technical way: call it from code
This Sitemap Check request uses the example inputs from its API contract. Replace YOUR_API_KEY with a key on the free plan or higher; adapt the target to your task.
curl --request GET 'https://api.edgedns.dev/v1/domain/sitemap?domain=https%3A%2F%2Fexample.com' \
--header "Authorization: Bearer YOUR_API_KEY"Prepare inputs for Sitemap Check
Start with the inputs below. Keep the same hostname, path, and options when comparing Sitemap Check observations. The API reference contains the complete parameter contract, optional settings, and access requirements.
| Field | Type | Required? | What it means | Example |
|---|---|---|---|---|
domain | string | Yes | Domain or full URL (web address) — accepts `example.com` or `HTTPS://example.com/path`. The chosen protocol determines which scheme is probed for `/sitemap.xml`. | https://example.com |
Interpret Sitemap Check findings
Read these fields alongside the full response from your Sitemap Check check. A missing value or failed lookup is different from a passing result. Keep returned errors and confidence or cache metadata when available; do not replace missing evidence with a successful default. See the complete response reference for additional fields.
| Field | Type | What you'll see in it |
|---|---|---|
domain | string | The queried domain (bare hostname). |
found | boolean | Whether a sitemap was found |
url | string | Primary sitemap URL (web address) — discovered at the protocol used in the request. |
Words you might be wondering about
URL (web address) — The full address of a page, like https://example.com/about.
SEO (Search Engine Optimization) — Everything you do to help search engines like Google find, understand, and rank your website.
robots.txt (robots.txt file) — A simple text file at the root of a website that tells search engine crawlers which pages they're allowed to look at and which to skip.
sitemap.xml (XML sitemap) — A file that lists every important page on your website, helping search engines find them all efficiently.
Need Programmatic Access?
Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.