{"uid":"cap_TqTLRLSmEVT6BLDP60QqR","slug":"xpath-textarea-name-extractor-b7a4f902","name":"XPath Textarea Name Extractor","description":"Call when an agent needs name attributes of //textarea via //textarea/@name from a public page or HTML (SSRF-safe). Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/xpath-textarea-name first.","url":"https://agentshelf.syntexa.ch/v1/xpath-textarea-name?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.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c4DFesKUwhbVFm2H55Tt2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the name attributes of all textarea elements (via XPath //textarea/@name) from a given public URL or raw HTML string","exampleAgentPrompt":"Can you extract the name attributes of all textarea elements from the HTML form at https://example.com/contact — I need to know what the textarea fields are called?","exampleUseCases":[{"title":"Form field discovery for automation","prompt":"I need to know the name attributes of all textarea inputs on https://myapp.com/feedback so I can build an automated form submission script — can you pull them out for me?"},{"title":"Analyzing raw HTML for textarea names","prompt":"Here's some raw HTML from a page I scraped — can you find and list all the name attributes on textarea elements in it?"},{"title":"Web scraping textarea fields for mapping","prompt":"I'm mapping out the fields on https://portal.example.com/submit — what are the name attributes of the textarea elements on that page?"}],"resultDescription":"A list or array of name attribute values extracted from all //textarea elements found in the provided URL or HTML, delivered as structured data from the XPath query.","failureModes":["URL is unreachable or returns a non-200 response — extraction fails","HTML contains no textarea elements — returns empty result","Page requires JavaScript rendering — static HTML fetch may miss dynamically injected textareas","Input HTML exceeds 200,000 character limit — request rejected","URL blocked by SSRF safety rules — request rejected","Malformed HTML may cause XPath parsing errors"],"whenToPreferThis":"Use this endpoint when you need to specifically extract the name attributes of textarea elements from a page or HTML snippet via XPath, and you want an SSRF-safe, deterministic extraction without spinning up a full browser. Prefer the free sandbox POST /v1/sandbox/xpath-textarea-name first; use this paid endpoint when the sandbox is unavailable or when you need production reliability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:53:48.567Z","isFirstParty":false,"canonicalSlug":"xpath-textarea-name-extractor-b7a4f902"}