S

Sitemap URL Extractor · Extract

by Sitemap URL Extractor

POSTBaseSolana

$0.01

per call · USD Coin on Base

Give this API a link to any website's sitemap.xml file and it will fetch and parse it, returning every URL found inside. If the sitemap links to other sitemaps (called sitemap indexes), it will follow and extract those too. Each URL is returned with any extra information available, such as when the page was last updated and how often it changes. Useful for SEO audits, content inventories, broken link checks, and competitive research.

Endpoint

POST https://sitemap-url-extractor.underscoredone.com/extract

6

Calls / 30d

4

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://sitemap-url-extractor.underscoredone.com/extract", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "sitemap_url": "https://onescales.com/sitemap.xml"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://sitemap-url-extractor.underscoredone.com/extract" \
  -H "Content-Type: application/json" \
  -d '{"sitemap_url":"https://onescales.com/sitemap.xml"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "api_version": "1.0.0",
  "sitemaps_found": 1,
  "total_urls": 6,
  "urls": [
    {
      "changefreq": "weekly",
      "lastmod": "2022-12-27T03:01:05-05:00",
      "priority": null,
      "url": "https://onescales.com/pages/contact"
    },
    {
      "changefreq": "weekly",
      "lastmod": "2025-09-29T21:38:56-04:00",
      "priority": null,
      "url": "https://onescales.com/pages/about"
    },
    {
      "changefreq": "weekly",
      "lastmod": "2023-11-29T18:49:48-05:00",
      "priority": null,
      "url": "https://onescales.com/pages/join-our-community"
    },
    {
      "changefreq": "weekly",
      "lastmod": "2024-01-01T23:12:34-05:00",
      "priority": null,
      "url": "https://onescales.com/pages/podcast"
    },
    {
      "changefreq": "weekly",
      "lastmod": "2024-10-07T21:21:59-04:00",
      "priority": null,
      "url": "https://onescales.com/pages/support-us"
    },
    {
      "changefreq": "weekly",
      "lastmod": "2025-05-06T21:28:16-04:00",
      "priority": null,
      "url": "https://onescales.com/pages/shopify-growth-course"
    }
  ]
}

Payment details

Pay to0xe9740820225b3918b4ddd1292c7ca4ca0e2c2f08
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from Sitemap URL Extractor & similar services