80trust / 100

Web Extract

by web-extract in Search & web

x402 APIPassing, checked 23 min ago

Extrae el contenido de una URL y lo devuelve limpio en Markdown/HTML para el contexto de un LLM.

POST https://xl402.agentsats.org/v1/web-extract

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
282 ms typical, 282 ms slowest 5%
Last check
23 min ago
Next check
in 6 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://xl402.agentsats.org/v1/web-extract" \
  -H "content-type: application/json" \
  -d '{"format":"markdown","only_main_content":true,"timeout_ms":15000,"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%2Fxl402.agentsats.org%2Fv1%2Fweb-extract
const res = await pay("https://xl402.agentsats.org/v1/web-extract", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"format":"markdown","only_main_content":true,"timeout_ms":15000,"url":"https://example.com"}),
});
console.log(await res.json());

Example input

{
  "format": "markdown",
  "only_main_content": true,
  "timeout_ms": 15000,
  "url": "https://example.com"
}

Example output

{
  "content": "# Example Domain\n\nThis domain is for use in illustrative examples…",
  "fetched_at": "2026-06-13T00:00:00.000Z",
  "final_url": "https://example.com/",
  "format": "markdown",
  "metadata": {
    "language": "en",
    "status_code": 200,
    "title": "Example Domain"
  },
  "requested_url": "https://example.com",
  "usage": {
    "credits": 1,
    "provider": "firecrawl"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
23 min agoPassed4021.8 s$0.02
4 h agoPassed402282 ms$0.02
9 h agoPassed402234 ms$0.02