Playground Sign in Start free
Use case · Content inventory and migration

Build a content inventory of every URL before a website migration.

To find every URL before a website migration, compare two lists: what the sitemap holds and what the links reach. A free sitemap listing gives the first (ujeebu.com: 949 URLs, 0 credits), and one crawl job gives the second, with each page's status, title, canonical address, depth and links, at 1 credit a page as HTML. URLs in the sitemap that no link reaches are your orphan pages.

Free: the site sizer and the quote · 5,000 free credits · no card
Request
POST /crawl
{
  "urls": ["https://ujeebu.com/"],
  "scope": {"max_depth": 2, "max_pages": 100},
  "format": "html",
  "page": {"js": false},
  "max_credits": 150,
  "concurrency": 3
}

→ 202 Accepted
{"job_id": "c_…", "status": "pending"}
Page records
GET /crawl/{id}/pages
{
  "pages": [
    {
      "seq": 58,
      "url": "https://ujeebu.com/case-study/cline",
      "state": "done",
      "http_status": 200,
      "title": "Scaling to 200 Requests/Second - Cline Case Study | Ujeebu",
      "canonical_url": "https://ujeebu.com/solutions/scaling-200-requests-per-second",
      "depth": 1,
      "discovered_from": "https://ujeebu.com/",
      "credits": 1,
      "links_total": 93
    },
    {
      "seq": 64,
      "url": "https://ujeebu.com/solutions/scaling-200-requests-per-second",
      "state": "skipped",
      "error_class": "duplicate",
      "duplicate_of": "https://ujeebu.com/case-study/cline",
      "depth": 1
    },
    …
  ],
  "next_after": 64,
  "has_more": true
}
A crawl bill you can trust

Know what the inventory costs before it starts.

A free quote gives the most a crawl can cost before it starts, and max_credits is a hard cap. Failed, blocked and robots-skipped pages are not billed, and every page has an honest state.

A free quote first

POST /crawl/quote takes the job body and starts nothing. For the 45 posts of our blog it answered 10 credits a page and a ceiling of 450 credits.

Quote
{
  "estimate": true,
  "credits_per_page": 10,
  "max_pages": 45,
  "credits_ceiling": 450,
  "sitemap": {"in_scope_urls": 45}
}

A cap that holds

max_credits counts each page once, so a cap equal to the quote's ceiling reads every page. Our 50-credit sample of the same blog stopped at its cap; the pages it never started cost nothing.

Job status
{
  "stop_reason": "max_credits",
  "credits_used": 50,
  "max_credits": 50,
  "errors": {"stopped": 40}
}

An honest state for every page

done, blocked, not_found, timeout, robots, duplicate or stopped, with the reason. A site that refuses everything reads as blocked, never as an empty site.

Page record
{
  "url": "https://books.toscrape.com/catalogue/the-page-that-moved_999/index.html",
  "state": "failed",
  "http_status": 404,
  "error_class": "not_found",
  "error": "Invalid status code from URL: 404"
}

Output of our runs on ujeebu.com and books.toscrape.com (November 17, 2026), trimmed; credit figures follow the price list.

The challenge

Where migrations lose traffic.

Most of the damage comes from URLs nobody knew about.

Pages nobody listed

Old campaign pages and forgotten guides still get visits. The CMS export and the sitemap rarely match what the links actually reach.

Broken links after launch

Moved pages leave internal links pointing nowhere. Finding them by clicking around does not work past a few dozen pages.

Canonicals and duplicates

A wrong canonical or a duplicate path splits ranking signals. You need each page's declared canonical next to its URL.

No record of the old site

Once the old site is switched off, so is the evidence of what it said. You want a dated copy to compare against.

Where it fits

Inventory, content audit, redirect map.

Content inventory

One row per URL, before anyone touches the CMS.

URL, status, title, canonical address, depth, the page that linked to it and how many links it has: the spreadsheet a migration plan starts from, built from what the site actually serves.

What you get
  • title and canonical_url per page
  • depth and discovered_from for the structure
  • links (up to 300) and links_total
Content audit

Decide keep, update, merge or remove.

Sort the inventory by links in, depth and title. Pages no link reaches, pages that point to another canonical and pages with repeated titles are the first to review.

What you get
  • links in counted from the crawl
  • duplicate_of for pages with another canonical
  • a sha256 per page to compare versions
Redirect map

The left column of your redirect map.

Every URL that answers today, with its title and canonical, needs a home after the move. Map each one to its new address before launch, and keep the archive as the record of the old site.

