Skip to content
Fourohtwo

Generate an llms.txt file (llmstxt.org format) from a sitemap

denk.halowerk.com/v1/llms-txt-generate

Generate an llms.txt file (llmstxt.org format) from a sitemap: title, summary and link sections grouped by path. Parses a sitemap (urlset; a sitemap index is reported with its child sitemaps) supplied inline or fetched from a public URL, groups pages by their first path segment, derives readable link names from the slugs and writes llms.txt Markdown with an H1 title, a blockquote summary and one H

BaseAnswering
POSThttps://denk.halowerk.com/v1/llms-txt-generate

Uptime100% of 4 checks 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://denk.halowerk.com/v1/llms-txt-generate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"sitemap_xml":"<urlset><url><loc>https://halowerk.com/</loc></url><url><loc>https://halowerk.com/produkte/drucksensor</loc></url></urlset>","summary":"Industrial sensors and remote maintenance for German manufacturers.","title":"Beispiel GmbH"}),
});
console.log(await res.json());

Example input

{
  "sitemap_xml": "<urlset><url><loc>https://halowerk.com/</loc></url><url><loc>https://halowerk.com/produkte/drucksensor</loc></url></urlset>",
  "summary": "Industrial sensors and remote maintenance for German manufacturers.",
  "title": "Beispiel GmbH"
}