81trust / 100
Web Read
by web-page-to-text in Search & web
x402 APIPassing, checked 3 h ago
Fetch URL content as Markdown: read any web page and get clean Markdown - navigation, ads and boilerplate stripped, links resolved, plus a real token count. The same extraction /search uses on result pages, exposed standalone for a URL you already have. Try GET /web-read/sample. Part of the AgentIndex content kit (pdf, web-read, extract, summarize, detect-language) - see GET /capabilities.
POST https://x402.agentindex.world/web-read
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 45 ms typical, 45 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://x402.agentindex.world/web-read" \
-H "content-type: application/json" \
-d '{"url":"https://www.w3.org/"}'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%2Fx402.agentindex.world%2Fweb-read
const res = await pay("https://x402.agentindex.world/web-read", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://www.w3.org/"}),
});
console.log(await res.json());Example input
{
"url": "https://www.w3.org/"
}Example output
{
"markdown": "# World Wide Web Consortium (W3C)\n\nThe W3C mission is to lead the web to its full potential.",
"title": "World Wide Web Consortium (W3C)",
"token_count": 154,
"url": "https://www.w3.org/"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 45 ms | $0.002 |
| 8 h ago | Passed | 402 | 62 ms | $0.002 |