What you get
  • every page that answers, with its title
  • a tar.gz archive with manifest.json
  • checksum_sha256 for the whole archive
Website migration checklist

Eight steps, and what the crawl gives each one.

The redirect map is only as good as the list of URLs it starts from. Build that list before anyone touches the CMS.

StepWhenWith the crawl
1. List every URL in the sitemapsBeforeA sitemap job, "mode": "sitemap": no page calls, 0 credits.
2. Crawl what the links reachBeforeOne job as HTML without JavaScript, use_sitemap left off.
3. Find the orphan pagesBeforeSitemap URLs the crawl never reached.
4. Build the content inventoryBeforeOne CSV row per page record (columns below).
5. Draft the redirect mapBeforeEvery page that answers, with its title and canonical_url.
6. Keep a before snapshotBeforeThe job archive: manifest.json plus one file per page, with checksum_sha256.
7. Crawl the new siteAfter launchThe same request; compare the two inventories.
8. Fix the broken linksAfter launchnot_found records, each with the page that links to it in discovered_from.
How it works

Two lists, one comparison, one snapshot.

What the sitemap claims, what the links reach, what is broken, and a copy of it all, before the move.

  1. 1

    List what the sitemap holds, for free

    A sitemap job reads the site's sitemaps and lists the in-scope URLs, with no page calls and no credits. On ujeebu.com it listed 949 URLs for 0 credits.

    Request
    curl -X POST https://api.ujeebu.com/crawl \
      -H "ApiKey: $UJEEBU_KEY" -H "Content-Type: application/json" \
      -d '{"urls": ["https://ujeebu.com/"], "mode": "sitemap",
           "scope": {"max_pages": 1000}}'
    Job status (trimmed)
    {
      "status": "completed",
      "finished": true,
      "mode": "sitemap",
      "counts": {"listed": 949},
      "credits_used": 0
    }
  2. 2

    Crawl what the links reach

    Crawl the site as HTML without JavaScript, 1 credit a page on the price list, with use_sitemap left off so only the links lead the way. Write one row per page record: that is your content inventory. Links in are counted from the other pages' link lists.

    Python
    import collections, csv
    
    pages = list(read_pages(crawl_job))     # GET /crawl/{id}/pages, 50 at a time
    links_in = collections.Counter(u for p in pages for u in set(p.get("links", [])))
    
    COLS = ["url", "state", "http_status", "error_class", "title", "canonical_url",
            "duplicate_of", "depth", "discovered_from", "links_out", "links_in", "sha256"]
    with open("inventory.csv", "w", newline="") as f:
        w = csv.DictWriter(f, fieldnames=COLS, extrasaction="ignore")
        w.writeheader()
        for p in pages:
            w.writerow({**p, "links_out": p.get("links_total", 0),
                        "links_in": links_in[p["url"]]})
  3. 3

    Find the orphans and the broken links

    Compare the two lists. Sitemap URLs the crawl never reached are orphan candidates; crawled pages missing from the sitemap need adding. Every not_found record names the page that links to it.

    Python
    listed  = {p["url"] for p in read_pages(sitemap_job)}   # state "listed"
    crawled = {p["url"] for p in pages}
    
    orphans = sorted(listed - crawled)   # in the sitemap, no link reaches them
    missing = sorted(crawled - listed)   # linked, but not in the sitemap
    broken  = [(p["discovered_from"], p["url"])
               for p in pages if p.get("error_class") == "not_found"]
  4. 4

    Keep a checksummed before snapshot

    Every finished job has a tar.gz archive: manifest.json with every page record, plus one HTML file per page read. Download it within 72 hours of the end of the job and check it against checksum_sha256.

    Shell
    curl -s https://api.ujeebu.com/crawl/$JOB_ID \
      -H "ApiKey: $UJEEBU_KEY" | jq .archive
    Response (a 40-page job)
    {
      "url": "https://…",
      "size_bytes": 54711,
      "checksum_sha256": "3ade289d0d04998f…",
      "file_count": 41,
      "expires_at": "2026-11-20T10:24:26Z"
    }
    Shell
    curl -sL "$ARCHIVE_URL" -o before.tar.gz
    sha256sum before.tar.gz      # equals checksum_sha256
    tar -xzf before.tar.gz       # manifest.json, page-000001.html, …
Content inventory template

The columns of the inventory, and where each one comes from.

Every column is a field of the page record, except links in, which the script counts.

