Skip to content
Fourohtwo

x402-gateway.blackwoodstate8.workers.dev/v1/web-markdown

Use when you need web page to markdown, url to markdown, to scrape a web page or extract content from a url for an LLM. Do not use for pages that need JavaScript to render, sit behind a login or paywall, or are not HTML (PDFs go to blackwood_pdf_extract). Returns JSON with the clean Markdown of a public web page (URL to Markdown, boilerplate stripped) plus its title, description, language, canonic

BaseAnswering
POSThttps://x402-gateway.blackwoodstate8.workers.dev/v1/web-markdown

Uptime100% of 5 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://x402-gateway.blackwoodstate8.workers.dev/v1/web-markdown", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"maxChars":500,"url":"https://httpbin.org/html"}),
});
console.log(await res.json());

Example input

{
  "maxChars": 500,
  "url": "https://httpbin.org/html"
}