# extract-lists-as-json

> extract-lists-as-json 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 web page URL and extracts all HTML list elements, returning them as a structured JSON array with a count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/lists/json?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-lists-as-json-99a34272
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CrNV9dGHX4RspCQUBvww8

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-lists-as-json-99a34272
```

Example prompt: Can you grab all the list items from https://example.com/features and give them back to me as a JSON array?

## When to prefer this

Use this endpoint when you need clean, structured JSON output of HTML list elements from a specific page and want a lightweight, no-browser extraction without further processing. Prefer this over the markdown variant when downstream consumers need machine-readable structured data rather than human-readable text. Choose the single-URL version (this endpoint) over the bulk variant when processing one page at a time or when simplicity matters.

## Known failure modes

- URL is unreachable or returns a non-200 status — likely returns an error or empty result
- Page has no list elements — returns an empty array with count of zero
- URL points to a non-HTML resource (PDF, image) — extraction may fail or return empty
- Page behind authentication or bot protection — content may not be accessible

## How this service works

Extract the page's lists as json: fetches the URL, pulls every lists 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.

## Output

A JSON array containing all extracted list elements (both ordered and unordered) found on the target page, along with a count of how many list items were found. No browser is required for retrieval.

## 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-lists-as-json-99a34272/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)