ColumnFrom the page recordUse it to
urlurlKey every row of the inventory and the redirect map.
state, http_statusstate, http_statusSeparate pages that answer from pages that fail or were skipped.
error_classerror_classRead why a page has no content: not_found, blocked, timeout, robots, duplicate.
titletitleSpot missing, weak or repeated titles.
canonical_urlcanonical_urlFind pages that declare another page as canonical.
duplicate_ofduplicate_ofThe page this one duplicates, through its canonical link (HTML format).
depthdepthHow many links from the start URL: deep pages are easy to lose.
discovered_fromdiscovered_fromWhere the URL was first found, and where to fix a broken link.
links_outlinks_totalHow many links the page has.
links_incounted from the other pages' linksPages with 0 links in are orphans or near orphans.
sha256sha256Compare the old content with the new after launch.
What it costs

A 1,000-page site, inventoried before and after the move.

Prices come from the price list: 1 credit per page as HTML without JavaScript. Our 100-page crawl of ujeebu.com cost 100 credits.

Sitemap listing
mode "sitemap", no page calls
free
Before: full inventory
1,000 pages × 1 credit
1,000
After launch: the new site
1,000 pages × 1 credit
1,000
robots.txt skips
never fetched
free
Whole migration
About $0.33 at the Starter rate (Starter: $49 a month for 300,000 credits)
2,000 credits
  • A site that renders in the browser costs 5 credits a page with JavaScript, 10,000 credits for both crawls. Premium and residential proxies cost more.
  • Failed, blocked and robots-skipped pages are not billed. max_credits counts each page once, so a cap equal to the quote's ceiling reads every page.
  • Bigger than 2,000 pages: one job per section with include patterns, 2 jobs at a time.
What you get

What a migration crawl records.

One record per page

url, canonical_url, duplicate_of, depth, discovered_from, state, http_status, title, links and links_total, and a sha256 of the content.

Broken links, with their source

A page that is not found is recorded as not_found with its 404, and discovered_from names the page that links to it: the list of links to fix comes with the crawl.

Sitemap against reality

A sitemap listing shows what the sitemap claims, for free; a crawl shows what the links reach. The difference is your orphan pages.

Checksummed archive

A tar.gz with manifest.json and one file per page, and checksum_sha256 to prove it is intact. Kept 72 hours after the job ends.

Depth and scope

Up to 20 links deep and 2,000 pages a job, with include and exclude patterns to inventory one section at a time.

A hard credit cap

POST /crawl/quote prices the job before it starts, and max_credits stops it before a page that would go past your cap.

FAQ

Questions people ask before a migration.

How do I find all URLs on a website before a migration?
Combine two lists. A sitemap listing gives every URL the sitemaps hold, for free: ours listed 949 URLs for 0 credits. A crawl gives every URL the links reach, with its status, title and canonical address. URLs in the sitemap that no link reaches are orphan pages that need a decision before the move.
What columns should a content inventory have?
One row per URL: url, state, http_status, title, canonical_url, duplicate_of, depth, discovered_from, links out, links in and a content checksum (sha256). A crawl's page records hold all of them except links in, which you count from the other pages' link lists.
How do I start a website content audit?
Start from the content inventory. Crawl the site, export one row per URL, then mark each page keep, update, merge or remove. Review first the pages no link reaches, the pages that declare another page as canonical, and the pages with weak or repeated titles.
How do I find broken links on my site?
A page that is not found is recorded as failed with error_class not_found and http_status 404, and discovered_from names the page that links to it, so the list of links to fix comes with the crawl. Links to other sites are listed on each page but not visited.
What does a site inventory crawl cost?
1 credit a page as HTML without JavaScript, 5 credits with JavaScript rendering; premium and residential proxies cost more. The sitemap listing and the quote are free, and failed, blocked and robots-skipped pages are not billed. A free quote gives the most a crawl can cost before it starts, and max_credits is a hard cap.
How big a site can one job inventory?
One job reads up to 2,000 pages (max_pages, 100 by default) from up to 20 start URLs, 20 links deep at most, for at most 6 hours, and an account runs 2 jobs at a time. Inventory a bigger site one section at a time with include patterns, and keep the archive of each job as the before snapshot.
Count your URLs before you plan the move.
The free sizer lists a site's URLs and quotes the crawl. No card.
Size a site free

Move the site. Keep every page.

Count the URLs for free, inventory every page under a hard cap, and keep a checksummed copy of the old site. Start with 5,000 free credits, no card.

Free site sizing · no credit card