W

Workers · WEB Crawl

by Workers

POSTBase

$0.003

per call · USD Coin on Base

Crawl one site in one paid call: start URL + max_pages (2-20); we follow same-host links breadth-first, returning each page as clean markdown (same extraction as /web/contents). Priced at $0.001 per requested page, quoted as max_pages up front — finding fewer pages is still a complete delivery. Failed pages are skipped and listed in skipped[]; the call still settles. Only an unreadable start page is a 400, no charge. USDC on Base, no account, no API key.

Endpoint

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

1

Calls / 30d

1

Unique payers / 30d

Aug 21

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

Example response

{
  "crawled_at": "2026-07-30T08:00:00.000Z",
  "pages": [
    {
      "content": "# Example Domain\n\nThis domain is for use in illustrative examples, with a [More information](https://example.com/more) link.",
      "content_chars": 120,
      "final_url": "https://example.com/",
      "title": "Example Domain",
      "truncated": false,
      "url": "https://example.com/"
    }
  ],
  "pages_charged": 3,
  "pages_crawled": 1,
  "skipped": [],
  "start_url": "https://example.com/"
}

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