F

Fastdb · MD

by Fastdb

POSTBase

$0.005

per call · USD Coin on Base

Scrape any web page: URL to Markdown / HTML to Markdown for LLM context. Readability article extraction strips nav, ads, scripts, and footers while keeping tables and code blocks. Optional render:true executes JavaScript in a headless browser for SPAs (React/Next/Vue).

Endpoint

POST https://md.fastdb.in/md

38

Calls / 30d

3

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://md.fastdb.in/md", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "mode": "article | full",
    "render": "true = execute JavaScript in a real headless browser before converting, for SPAs (React/Next/Vue) that return empty HTML to a plain fetch",
    "url": "https://example.com/article"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://md.fastdb.in/md" \
  -H "Content-Type: application/json" \
  -d '{"mode":"article | full","render":"true = execute JavaScript in a real headless browser before converting, for SPAs (React/Next/Vue) that return empty HTML to a plain fetch","url":"https://example.com/article"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "byline": "Author name or null",
  "markdown": "# Title\n\nBody...",
  "mode": "article",
  "rendered": false,
  "title": "Title",
  "words": 7139
}

Payment details

Pay to0x072f3a2bd93bb75b1eb84a9e45d17a4f90a6d801
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from Fastdb & similar services