{"uid":"cap_yxXmEYKFkp8hucl5pX6fS","slug":"css-form-method-extractor-68aa6470","name":"CSS Form Method Extractor","description":"Call when an agent needs form methods via form[method] from a public page or HTML (SSRF-safe). Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/css-form-method first.","url":"https://agentshelf.syntexa.ch/v1/css-form-method?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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CJdte1Lru-4UnfWpowbBH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts the HTTP method attribute from HTML form elements via CSS selector parsing, given a URL or raw HTML.","exampleAgentPrompt":"Can you check what HTTP method the form on this page uses? The URL is https://example.com/contact — I need to know if it submits via GET or POST.","exampleUseCases":[{"title":"Detect form submission method before automation","prompt":"I'm trying to automate form submissions on https://shop.example.com/checkout — can you tell me what HTTP method that form uses so I know how to send my requests?"},{"title":"Audit forms on a web page for method type","prompt":"I have this HTML snippet from our login page and I need to know what method the login form uses — can you parse it and tell me if it's GET or POST?"},{"title":"Verify third-party form configuration","prompt":"Can you check the form method on https://partners.example.org/apply so I can confirm they're using POST and not accidentally exposing data via GET?"}],"resultDescription":"Returns the value of the method attribute from the form element found on the page or in the provided HTML (e.g. 'GET' or 'POST'), extracted via CSS selector matching on form[method].","failureModes":["URL is unreachable or returns non-200 status","HTML contains no form element with a method attribute","Input HTML exceeds 200,000 character limit","URL string is shorter than 8 characters or malformed","SSRF-blocked URL (internal/private IP ranges rejected)","Form element present but method attribute is missing or empty"],"whenToPreferThis":"Choose this endpoint when you need to programmatically determine the HTTP method of an HTML form element from either a live public URL or raw HTML content, especially when SSRF safety is required. Prefer the free sandbox endpoint /v1/sandbox/css-form-method first if available; use this paid endpoint when the sandbox is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:14.357Z","isFirstParty":false,"canonicalSlug":"css-form-method-extractor-68aa6470"}