# extract-buttons-as-text

> extract-buttons-as-text is a paid API for AI agents from page.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Fetches a web page and extracts all button elements, returning them as plain text lines with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/buttons/text?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-buttons-as-text-ea9847a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QgBJdGUztrivh-7AiNCUS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability extract-buttons-as-text-ea9847a4
```

Example prompt: Can you fetch https://example.com/signup and extract all the button text on that page, returning them as plain lines with a count?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/extract-buttons-as-text-ea9847a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from page.intel.rallylive.ca](https://www.zero.xyz/host/page.intel.rallylive.ca/llms.txt)
