{"uid":"cap_3p9urkArvH49Nb05jXuzp","slug":"forms-text-length-statistics-ed7e7b73","name":"Forms — Text Length Statistics","description":"Forms — Text length statistics: Text length statistics 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 text length statistics result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-forms-lengths?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_5swqbGl-E6H_HrEEMm-Ap","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":"Analyzes and returns text length statistics for form elements on a given public webpage or supplied HTML, using static parsing without JavaScript rendering.","exampleAgentPrompt":"Analyze the text length statistics for forms on https://example.com/signup — specifically look at elements where the id attribute equals 'registration-form', and compare against these previous texts: ['Old signup label', 'Submit here'].","exampleUseCases":[{"title":"Audit form label lengths on landing page","prompt":"Can you pull text length statistics for the forms on https://mycompany.com/contact — I want to see how long all the form labels and placeholders are, filtering by elements where the class attribute is 'contact-form'."},{"title":"Compare form text across page revisions","prompt":"I updated my signup page HTML and want to compare form text lengths before and after. Here's the new HTML: <!doctype html><html><body><form id=\"signup\">New long label text here</form></body></html> — compare it against my previous texts: ['Short label', 'Old placeholder text'] using the id attribute with value 'signup'."},{"title":"Check form accessibility text lengths","prompt":"For the product page at https://shop.example.com/checkout, can you extract text length statistics for all form elements where the data-kind attribute equals 'checkout-form'? I want to know if any labels are too short to be accessible."}],"resultDescription":"Returns a bounded text length statistics result for form elements found on the specified page or HTML, including measurements of form-related text content matched by the given attribute and value, with comparative context from any supplied previous texts.","failureModes":["URL is not publicly accessible or requires authentication — static parser cannot bypass login","Page relies on JavaScript rendering to populate forms — JS is not executed so dynamically injected forms will be missed","HTML input exceeds 100,000 character limit — request will be rejected","No matching form elements found for the specified attribute/value combination — empty or minimal result returned","URL resolves to non-HTML content (PDF, image, etc.) — parsing will fail or return no results","Malformed HTML attribute pattern not matching regex — request validation error"],"whenToPreferThis":"Use this endpoint when you need lightweight, fast, static text length analysis of HTML form elements on a public webpage or known HTML snippet, without needing JavaScript execution. Ideal for auditing form field labels, placeholders, or other form text for accessibility, consistency, or content quality checks. Best when you have a specific form identified by an HTML attribute (like id or data-kind) and optionally want to track changes against historical text samples.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:47:57.222Z","isFirstParty":false,"canonicalSlug":"forms-text-length-statistics-ed7e7b73"}