Olostep sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents-store.olostep.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

Guide

How to Extract All URLs from a Website

Five ways to get a complete list of a website's URLs: a free online tool, the sitemap, Google, a Python crawler and an API. The fastest one is right below.

Paste a website address and click Start mapping to list every URL on it.

The Short Answer

Two sources give you a full list. A URL extractor uses both.

To extract all URLs from a website, combine the site's XML sitemap (the pages the owner wants found) with a crawl of its internal links (the pages visitors can reach). A URL extractor does both in one step and returns a clean, deduplicated list you can copy or download.

Pick the method that fits your job:

  1. 1.Use a free URL extractor (no code) · Anyone who needs a URL list in under a minute.
  2. 2.Read the website's XML sitemap · Quick lists from sites that keep their sitemap up to date.
  3. 3.Search Google with the site: operator · A rough idea of which pages Google has indexed.
  4. 4.Crawl the site with a Python script · Developers who want full control over a small site.
  5. 5.Use the Olostep Map API (for scale and automation) · Recurring jobs, many websites, or feeding URLs into a scraper or AI pipeline.

5 Ways to Extract All URLs from a Website

From no code at all to a single API call that scales to thousands of sites.

01

Use a free URL extractor (no code)

Best for: Anyone who needs a URL list in under a minute.

The tool at the top of this page runs the Olostep Map endpoint. It reads the site's sitemaps, follows its links and returns every URL it finds as one deduplicated list.

