# extract-ids-as-markdown

> extract-ids-as-markdown 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-20).

Fetches a given URL, extracts all HTML element IDs from the page, and returns them as a formatted Markdown list with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/ids/markdown?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-ids-as-markdown-bfe002f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z2ez8apbpv9LszJyGmenz

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-ids-as-markdown-bfe002f0
```

Example prompt: Can you fetch https://example.com and extract all the HTML element IDs from that page, then give me a Markdown list of them with a count?

## When to prefer this

Choose this endpoint when you need a clean, structured Markdown list of HTML element IDs from a specific page without spinning up a headless browser. It is ideal for agent pipelines that need to enumerate anchor targets, map form fields, or audit page structure programmatically. Prefer this over general-purpose scrapers when you specifically want only the IDs attribute values in a ready-to-use Markdown format at low cost ($0.01 per call).

## Known failure modes

- URL is unreachable or returns a non-200 status — no IDs returned, error message indicating fetch failure
- Page has no elements with ID attributes — returns an empty list with a count of 0
- Invalid or malformed URL provided — endpoint may return a parsing or request error
- Page requires JavaScript to render content — since no browser is used, dynamically injected IDs will not be captured
- Rate limiting or network timeout on the target URL — fetch fails with a timeout error

## How this service works

Extract the page's ids as markdown: fetches the URL, pulls every ids element and returns them as a Markdown list, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.

## Output

A Markdown-formatted list of all HTML element IDs found on the fetched page, along with a total count of IDs discovered. The response is plain Markdown, suitable for direct use in agent pipelines or display contexts without requiring a browser.

## 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-ids-as-markdown-bfe002f0/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)
