Skip to content
Fourohtwo

URL to Markdown

api.strale.io/x402/url-to-markdown

URL to Markdown: Turn a web page into clean Markdown: the main content, without navigation, ads or boilerplate. Handles static pages and pages built with JavaScript.

BaseAnswering
GEThttps://api.strale.io/x402/url-to-markdown

Uptime100% 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://api.strale.io/x402/url-to-markdown?include_images=%3Cinclude_images%3E&include_links=%3Cinclude_links%3E&url=%3Curl%3E");
console.log(await res.json());

Example input

{
  "include_images": {
    "type": "boolean"
  },
  "include_links": {
    "type": "boolean"
  },
  "url": {
    "description": "URL to convert",
    "required": true,
    "type": "string"
  }
}