{"uid":"cap_DN2Wfz8_Pu-yqUyFVAcog","slug":"agentshelf-syntexa-ch-xpath-select-name-7e56c4a8","name":"agentshelf.syntexa.ch XPath Select Name","description":"Call when an agent needs name attributes of //select via //select/@name from a public page or HTML (SSRF-safe). Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/xpath-select-name first.","url":"https://agentshelf.syntexa.ch/v1/xpath-select-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.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_i_91OL1e5BwHZRUpvD3zW","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 the 'name' attribute values of all <select> elements from a given URL or raw HTML using the XPath expression //select/@name","exampleAgentPrompt":"Can you extract all the 'name' attributes from the select/dropdown elements on https://example.com/contact-form so I know what form fields I'm working with?","exampleUseCases":[{"title":"Discover form select fields from URL","prompt":"I need to know the names of all the dropdown fields on the registration form at https://mysite.com/register — can you pull out the name attributes from all the select elements?"},{"title":"Parse select names from raw HTML","prompt":"Here's some HTML from a checkout page — can you tell me the name attributes of every select element in it? I want to know what dropdowns are present so I can automate the form."},{"title":"Audit form dropdowns on product page","prompt":"Check https://shop.example.com/product/42 and list all the name attributes of the select/dropdown inputs — I'm trying to map out the form structure for that product configurator."}],"resultDescription":"A list of name attribute values extracted from all <select> elements found in the provided URL's page source or raw HTML, derived via the XPath expression //select/@name.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with an error","Page contains no <select> elements — returns an empty list","HTML string exceeds 200,000 character limit — request rejected","URL blocked due to SSRF safety restrictions — access denied","Malformed HTML that prevents XPath evaluation — may return empty or partial results","Input too short (under 8 chars for URL) — validation error"],"whenToPreferThis":"Use this endpoint when you need specifically the 'name' attributes of <select> elements from a page or HTML blob, and you want a deterministic, SSRF-safe extraction without needing to run your own XPath engine. Prefer this over general scraping tools when you only need form dropdown names and want a guaranteed structured result. Note the description recommends trying the unpaid sandbox endpoint first (POST /v1/sandbox/xpath-select-name) before paying $0.009 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:15.569Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-xpath-select-name-7e56c4a8"}