81trust / 100
Structured Web Extraction
by Pocket Network in Search & web
x402 APIPassing, checked 39 min ago
Fetch a web page and return structured data: standard fields (title, description, language, h1, OpenGraph, author, published), headings, JSON-LD and a text excerpt. Optional schema picks named fields or applies regexes to the HTML. POST /v1/url with {url}. JavaScript is not executed; pages are cached for 10 minutes. Pay per request in USDC; no account, no API key.
POST https://agent.pocket.network/v1/structured-web-extraction
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 47 ms typical, 47 ms slowest 5%
- Last check
- 39 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent.pocket.network/v1/structured-web-extraction" \
-H "content-type: application/json" \
-d '{"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%2Fagent.pocket.network%2Fv1%2Fstructured-web-extraction
const res = await pay("https://agent.pocket.network/v1/structured-web-extraction", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://example.com"}),
});
console.log(await res.json());Example input
{
"url": "https://example.com"
}Example output
{
"data": {},
"portal": {
"provenance": "third-party-supplier",
"schemaCheck": "passed",
"serviceId": "structured-web-extraction"
}
}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 |
|---|---|---|---|---|
| 39 min ago | Passed | 402 | 187 ms | $0.005 |
| 6 h ago | Passed | 402 | 47 ms | $0.005 |