{"uid":"cap_XPqWgdHvuHFASAnGet7_W","slug":"button-labels-term-context-excerpts-77910154","name":"Button Labels — Term Context Excerpts","description":"Button labels — Term context excerpts: Term context excerpts for Button labels. 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-buttons-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><button id=\"sample\" data-kind=\"example\">Example product guide</button></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_gbf-h18rLonH7lRlicAWG","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 context excerpts surrounding a specified term from button labels on a given web page or HTML document.","exampleAgentPrompt":"Search the page at https://example.com/products for any button labels that mention the term 'checkout', focusing on buttons with the id attribute value 'buy-btn', and show me the surrounding text context from each matching button.","exampleUseCases":[{"title":"E-commerce button copy audit","prompt":"Go to https://shop.example.com and extract all button label excerpts that contain the word 'buy' — I want to see the context around each use of that term in the buttons on the page."},{"title":"Accessibility term check on landing page","prompt":"Parse this HTML I'm pasting and find all button labels that include the term 'submit' — give me the surrounding context for each one so I can review the wording."},{"title":"Competitor button messaging research","prompt":"Fetch https://competitor.com/pricing and pull out context excerpts from any button labels that mention 'trial' — I want to see exactly how they phrase those CTAs."}],"resultDescription":"Returns bounded text excerpts showing the context surrounding occurrences of the specified term within button labels found on the provided URL or HTML content. Results are scoped to a single page with static parsing and include one result per call.","failureModes":["Term not found in any button labels — returns empty excerpts","URL is inaccessible, paywalled, or requires JavaScript rendering — parsing fails","HTML content exceeds 100,000 character limit — rejected","Attribute name does not match the pattern ^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$ — validation error","Neither URL nor valid HTML is provided — returns error or empty result","Page has no button elements — returns empty result"],"whenToPreferThis":"Use this endpoint when you need lightweight, cost-effective extraction of term-specific context from button labels on a static HTML page without JavaScript rendering. Ideal for auditing CTA copy, researching competitor button messaging, or validating that a specific term appears in button labels. Prefer this over full-page scrapers when you only care about button elements and want scoped, term-anchored excerpts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T00:52:34.397Z","isFirstParty":false,"canonicalSlug":"button-labels-term-context-excerpts-77910154"}