Steps

  1. 1Paste the website address, for example https://www.example.com.
  2. 2Optional: add include paths such as /blog/** to keep one section only, or exclude the paths you don't need.
  3. 3Optional: turn on subdomains to collect URLs from docs., blog. and other subdomains in the same run.
  4. 4Click Start mapping. Most sites finish in seconds; very large ones can take up to two minutes.
  5. 5Copy the list or download it as TXT or JSON.

Limits

  • Pages behind a login aren't included.
  • A page that no other page links to and no sitemap lists is very hard for any outside tool to find.
Open the URL Extractor tool →
02

Read the website's XML sitemap

Best for: Quick lists from sites that keep their sitemap up to date.

Most websites publish a sitemap: an XML file that lists the pages the owner wants search engines to find. It's the quickest place to start.

Steps

  1. 1Open https://www.example.com/sitemap.xml in your browser. If it isn't there, try /sitemap_index.xml.
  2. 2Still nothing? Open /robots.txt and look for lines that start with Sitemap:. They point to the real sitemap files.
  3. 3If the file lists other sitemaps (a sitemap index), open each one of them.
  4. 4Copy the addresses inside the <loc> tags. Each one is a page URL.

This Python script does steps 3 and 4 for you and follows sitemap indexes to the end:

import xml.etree.ElementTree as ET

import requests

NS = {"sm": "http://www.sitemaps.org/schemas/sitemap/0.9"}
HEADERS = {"User-Agent": "Mozilla/5.0 (compatible; url-list/1.0)"}


def sitemap_urls(sitemap_url, seen=None):
    """Return every page URL in a sitemap, following sitemap index files."""
    seen = set() if seen is None else seen
    if sitemap_url in seen:
        return []
    seen.add(sitemap_url)
    res = requests.get(sitemap_url, headers=HEADERS, timeout=30)
    res.raise_for_status()
    root = ET.fromstring(res.content)
    locs = [loc.text.strip() for loc in root.findall(".//sm:loc", NS)]
    if root.tag.endswith("sitemapindex"):
        return [url for child in locs for url in sitemap_urls(child, seen)]
    return locs


urls = sitemap_urls("https://www.example.com/sitemap.xml")
print(len(urls), "URLs")
print("\n".join(urls))

Limits

  • A sitemap lists only the pages the owner chose to include, and it can be out of date.
  • Large sites split their sitemap into many files, and some are compressed (.xml.gz).
Or paste a sitemap into the free Sitemap URL Extractor →
04

Crawl the site with a Python script

Best for: Developers who want full control over a small site.

A crawler starts on one page, collects every link on it, then visits each internal link it hasn't seen yet, until no new links are left.

Steps

  1. 1Install the libraries: pip install requests beautifulsoup4.
  2. 2Run the script below with your start URL. max_pages caps how many pages it visits.
  3. 3Save the result to a file, or pass it to the next step of your workflow.

A small breadth-first crawler that stays on one domain:

import time
from collections import deque
from urllib.parse import urldefrag, urljoin, urlparse

import requests
from bs4 import BeautifulSoup


def crawl(start_url, max_pages=500):
    """Follow internal links from start_url and return every URL found."""
    domain = urlparse(start_url).netloc
    found, queue, fetched = {start_url}, deque([start_url]), 0
    session = requests.Session()
    session.headers["User-Agent"] = "Mozilla/5.0 (compatible; url-list/1.0)"
    while queue and fetched < max_pages:
        url = queue.popleft()
        try:
            res = session.get(url, timeout=15)
        except requests.RequestException:
            continue
        fetched += 1
        if "text/html" not in res.headers.get("Content-Type", ""):
            continue
        for a in BeautifulSoup(res.text, "html.parser").find_all("a", href=True):
            link = urldefrag(urljoin(res.url, a["href"]))[0]
            if urlparse(link).netloc == domain and link not in found:
                found.add(link)
                queue.append(link)
        time.sleep(0.5)  # be polite: one request every half second
    return sorted(found)


urls = crawl("https://www.example.com/")
print(len(urls), "URLs")
print("\n".join(urls))

Limits

  • It doesn't run JavaScript, so links that appear only after the page loads are missed.
  • Many sites block or rate-limit simple scripts. Real use needs retries, proxies and polite crawl rules.
  • It can't find pages that nothing links to. Combine it with the sitemap.
05

Use the Olostep Map API (for scale and automation)

Best for: Recurring jobs, many websites, or feeding URLs into a scraper or AI pipeline.

The same engine as the free tool, as one API call. Send a website URL and get back every URL found from its sitemaps and links. Most responses arrive in seconds; complex sites can take up to two minutes.

Steps

  1. 1Create a free account and copy your API key. New accounts get 500 free credits, no credit card required.
  2. 2Send a POST request to https://api.olostep.com/v1/maps with the website url.
  3. 3Filter with include_urls and exclude_urls (glob patterns such as /blog/**), cap the count with top_n, or rank URLs by a search_query.
  4. 4One response holds up to about 100,000 URLs. If it includes a cursor, send the same request again with that cursor to get the next page.

Get every URL on a site, following the cursor until the list is complete:

import os

import requests

API_URL = "https://api.olostep.com/v1/maps"
headers = {"Authorization": f"Bearer {os.environ['OLOSTEP_API_KEY']}"}
payload = {"url": "https://www.example.com"}

urls = []
while True:
    res = requests.post(API_URL, json=payload, headers=headers, timeout=180)
    res.raise_for_status()
    data = res.json()
    urls += data["urls"]
    if not data.get("cursor"):
        break
    payload["cursor"] = data["cursor"]  # more URLs remain: ask for the next page

print(len(urls), "URLs")
print("\n".join(urls))

A map costs 1 credit, plus 1 credit for every additional 1,000 URLs in the response.

Limits

  • Pages behind a login aren't included.
Read the Map API docs →

Which Method Should You Use?

How the five methods compare on coverage and effort.

MethodBest forFinds pages missing from the sitemapJavaScript-heavy sitesEffort
Free URL extractorA quick, complete listYesYesNone
XML sitemapSites with a well-kept sitemapNoYesLow
Google site: searchChecking what's indexedOnly indexed pagesYesManual
Python crawlerSmall sites, full controlYesNoMedium to high
Olostep Map APIScale and automationYesYesOne API call

How to Clean Up Your URL List

Raw URL lists have duplicates and noise. Fix these before you use them.

  • Remove duplicates

    The same page often shows up as http and https, with and without www, or with a trailing slash. Normalize these, then deduplicate.

  • Strip tracking parameters

    ?utm_source=… and #section point to the same page. Remove them unless the parameter changes what the page shows.

  • Filter by section

    Keep only the paths you need, such as /blog/ or /products/, before you hand the list to the next tool.

  • Check status codes

    Request each URL once and drop redirects (3xx) and broken pages (4xx, 5xx) before an audit or a migration.

Need the content of every page too? Send your list to the Olostep Batch endpoint to scrape up to 100,000 URLs in one job. See the Batch endpoint →

Why Some URLs Are Missing From Your List

If a page you know about isn't in the results, it's usually one of these.

  • Orphan pages

    No other page links to them and the sitemap doesn't list them.

  • Login or paywall

    Pages that need an account aren't public, so no outside tool can see them.

  • Blocked access

    robots.txt rules or the site's firewall stop crawlers from reaching some sections.

  • Links that need a click

    Infinite scroll, "load more" buttons and menus that load on click hide links until someone interacts.

  • Search and filter pages

    Pages generated from a search box or a filter form exist only for the input someone typed.

Extract Every URL From Any Website

Map a whole site in seconds with the free tool or one API call.
500 credits to try it for free, no credit card required.

Are you an AI Agent? Get started here

Frequently asked questions

The Basics

  • It means building a list of every page address on a domain, such as its blog posts, product pages and landing pages. Teams use the list for SEO audits, site migrations, content inventories and as input for web scraping.

  • Use a URL extractor such as the free tool on this page. It reads the sitemap and follows internal links in one step, then gives you a deduplicated list to copy or download as TXT or JSON.

  • Read the site's sitemap.xml file or run the Python crawler on this page, both at no cost. The URL extractor and the Map API are free to try too: new accounts get 500 free credits, no credit card required.

Methods

  • Open /sitemap.xml on the website, or find the sitemap address in /robots.txt. Copy every address inside the <loc> tags. If the file is a sitemap index, open each sitemap it lists and repeat. The Python script on this page does all of this for you.

  • No. A site: search shows only pages Google has indexed, and the results are capped. For your own site, Google Search Console's Pages report is more complete, but it still covers only pages Google knows about.

  • Use requests and BeautifulSoup to crawl the site: start on the homepage, collect every link, and visit each internal link you haven't seen yet. The script on this page does that. For JavaScript-heavy or large sites, call the Olostep Map API from Python instead.

  • Extract URLs twice: once from the sitemap and once by crawling internal links. Pages that appear in the sitemap but not in the crawl have no internal links pointing to them. Those are your orphan pages.

Scale and Export

  • One Map API response holds up to about 100,000 URLs. If a site has more, the response includes a cursor; send the same request with that cursor to get the next page, and repeat until no cursor is returned.

  • Download the list as TXT and import it, or copy it and paste it into the first column. Each URL lands on its own row, ready to sort, filter or check.

  • Extracting URLs gives you the list of page addresses. Scraping downloads the content of those pages. A common workflow is to extract the URLs first, filter them, then scrape only the pages you need.

  • A map costs 1 credit, plus 1 credit for every additional 1,000 URLs in the response. New accounts get 500 free credits, no credit card required.

How to Extract All URLs from a Website (5 Easy Ways)