List the URLs of a website without reading them
agentsvc.io/api/v1/proxy/site-map
List the URLs of a website without reading them: robots.txt, sitemaps and sitemap indexes plus homepage links, up to 1,000 same-site URLs with lastmod and source. A cheap first step to decide which pages to read with web-read-batch or site-crawl. Returns no page content. Params: url (site or domain, required), max_urls (1 to 1000, default 200).
POST
https://agentsvc.io/api/v1/proxy/site-mapUptime100% 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://agentsvc.io/api/v1/proxy/site-map", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://agentsvc.io","max_urls":50}),
});
console.log(await res.json());Example input
{
"url": "https://agentsvc.io",
"max_urls": 50
}