Skip to content
Fourohtwo

Fetch and convert any webpage to clean markdown

api.weblens.dev/fetch/basic

Fetch and convert any webpage to clean markdown. Fast, no JavaScript rendering. Perfect for static content, articles, and documentation.

BaseDown
POSThttp://api.weblens.dev/fetch/basic

Uptime0.0% 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("http://api.weblens.dev/fetch/basic", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://example.com","cache":true,"timeout":10000,"cacheTtl":3600}),
});
console.log(await res.json());

Example input

{
  "url": "https://example.com",
  "cache": true,
  "timeout": 10000,
  "cacheTtl": 3600
}

More from WebLensProvider status