{"uid":"cap_HuGszRsPxkEzBMHQIAIfr","slug":"css-link-rel-extractor-ad2146df","name":"CSS Link Rel Extractor","description":"Call when an agent needs link rel values via link[rel] from a public page or HTML (SSRF-safe). Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/css-link-rel first.","url":"https://agentshelf.syntexa.ch/v1/css-link-rel?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"description":"Public page to fetch. The selector or profile is fixed by the SKU. Provide url or html."},"html":{"type":"string","examples":["<!doctype html><html lang=\"en\"><head><title>Hello</title>\n<meta charset=\"utf-8\"><meta name=\"description\" content=\"Desc\">\n<link rel=\"canonical\" href=\"https://example.com/\"><link rel=\"icon\" href=\"/favicon.ico\">\n</head><body><h1>Hello</h1><a href=\"https://example.com/a\">A</a></body></html>"],"maxLength":200000,"minLength":1,"description":"HTML to extract from locally. Provide html or url. When both are set, html is used."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3ifHuOgfiDN-zJq8eXWsN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts link[rel] attribute values from a public webpage or raw HTML using CSS selector parsing, with SSRF protection.","exampleAgentPrompt":"Can you pull all the link[rel] values from https://example.com — I want to see things like canonical, stylesheet, and alternate links declared in the page head?","exampleUseCases":[{"title":"SEO canonical tag audit","prompt":"Check https://myblog.com/article-123 and tell me what link rel tags are in the page head — specifically looking for canonical and alternate entries."},{"title":"Stylesheet and preload discovery","prompt":"Fetch https://shop.example.com and extract all the link[rel] values so I can see which stylesheets and preloaded resources the page declares."},{"title":"HTML snippet link rel parsing","prompt":"I have this chunk of HTML from a scrape — can you parse it and pull out all the link rel attribute values for me? Here's the HTML: <html><head><link rel='canonical' href='...'><link rel='stylesheet' href='...'></head></html>"}],"resultDescription":"Returns the extracted link[rel] attribute values found in link elements within the provided URL or HTML, allowing the agent to inspect declared page relationships such as canonical, alternate, stylesheet, preload, and other link relation types.","failureModes":["URL is inaccessible or returns non-200 status — extraction fails with an error","SSRF protection blocks internal/private IP ranges — request rejected","HTML exceeds 200,000 character limit — input truncation or rejection","No link[rel] elements found in the page — empty result returned","Malformed HTML prevents CSS selector parsing — partial or empty results","URL parameter missing and HTML parameter also absent — validation error"],"whenToPreferThis":"Use this endpoint when you need to extract link[rel] attribute values from a live public URL or a raw HTML string and want SSRF-safe fetching built in. Prefer the free sandbox POST /v1/sandbox/css-link-rel first for testing; use this paid endpoint when the sandbox is unavailable or you need production reliability. Choose this over general-purpose scraping tools when you specifically need link element relationship data parsed via CSS selectors.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:33.361Z","isFirstParty":false,"canonicalSlug":"css-link-rel-extractor-ad2146df"}