{"uid":"cap_QgBJdGUztrivh-7AiNCUS","slug":"extract-buttons-as-text-ea9847a4","name":"extract-buttons-as-text","description":"Extract the page's buttons as text: fetches the URL, pulls every buttons element and returns them as plain lines, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/buttons/text?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_olrMSUAqbWhxNtSM29y3X","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":"Fetches a web page and extracts all button elements, returning them as plain text lines with a count","exampleAgentPrompt":"Can you fetch https://example.com/signup and extract all the button text on that page, returning them as plain lines with a count?","exampleUseCases":[{"title":"Auditing CTA buttons on a landing page","prompt":"Go to https://acme.com/pricing and pull out every button on the page as plain text so I can see what calls-to-action they're using."},{"title":"Comparing button labels across competitor sites","prompt":"Fetch https://competitor.com/checkout and extract all the button text — I want to see what labels they use on their checkout flow."},{"title":"Verifying form buttons in a QA pipeline","prompt":"Check https://myapp.io/register and list all the button elements as text lines so I can verify the expected 'Sign Up' and 'Cancel' buttons are present."}],"resultDescription":"A plain-text response containing each button's text on its own line, plus a total count of buttons found on the page. No HTML, no browser required — structured for easy parsing in agent pipelines.","failureModes":["URL is unreachable or returns a non-200 status — extraction fails with an error","Page has no button elements — returns empty list with count of 0","URL is missing from the request — returns a validation error","Page uses JavaScript-rendered buttons not in static HTML — buttons may not be detected","Rate limiting or network timeout on the target URL — returns a fetch error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, serverless extraction of button text from a static or server-rendered HTML page without spinning up a browser. It is ideal for agent pipelines and automation workflows that need a quick, cheap ($0.01) structured pull of button labels — especially useful for UI audits, QA checks, and competitor analysis where only buttons matter and you don't need full-page content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:54.234Z","isFirstParty":false,"canonicalSlug":"extract-buttons-as-text-ea9847a4"}