Scraper API
Webweb.sitemapAvailable
Sitemap
Every address the sitemap lists, with the last-modified date, change frequency, priority, images, language versions and news details it states.
Give it a sitemap's address, or a website's address to find its sitemap from robots.txt.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 3, 1 required
- Record
- 11 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/web.sitemap/runs
sent, and answered
a record of the run11 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 11 fields are set down here; the whole record is below.

What it is used for
- List a site's pages
- Every address a website says it has, with
last_modified, before you crawl it or check it for broken links. - Spot what changed
- Run it again and compare
last_modifiedto find the pages that were added or updated since the last read. - Read a news site's latest
- A news sitemap gives each article's
news_titleandnews_published_atbeside its address.
What you send
A sitemap's address, or a website's address to find its sitemap from robots.txt. These are its 3 inputs, as its schema has them.
urlstring Required- A sitemap's address, such as https://docs.python.org/sitemap.xml, or a website's address, such as https://www.gov.uk.
max_urlsinteger Optional- Return at most this many addresses, in the sitemap's own order: 1,000 unless you say otherwise, up to 50,000.Default
1000 max_sitemapsinteger Optional- For a sitemap index, read at most this many files: 5 unless you say otherwise, up to 20.Default
5
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/web.sitemap/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"url":"https://docs.python.org/sitemap.xml","max_urls":3}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("web.sitemap", {
"url": "https://docs.python.org/sitemap.xml",
"max_urls": 3,
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("web.sitemap", {
url: "https://docs.python.org/sitemap.xml",
max_urls: 3,
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "web.sitemap", map[string]any{"url": "https://docs.python.org/sitemap.xml", "max_urls": 3})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("web.sitemap", Map.of("url", "https://docs.python.org/sitemap.xml", "max_urls", 3));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run web.sitemap --input url=https://docs.python.org/sitemap.xml --input max_urls=3Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
Every address the sitemap lists, with the last-modified date, change frequency, priority, images, language versions and news details it states. A record has 11 fields. One we could not read is null, never an empty string or a zero.
{
"position": 1,
"url": "https://docs.python.org/3.11/",
"last_modified": null,
"change_frequency": "yearly",
"priority": null,
"images": [],
"alternates": {
"de": "https://docs.python.org/de/3.11/",
"el": "https://docs.python.org/el/3.11/",
"en": "https://docs.python.org/3.11/",
"es": "https://docs.python.org/es/3.11/",
"fr": "https://docs.python.org/fr/3.11/",
"id": "https://docs.python.org/id/3.11/",
"it": "https://docs.python.org/it/3.11/",
"ja": "https://docs.python.org/ja/3.11/",
"ko": "https://docs.python.org/ko/3.11/",
"pa": "https://docs.python.org/pa/3.11/",
"pl": "https://docs.python.org/pl/3.11/",
"pt-BR": "https://docs.python.org/pt-br/3.11/",
"fa": "https://docs.python.org/fa/3.11/",
"ro": "https://docs.python.org/ro/3.11/",
"ru": "https://docs.python.org/ru/3.11/",
"sv": "https://docs.python.org/sv/3.11/",
"tr": "https://docs.python.org/tr/3.11/",
"uk": "https://docs.python.org/uk/3.11/",
"zh-CN": "https://docs.python.org/zh-cn/3.11/",
"zh-TW": "https://docs.python.org/zh-tw/3.11/"
},
"news_title": null,
"news_published_at": null,
"sitemap": "https://docs.python.org/sitemap.xml",
"fetched_at": "2026-11-19T18:07:42.618123Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
The fields of a record
positioninteger- The address's place among the returned ones, from 1.
urlstring- The page's address as the sitemap lists it.
last_modifieddatetime or null- When the page last changed, as the sitemap states it, in UTC.
change_frequencystring or null- How often the sitemap says the page changes: always, hourly, daily, weekly, monthly, yearly or never.
prioritynumber or null- The page's priority within the site as the sitemap states it, 0.0 to 1.0.
imageslist of strings- The images the sitemap lists for the page.
alternatesobject- The page's versions in other languages as the sitemap lists them: language code to address.
news_titlestring or null- For a news sitemap, the article's title.
news_published_atdatetime or null- For a news sitemap, when the article was published, in UTC.
sitemapstring- The address of the sitemap file that lists the page.
fetched_atdatetime- When that sitemap file was read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- One site's sitemap a run, up to 20 files of it. A sitemap index that names more says how many were left.
- Gzipped sitemaps are read. A sitemap that does not exist ends as failed, with the reason not_found, and costs nothing.
The bounds its schema sets
max_urls- 1 to 50,000; 1,000 unless you say otherwise
max_sitemaps- 1 to 20; 5 unless you say otherwise
Questions
What does Sitemap return?
Every address the sitemap lists, with the last-modified date, change frequency, priority, images, language versions and news details it states. A record has 11 fields, among them position, url, last_modified, change_frequency, priority and images. A value that could not be read is null, never an empty string or a zero.
What do I send?
A sitemap's address, or a website's address to find its sitemap from robots.txt. The input url is required. Optional: max_urls and max_sitemaps.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: max_urls 1 to 50,000 (1000 unless you say otherwise); max_sitemaps 1 to 20 (5 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
One site's sitemap a run, up to 20 files of it. A sitemap index that names more says how many were left. Gzipped sitemaps are read. A sitemap that does not exist ends as failed, with the reason not_found, and costs nothing.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id web.sitemap and the same input. It costs what the same API call costs.
Used in this playbook
A playbook runs Sitemap as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.
Research
Knowledge Base Crawl
A site's or docs' pages as clean Markdown, one row a page; saved, it returns only the pages that are new, changed or gone.
Web
Public web pages: as the server sends them, after their scripts ran, as Markdown or as a picture, and what is in them. A domain's registration and its DNS records.
Web page
web.fetchThe address of a public web page. The status, headers and body its server sent.
Web page to Markdown
web.markdownThe address of a public web page. The page as clean Markdown, with its title, description, links and metadata.
PDF document
web.documentThe address of a public PDF, how many of its pages to read (up to 500), and whether to read scanned pages with OCR. Each page's text in reading order, the whole document as Markdown, its tables as rows and columns with their page, and its title, author and dates.
RSS and Atom feed
web.feedThe address of an RSS, Atom or JSON feed. Each entry of the feed: its title, link, summary and content as plain text, author, categories, dates, image and attached files.
Rendered web page
web.renderThe address of a public web page that builds its content with JavaScript. The page's HTML after a browser has loaded it and run its scripts.
Web page extraction rules
web.extractThe address of a public web page, and your own CSS or XPath rules, each with a name. One record with what each rule selected, under its name: text, an attribute, HTML, a list, or an object of fields.
News or blog article
web.articleThe address of a public news or blog article. Its title, authors, dates, section and tags, the body as text and as Markdown, the lead image, the site and the language.
Website technologies
web.techThe address of a public web page. The technologies it reveals, each with its category, version where shown, and the evidence it was recognised by.
Product page
web.productThe address of a product's page in any online shop. The product the page declares: name, brand, description, category, price and price range, list price, currency, availability, condition, rating and reviews, images, SKU, GTIN and part number, and each offer or variant.
Web page screenshot
web.screenshotThe address of a public web page, and what to take: the window, the whole page or one element, on a desktop, tablet or phone. A PNG or JPEG of the page, to download from the address in the record, with its size, format and checksum.
Page speed and weight
web.speedThe address of a public web page, a phone or a desktop, and how many times to load it (one to three). Load timings, Core Web Vitals, page weight by file type, the largest files, a 0 to 100 score and plain findings such as "3.1 MB of JavaScript".
Domain registration
web.whoisA domain name. Its registrar, creation, update and expiry dates, statuses, name servers, DNSSEC, and the registrant where the registry publishes one.
DNS records
web.dnsA host name. Its DNS records: addresses, aliases, mail servers, name servers, TXT, SOA, CAA and, when asked, SRV.
Website contacts
web.contactsA company's domain. The contact details its own website publishes: e-mail addresses, phone numbers, social profiles and postal address.
Website to Markdown
web.crawlA start page on a public website. The site's pages as clean Markdown, one record for each page.
- Industry
- Search and the open web
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.