{"uid":"cap_10qkOCFP3e6NLj27g-8KQ","slug":"forms-element-count-6a8f81d2","name":"Forms — Element Count","description":"Forms — Element count: Element count for Forms. One public HTTPS page or supplied HTML; static parsing, no JavaScript rendering, login or access bypass. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded element count result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-forms-count?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","default":"","maxLength":2048},"html":{"type":"string","default":"<!doctype html><html><head></head><body><form id=\"sample\" data-kind=\"example\">Example product guide</form></body></html>","maxLength":100000},"term":{"type":"string","default":"product","maxLength":100,"minLength":1},"attribute":{"type":"string","default":"id","pattern":"^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$","maxLength":50},"previous_texts":{"type":"array","items":{"type":"string","default":"","maxLength":1000},"default":["Older example"],"maxItems":200,"minItems":0},"attribute_value":{"type":"string","default":"sample","maxLength":200}}},"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_0ri8WFTI9XqPPi_u2GwrG","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":"Counts form elements on a public webpage or supplied HTML using static parsing, returning a bounded element count result.","exampleAgentPrompt":"Can you count how many form elements are on https://example.com/signup — specifically look for forms with the attribute 'id' equal to 'signup-form' and the term 'email'?","exampleUseCases":[{"title":"Audit form count on landing page","prompt":"Count how many form elements are on https://mycompany.com/contact — look for forms with the attribute 'class' and the term 'contact'."},{"title":"Validate HTML snippet form structure","prompt":"I have this HTML snippet and I need to know how many form elements it contains — search for the attribute 'id' with value 'checkout' and the term 'payment': <!doctype html><html><body><form id=\"checkout\">Payment form</form></body></html>"},{"title":"Check competitor site form usage","prompt":"How many forms are on https://competitor.com/register? Look for forms with the attribute 'data-kind' equal to 'registration' and the term 'register'."}],"resultDescription":"A bounded element count result indicating how many form elements were found on the page or in the supplied HTML, based on static parsing with the specified attribute, attribute value, and term filters.","failureModes":["URL is not publicly accessible or returns a non-200 status — parsing will fail or return zero results","JavaScript-rendered forms will not be counted as only static HTML is parsed","HTML exceeds 100,000 character limit — request will be rejected","URL exceeds 2,048 character limit — request rejected","Login-protected or paywalled pages cannot be accessed","Malformed HTML may cause inaccurate counts"],"whenToPreferThis":"Choose this endpoint when you need a fast, lightweight count of form elements on a public webpage or raw HTML without needing full JavaScript rendering. It is ideal for auditing form presence, validating HTML structure, or checking how many forms match a specific attribute or term in a static context. Prefer alternatives if the page requires JavaScript execution, authentication, or dynamic rendering to reveal its forms.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:24.764Z","isFirstParty":false,"canonicalSlug":"forms-element-count-6a8f81d2"}