Loading...
Loading...
Fetch a public URL and return its title, description, preview image, site name and canonical URL from its meta tags. Called as GET /v1/doc/url-metadata, it takes url and returns bytes, found, title, description. A publishing, chat or bookmarking agent asked to render a link preview needs the card fields without shipping an HTML parser or a headless browser into its runtime. Reading this schema and dry-running the call are free and need no wallet; a real call costs $0.003, paid in USDC on Base over x402.
npx skill4agent add fittings-sh/fittings fittings-doc-url-metadatadoc.url-metadatahttps://fittings.shGET https://fittings.sh/v1/doc/url-metadata| Field | Type | Required | Notes |
|---|---|---|---|
| string | yes | Public http(s) URL |
{
"url": "https://example.com/"
}| Price | $0.003 per call, metered per bytes |
| Source | live fetch of the caller-supplied URL |
| Licence | permissive |
| Attribution | Metadata belongs to the origin publisher |
fittingscall.mjscurl -sO https://fittings.sh/skill/call.mjscurl -s https://fittings.sh/catalog/doc.url-metadata | jq402 Payment Required# Dry run. Prints the quote and pays nothing, because no key is set.
node call.mjs doc.url-metadata url=https://example.com/
# For real: a wallet holding USDC on Base, and nothing else.
export FITTINGS_PRIVATE_KEY=0x...
node call.mjs doc.url-metadata url=https://example.com/FITTINGS_PRIVATE_KEYFITTINGS_MAX_PRICE@x402/core@x402/evmfittingshttps://fittings.sh/catalog/search?q=...