{"uid":"cap_Hq1pl9hXlYoWkn81T9eN5","slug":"agentshelf-css-link-href-extractor-2d61569f","name":"AgentShelf CSS Link Href Extractor","description":"Call when an agent needs link hrefs via link[href] from a public page or HTML (SSRF-safe). Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/css-link-href first.","url":"https://agentshelf.syntexa.ch/v1/css-link-href?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.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kwyxefEXDhaBwDOkpYsRH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all href attributes from <link> elements in a public web page or provided HTML, with SSRF protection.","exampleAgentPrompt":"Can you grab all the link[href] values from https://example.com — I want to see every stylesheet and linked resource referenced in the page's <link> tags?","exampleUseCases":[{"title":"Discover CSS stylesheets on a competitor site","prompt":"Go to https://stripe.com and pull out all the href values from its <link> elements — I want to see every CSS file and external resource they're loading."},{"title":"Audit linked resources in pasted HTML","prompt":"Here's some HTML I exported from our CMS — can you extract all the link[href] attributes from it so I can audit what stylesheets and resources it references?"},{"title":"Check what fonts and icons a page loads","prompt":"Fetch https://fonts.google.com and extract all link hrefs so I can see which font and icon resources the page links to in its <head>."}],"resultDescription":"A list of href attribute values from all <link> elements found in the fetched page or provided HTML, such as stylesheet URLs, preload hints, icon paths, and other linked resources.","failureModes":["URL is private/internal (SSRF-blocked) — returns an error rejecting non-public addresses","HTML string exceeds 200,000 character limit — request rejected","URL string shorter than 8 characters or malformed — validation error","Target page returns non-HTML content — may return empty list","Page loads links dynamically via JavaScript — statically parsed hrefs only, dynamic links may be missed","Payment of $0.009 USDC not provided — payment required error"],"whenToPreferThis":"Use this endpoint when you specifically need href values from <link> elements (stylesheets, preloads, icons, canonical URLs) rather than anchor hrefs or other page content. Prefer the free sandbox POST /v1/sandbox/css-link-href first if available; pay this endpoint only when the sandbox is unavailable or rate-limited. Choose this over anchor href extractors when you need linked resources rather than navigation links.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:01:46.340Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-link-href-extractor-2d61569f"}