{"uid":"cap_dEPD2s6RjDjyQ-9aYc3hE","slug":"agentshelf-syntexa-ch-xpath-input-type-extractor-35b69fa3","name":"agentshelf.syntexa.ch XPath Input Type Extractor","description":"Call when an agent needs type attributes of //input via //input/@type from a public page or HTML (SSRF-safe). Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/xpath-input-type first.","url":"https://agentshelf.syntexa.ch/v1/xpath-input-type?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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F7ovC1q0LK_OCI8hTcki7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the `type` attribute values from all `<input>` elements on a public webpage or HTML snippet using the XPath expression `//input/@type`.","exampleAgentPrompt":"Can you extract all the input type attributes from the forms on https://example.com/register — I want to know what kinds of fields they use, like text, email, password, hidden, etc.","exampleUseCases":[{"title":"Analyzing login form field types","prompt":"Look at https://accounts.mysite.com/login and tell me what input types are used in the form — I want to know if there's a password field, a hidden field, or anything unusual."},{"title":"Auditing form accessibility by input types","prompt":"I have this HTML snippet for a checkout form and I need to know all the input type values in it — can you extract them so I can check if the right input types are being used for accessibility?"},{"title":"Detecting hidden inputs on a competitor page","prompt":"Go to https://shop.competitor.com/checkout and extract all the input type attributes — I want to see if they're using hidden fields or any non-standard input types in their checkout flow."}],"resultDescription":"A list of `type` attribute values from all `<input>` elements found on the page or in the provided HTML, such as ['text', 'email', 'password', 'hidden', 'submit']. Returns an empty list if no input elements or type attributes are found.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with an error","SSRF-blocked URLs (private IP ranges, localhost) are rejected for security","HTML exceeds 200,000 character limit — request rejected","Page has no <input> elements or none have a type attribute — returns empty result","Malformed HTML may result in incomplete or empty extraction","URL shorter than 8 characters or longer than 2048 characters rejected by schema validation"],"whenToPreferThis":"Use this endpoint when you specifically need to enumerate the `type` attributes of `<input>` elements on a public page or HTML blob via XPath. It is SSRF-safe and costs only $0.001 USDC per call. Prefer the free sandbox POST /v1/sandbox/xpath-input-type when available. Choose this over generic HTML scrapers when you need a targeted, low-cost extraction of just input type attributes without parsing full DOM structures.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:46:54.258Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-xpath-input-type-extractor-35b69fa3"}