Skip to content
Fourohtwo

Sitemap parser, get all URLs from a website's sitemap.xml

lookupkit.dev/api/sitemap_parse

Sitemap parser, get all URLs from a website's sitemap.xml. Read an XML sitemap (or a site's robots.txt-listed sitemap when you send just the domain) and return its URLs with last-modified dates, or the child sitemaps of a sitemap index. Up to 1000 entries; .gz sitemaps supported.

BaseAnswering
GEThttps://lookupkit.dev/api/sitemap_parse

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://lookupkit.dev/api/sitemap_parse?limit=5&url=https%3A%2F%2Fwww.sitemaps.org%2Fsitemap.xml");
console.log(await res.json());

Example input

{
  "limit": 5,
  "url": "https://www.sitemaps.org/sitemap.xml"
}

More from Lookup KitProvider status