web-extract · WEB Extract

by web-extract

POSTBasePolygon

$0.02

per call · USD Coin on Base

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

Endpoint

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

5

Calls / 30d

3

Unique payers / 30d

Sep 5

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://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"
  }),
});
const data = await res.json();
cURL
curl -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"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

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

Payment details

Pay to0x2a373cb1ebb8907a95626c0b0aef47f575a0ab87
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Polygon
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from web-extract & similar services