Skip to content
Fourohtwo

Url to markdown and web page to markdown

pagetext.apexlabs-cloudflare.workers.dev/v1/url-to-markdown

Url to markdown and web page to markdown: scrape a url, fetch a url, and extract article text as clean readable Markdown for LLM context. POST JSON {"url": "https://..."}. Does not run JavaScript. PageText at pagetext.apexlabs-cloudflare.workers.dev, not pagetext.yashil.workers.dev.

BaseAnswering
POSThttps://pagetext.apexlabs-cloudflare.workers.dev/v1/url-to-markdown

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://pagetext.apexlabs-cloudflare.workers.dev/v1/url-to-markdown", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://example.com/article"}),
});
console.log(await res.json());

Example input

{
  "url": "https://example.com/article"
}

More from PageTextProvider status