{"uid":"cap_xzNakVFH_1ShZvouha_Mp","slug":"agentshelf-syntexa-ch-css-anchor-text-extractor-91984502","name":"agentshelf.syntexa.ch CSS Anchor Text Extractor","description":"Call when an agent needs anchor text via a from a public page or HTML (SSRF-safe). Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/css-a-text first.","url":"https://agentshelf.syntexa.ch/v1/css-a-text?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_KYZqjo8L4b2qQ0dZ5cASb","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 anchor text from <a> elements on a public web page or raw HTML using CSS selector targeting, with SSRF protection","exampleAgentPrompt":"Can you grab all the anchor text from the links on https://example.com/blog — I want to see what the hyperlinks say on that page?","exampleUseCases":[{"title":"SEO link audit for a webpage","prompt":"Pull all the anchor text from the links on https://mysite.com/about so I can audit what our internal hyperlinks say."},{"title":"Scrape navigation menu link labels","prompt":"Extract the anchor text from all the links on https://docs.python.org/3/ so I can see how their navigation is labeled."},{"title":"Analyze link text in raw HTML snippet","prompt":"I have this HTML snippet from a news article — can you pull out all the anchor text from the links in it? Here's the HTML: <p>Read more <a href='/story'>full story</a> and <a href='/related'>related coverage</a>.</p>"}],"resultDescription":"Returns an array or list of text strings extracted from <a> anchor elements found within the provided URL or HTML content, using CSS selector targeting. The response reflects the visible hyperlink text on the page.","failureModes":["URL is private/internal or resolves to a metadata address (SSRF blocked)","URL is unreachable or returns non-200 status","HTML is malformed or contains no anchor elements, returning empty results","Input exceeds maximum length (URL > 2048 chars, HTML > 200000 chars)","Payment not provided or insufficient (x402 payment required for paid tier)","URL scheme is unsupported (e.g. file://, ftp://)"],"whenToPreferThis":"Use this endpoint when you need to extract anchor text specifically from <a> elements on a public webpage or raw HTML, and the unpaid sandbox POST /v1/sandbox/css-a-text is unavailable or rate-limited. Prefer the sandbox endpoint for free usage first. Choose this over general text extraction endpoints when you specifically need hyperlink/anchor text rather than body text or other element content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:46:16.766Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-css-anchor-text-extractor-91984502"}