80trust / 100

Batch Extract

by fetchwerk Web Extraction in Search & web

x402 APIPassing, checked 3 h ago

Extract up to ten URLs in one paid call.

POST https://fetch.netzhandwerker.de/batch/extract

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://fetch.netzhandwerker.de/batch/extract" \
  -H "content-type: application/json" \
  -d '{"format":"markdown","urls":["https://example.com/a","https://example.com/b"]}'
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffetch.netzhandwerker.de%2Fbatch%2Fextract
const res = await pay("https://fetch.netzhandwerker.de/batch/extract", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"format":"markdown","urls":["https://example.com/a","https://example.com/b"]}),
});
console.log(await res.json());

Example input

{
  "format": "markdown",
  "urls": [
    "https://example.com/a",
    "https://example.com/b"
  ]
}

Example output

{
  "failed_count": 1,
  "items": [
    {
      "ok": true,
      "title": "A",
      "url": "https://example.com/a",
      "word_count": 420
    },
    {
      "error": "fetch_failed",
      "ok": false,
      "url": "https://example.com/b"
    }
  ],
  "ok_count": 1
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402240 ms$0.008