{"uid":"cap_js9tWy1sDJJZRfEqrSA68","slug":"agentshelf-css-external-link-extractor-2457131a","name":"AgentShelf CSS External Link Extractor","description":"Call when an agent needs blank-target anchor hrefs via a[target='_blank'] from a public page or HTML (SSRF-safe). Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/css-external first.","url":"https://agentshelf.syntexa.ch/v1/css-external?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.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uKFkWfLpDP1GdWrAQXsuy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts blank-target anchor hrefs (a[target='_blank']) from a public webpage URL or raw HTML, with SSRF protection.","exampleAgentPrompt":"Can you extract all the blank-target external links from https://example.com/resources — I need every href from anchor tags with target='_blank' on that page.","exampleUseCases":[{"title":"Audit outbound links on landing page","prompt":"Pull all the external links that open in a new tab from our landing page at https://acme.com — I want to see every href with target='_blank' so I can audit where we're sending visitors."},{"title":"Extract partner links from HTML content","prompt":"I have some raw HTML from a partner directory page — can you parse it and give me all the anchor hrefs that have target='_blank' set? Here's the HTML: <div>..."},{"title":"Monitor third-party links on blog post","prompt":"Check https://myblog.com/post/top-tools and give me all the outbound links that open in a new tab — I want to make sure none of them are going to broken or sketchy sites."}],"resultDescription":"Returns a list of href attribute values from all anchor elements with target='_blank' found in the provided URL's page or raw HTML content. Results are SSRF-safe, meaning server-side request forgery attack vectors are mitigated.","failureModes":["URL is unreachable or returns non-200 status — endpoint may return an error or empty result","URL points to a private/internal network address — blocked by SSRF protection","HTML input exceeds 200,000 character limit — request rejected","No blank-target anchors found on the page — returns empty list","Malformed HTML may cause incomplete or unexpected parsing results"],"whenToPreferThis":"Use this endpoint when you need to specifically extract external links that open in new tabs (a[target='_blank']) from a public URL or raw HTML. It is SSRF-safe, making it suitable for agent pipelines that process user-supplied URLs. Prefer the unpaid POST /v1/sandbox/css-external endpoint first if available; fall back to this paid endpoint when 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-02T02:15:54.741Z","isFirstParty":false,"canonicalSlug":"agentshelf-css-external-link-extractor-2457131a"}