{"uid":"cap_gCyAZQp4LxQl_JvhQ-7o-","slug":"agentshelf-syntexa-ch-xpath-icon-href-extractor-5aa49073","name":"agentshelf.syntexa.ch XPath Icon Href Extractor","description":"Call when an agent needs href of link rel exactly icon via //link[@rel='icon']/@href from a public page or HTML (SSRF-safe). Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/xpath-icon-href first.","url":"https://agentshelf.syntexa.ch/v1/xpath-icon-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 name=\"description\" content=\"Desc\"><meta property=\"og:title\" content=\"OG\">\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.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nNw_7mu7N7vpbFsNxK4mo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the href attribute of the first link element with rel='icon' from a public webpage or raw HTML using XPath","exampleAgentPrompt":"Can you extract the favicon href — the link with rel='icon' — from https://example.com and tell me the URL it points to?","exampleUseCases":[{"title":"Favicon extraction for brand audit","prompt":"I need to find the favicon URL from stripe.com — can you pull the href from its link rel='icon' tag?"},{"title":"Icon href from raw HTML snippet","prompt":"I have some raw HTML here and I want to know what the icon link href is — can you extract the link rel icon href from this HTML? <html><head><link rel='icon' href='/favicon.ico'/></head></html>"},{"title":"Automated site metadata collection","prompt":"For each of these competitor sites, I need the icon href from their homepage — start with shopify.com and extract the link rel='icon' href value."}],"resultDescription":"Returns the href attribute value from the first <link rel='icon'> element found on the page or in the provided HTML, such as '/favicon.ico' or 'https://example.com/icon.png'.","failureModes":["No link rel='icon' element found — returns null or empty result","URL is unreachable or returns non-200 status — fetch error","HTML exceeds 200,000 character limit — input too large error","URL is blocked due to SSRF safety rules — access denied","Malformed URL input — validation error"],"whenToPreferThis":"Use this endpoint when you specifically need the href of a <link rel='icon'> element via XPath from a public page or raw HTML. It is SSRF-safe, making it suitable for untrusted URLs. Prefer the free sandbox variant (/v1/sandbox/xpath-icon-href) first if available; use this paid endpoint when the sandbox is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:51:35.573Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-xpath-icon-href-extractor-5aa49073"}