81trust / 100

Web Crawl

by agentdata-api.sander-van-aard.workers.dev in Search & web

x402 APIPassing, checked 2 h ago

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.002 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.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
38 ms typical, 40 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -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/"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentdata-api.sander-van-aard.workers.dev%2Fweb%2Fcrawl
const res = await pay("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/"}),
});
console.log(await res.json());

Example input

{
  "max_pages": 3,
  "url": "https://example.com/"
}

Example output

{
  "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/"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40236 ms$0.006
5 h agoPassed40238 ms$0.006
8 h agoPassed40240 ms$0.006
13 h agoPassed40259 ms$0.006