82trust / 100

Web Extract

by agentbit.app in Search & web

x402 APIPassing, checked 4 h ago

Fetch any public URL and return clean, structured content: title, meta description, main text, markdown, headings, outbound links and page metadata. Removes scripts, navigation and boilerplate. Ideal for reading articles, docs and product pages before reasoning over them.

POST https://agentbit.app/v1/web/extract

Last 30 days

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

How to call it

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

Example input

{
  "include_links": true,
  "url": "https://example.com"
}

Example output

{
  "description": null,
  "headings": [
    {
      "level": 1,
      "text": "Example Domain"
    }
  ],
  "links": [
    {
      "text": "More information...",
      "url": "https://www.iana.org/domains/example"
    }
  ],
  "markdown": "# Example Domain\n\nThis domain is for use in illustrative examples…",
  "metadata": {
    "viewport": "width=device-width, initial-scale=1"
  },
  "text": "Example Domain This domain is for use in illustrative examples in documents.",
  "title": "Example Domain",
  "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
4 h agoPassed402231 ms$0.005