Sitemap Company Page Collector avatar

Sitemap Company Page Collector

Pricing

$2.00 / 1,000 results

Go to Apify Store
Sitemap Company Page Collector

Sitemap Company Page Collector

Pricing

$2.00 / 1,000 results

Rating

0.0

(0)

Developer

Eichan Jolly

Eichan Jolly

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

Find URLs in public XML sitemaps that look like company/about/contact pages. It extracts URLs only: no page content is visited, parsed, downloaded, or enriched.

Who should use it?

B2B prospect researchers, company website auditors, and sales-ops teams who already know a business website and want a quick list of likely company-information pages.

Input

Supply one public HTTPS website URL or an explicit sitemap URL. With an ordinary website URL, the Actor requests /sitemap.xml on that host. When the URL path includes sitemap and ends in .xml or .xml.gz, it is treated as the explicit sitemap address.

{"url":"https://www.cloudflare.com/sitemap.xml","maxResults":50}

The prefill is a real public XML sitemap from Cloudflare's official website, not a placeholder. Contents change as the site is updated.

Output — one dataset item per unique matching URL

{
"url":"https://www.cloudflare.com/careers",
"matched_keyword":"careers",
"sourceSitemap":"https://www.cloudflare.com/sitemap.xml"
}

This URL was observed in the public Cloudflare sitemap when preparing this example; live sitemap contents can change. Your actual sourceSitemap field always identifies the XML file from which the URL was extracted. Field names are exactly url, matched_keyword, sourceSitemap. Only URLs already listed inside XML sitemaps are output. The URLs are not fetched.

Matches the tokens about, company, contact, team, careers, imprint, legal in paths, using simple token boundaries (/about-us/ matches; /teamwork/ does not). It does not guess company pages from link text or query strings. A path containing more than one keyword yields one output item using the first textual match. Duplicate URLs are removed. Results preserve sitemap discovery order.

Supported and not supported

  • Supports XML urlset, XML sitemapindex, nested same-host sitemap indexes, HTTP gzip and .xml.gz sitemap files.
  • Up to 12 sitemap files, 200 results maximum (maxResults default 50), 2.5 MB compressed bytes and 8 MB uncompressed XML per file; 12-second timeout per HTTP request.
  • Only HTTPS URLs on the exact original hostname. External sitemap indexes and external listed page URLs are ignored. Redirects to other hosts are blocked; no account pages, login pages, or personal profiles are scraped.
  • Only robots-permitted sitemaps are read; HTTP blocks, invalid XML, disallowed sitemaps, and inaccessible websites produce plain-language errors. If /sitemap.xml does not exist, provide a known explicit sitemap URL; the Actor does not scan or guess alternate sitemap names.
  • Simple keyword matching creates false positives and misses synonym pages (for example, /our-story/). No page is fetched to confirm it is a company page. Zero results is possible and is not proof there are no company pages.

Run locally (Python 3.12+, standard library only)

From this Actor folder:

$ACTOR_INPUT_JSON='{"url":"https://www.cloudflare.com/sitemap.xml","maxResults":50}' python src/main.py

Or put the input in storage/key_value_stores/default/INPUT.json. The local dataset appears as storage/datasets/default/000000001.json, etc. On Apify, the Actor reads run input and pushes JSON rows via REST using runtime environment variables. No Apify SDK needed.

Reproduce offline script-mode smoke verification (the fixture is illustrative, not a capture of the live Cloudflare sitemap):

python tests/run_direct_smoke.py
python -m unittest discover -s tests -v

The exact terminal output and resulting dataset rows are included in tests/SMOKE_OUTPUT.txt and tests/SMOKE_DATASET.json.

Apify Store metadata and suggested price

Suggested categories: LEAD_GENERATION, SEO_TOOLS (2 categories). Suggested PRICE_PER_DATASET_ITEM $0.003/item ($3.00 per 1,000 URLs). This is a recommendation only in store_metadata.json. No Apify billing is configured. The Actor makes no billing API calls.

Only official public website sitemaps on user-specified hosts; no login, LinkedIn scraping, personal-data collection, or private-network access.