{"uid":"cap_yqyTcPEn6sugf_ONYHFEv","slug":"extract-buttons-as-json-117a2f99","name":"Extract Buttons as JSON","description":"Extract the page's buttons as json: fetches the URL, pulls every buttons element and returns them as a JSON array, 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/json?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_m-vBQDvXqan4pCy1xc10d","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 a structured JSON array with a count.","exampleAgentPrompt":"Can you pull all the button elements from https://example.com and give me a JSON list of them with a count?","exampleUseCases":[{"title":"Audit CTA buttons on landing page","prompt":"Grab all the buttons from https://acme.com/landing and give me a JSON list so I can audit what calls-to-action they're using."},{"title":"Compare buttons across competitor pages","prompt":"Extract all buttons from https://competitor.com/pricing as JSON so I can see what actions they're offering users on that page."},{"title":"Verify form buttons in QA pipeline","prompt":"Fetch https://myapp.com/checkout and return all the button elements as JSON so I can verify the right submit and navigation buttons are present before we go live."}],"resultDescription":"A JSON array of all button elements found on the fetched page, including their text content and attributes, plus a total count of buttons found.","failureModes":["URL is unreachable or returns a non-200 status — likely returns an error or empty result","Page has no button elements — returns an empty array with count of 0","URL requires JavaScript rendering — since no browser is used, dynamically injected buttons may not be captured","Malformed or inaccessible URL input — returns an error response","Rate limiting or payment failure — call not processed"],"whenToPreferThis":"Choose this endpoint when you need a structured, machine-readable JSON list of button elements from a specific web page without running a browser. It is ideal for agents and pipelines doing UI audits, competitive analysis, or QA checks where only button elements matter and a lightweight, cheap ($0.01) serverless extraction is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:03.102Z","isFirstParty":false,"canonicalSlug":"extract-buttons-as-json-117a2f99"}