W

Workers · WEB Contents

by Workers

POSTBase

$0.003

per call · USD Coin on Base

Read any web page as clean LLM-ready markdown for $0.003 — the natural companion to /web/search. Send a URL, get back the readable core: title, headings, paragraphs, lists and links, stripped of scripts, styles, navigation and other boilerplate. Choose markdown or plain text and cap the size with max_chars (default 20000; a truncated flag tells you when the cut hit). Unreachable or non-HTML targets cost nothing. Pay per call in USDC, no account, no API key.

Endpoint

POST https://agentdata-api.sander-van-aard.workers.dev/web/contents

2

Calls / 30d

1

Unique payers / 30d

Sep 7

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://agentdata-api.sander-van-aard.workers.dev/web/contents", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "format": "markdown",
    "url": "https://example.com/article"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agentdata-api.sander-van-aard.workers.dev/web/contents" \
  -H "Content-Type: application/json" \
  -d '{"format":"markdown","url":"https://example.com/article"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "content": "# Example article\n\nThe readable core of the page, as markdown with [links](https://example.com/more) preserved.",
  "content_chars": 110,
  "fetched_at": "2026-07-29T08:00:00.000Z",
  "final_url": "https://example.com/article",
  "format": "markdown",
  "title": "Example article",
  "truncated": false,
  "url": "https://example.com/article"
}

Payment details

Pay to0xb0ae6a9bd7a573ddda58db6c28622417e8ca2099
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 Workers & similar services