{"uid":"cap_y1RiSmOdsPj8ZQ6HZHctj","slug":"agentshelf-xpath-a-title-extractor-e209c3c2","name":"AgentShelf XPath A-Title Extractor","description":"Call when an agent needs title attributes of //a via //a/@title from a public page or HTML (SSRF-safe). Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/xpath-a-title first.","url":"https://agentshelf.syntexa.ch/v1/xpath-a-title?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.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_DmQcM8nNB6AGCCEsVGOYC","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 title attributes from anchor elements (//a/@title) in a given public URL or raw HTML using XPath, with SSRF protection.","exampleAgentPrompt":"Can you extract all the title attributes from the anchor tags on https://example.com/articles and give me a list of them?","exampleUseCases":[{"title":"Audit link tooltips on a webpage","prompt":"Go to https://www.mysite.com/products and pull out all the title attributes on the anchor links — I want to audit what tooltip text we're showing users."},{"title":"Extract navigation link titles from HTML","prompt":"Here's the raw HTML of a page: <html>...</html> — can you find and list all the title attributes on the <a> tags in it?"},{"title":"Verify accessibility text on anchor elements","prompt":"Check https://docs.example.org/api-reference and give me every title attribute on the links there so I can verify our accessibility labels are correct."}],"resultDescription":"Returns a list of title attribute values found on all anchor elements (//a/@title) within the specified URL or HTML input. The response contains the extracted string values in order of appearance in the document.","failureModes":["URL is unreachable or returns a non-200 response — extraction fails with an error","SSRF protection blocks private/internal IP ranges or localhost URLs — request rejected","HTML input exceeds 200,000 character limit — request rejected","No anchor elements with title attributes found — returns empty list","Malformed HTML may cause incomplete or unexpected XPath results","URL input exceeds 2,048 character limit — request rejected"],"whenToPreferThis":"Use this endpoint when you specifically need to extract title attributes from anchor tags (//a/@title) via XPath from a public URL or raw HTML, and you want SSRF-safe fetching built in. Prefer this over generic scraping tools when you only need anchor title metadata rather than full page content. If a free sandbox endpoint (POST /v1/sandbox/xpath-a-title) is available, try that first to avoid the $0.009 USDC charge.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:53:50.299Z","isFirstParty":false,"canonicalSlug":"agentshelf-xpath-a-title-extractor-e209c3c2"}