{"uid":"cap_zVrfuyf5cHgYkvvJpcOyE","slug":"forms-term-context-excerpts-4c23a9c4","name":"Forms — Term Context Excerpts","description":"Forms — Term context excerpts: Term context excerpts 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 term context excerpts result.","url":"https://market.datapackvibe.com/x402/assistant-bx-web-forms-contexts?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_PfTrp7WCYIUt9LJhOSt0A","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 contextual text excerpts surrounding a specified term from HTML form elements on a web page or supplied HTML.","exampleAgentPrompt":"Find where the word 'shipping' appears in context within the checkout form (id='checkout-form') on https://example.com/checkout — pull out the surrounding text snippets from those form elements.","exampleUseCases":[{"title":"Audit form field labels for keyword","prompt":"Go to https://shop.example.com/register and find all the text around the word 'email' in the form with id 'signup-form' — I want to see the context snippets so I can audit how that term is used."},{"title":"Extract help text around a term","prompt":"Pull the context excerpts for the term 'required' from this HTML I'm pasting: it's a multi-step form and I want to see every place that word appears near form elements."},{"title":"Verify terminology in a compliance form","prompt":"Check https://apply.lender.com/loan-app for the term 'consent' inside the form element with the data-kind attribute set to 'disclosure', and give me all the surrounding text excerpts."}],"resultDescription":"Returns bounded text excerpts showing the surrounding context for each occurrence of the specified term within HTML form elements on the target page or supplied HTML, limited to one result set per call.","failureModes":["URL is unreachable or returns a non-200 status — no content extracted","Page requires JavaScript rendering — static parser returns empty or incomplete results","Term not found in any form element — returns empty excerpts","HTML exceeds 100,000 character limit — request rejected","Term parameter missing or too short — validation error","Attribute pattern does not match allowed format — validation error"],"whenToPreferThis":"Choose this endpoint when you need to find and extract contextual text snippets around a specific term within HTML form elements, using static HTML parsing without JavaScript execution. It is purpose-built for forms (not arbitrary page content) and is cost-efficient at $0.01 per call. Prefer it over general web scrapers when the target content is specifically inside form tags and you need term-in-context excerpts rather than full-page extraction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:15.595Z","isFirstParty":false,"canonicalSlug":"forms-term-context-excerpts-4c23a9c4"}