75trust / 100
Url Metadata
by utilsforagents.com in News & content
x402 APIPassing, checked 3 h ago
Fetch a URL and extract structured metadata from its HTML: title, description, canonical URL, language, favicon URL, RSS/Atom feed links, Open Graph tags (og:title, og:image, og:type, og:description, og:url), Twitter Card tags, and other meta tags (author, keywords, robots). Use this to get Open Graph data, preview cards, or site information without parsing HTML yourself. Send {"url": "https://..."}. Remote fetch timeout: 5s, max download size: 2 MB.
POST https://utilsforagents.com/v1/url/metadata
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 591 ms typical, 637 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://utilsforagents.com/v1/url/metadata" \
-H "content-type: application/json" \
-d '{"url":"https://quotes.toscrape.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%2Futilsforagents.com%2Fv1%2Furl%2Fmetadata
const res = await pay("https://utilsforagents.com/v1/url/metadata", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://quotes.toscrape.com"}),
});
console.log(await res.json());Example input
{
"url": "https://quotes.toscrape.com"
}Example output
{
"metadata": {
"canonical": "https://quotes.toscrape.com",
"description": "This domain is for use in illustrative examples.",
"favicon": "https://quotes.toscrape.com/favicon.ico",
"feeds": [],
"language": "en",
"meta": {},
"openGraph": {
"title": "Example Domain",
"type": "website"
},
"title": "Example Domain",
"twitterCard": {}
},
"ok": true,
"processingTimeMs": 95,
"sourceUrl": "https://quotes.toscrape.com"
}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 | 637 ms | $0.003 |
| 7 h ago | Passed | 402 | 370 ms | $0.003 |
| 10 h ago | Passed | 402 | 597 ms | $0.003 |
| 14 h ago | Passed | 402 | 476 ms | $0.003 |
| 17 h ago | Passed | 402 | 622 ms | $0.003 |
| 21 h ago | Passed | 402 | 589 ms | $0.003 |
| 25 h ago | Passed | 402 | 406 ms | $0.003 |
| 28 h ago | Passed | 402 | 384 ms | $0.003 |
| 32 h ago | Passed | 402 | 591 ms | $0.003 |
| 35 h ago | Passed | 402 | 661 ms | $0.003 |
| 41 h ago | Passed | 402 | 611 ms | $0.003 |