# Extract Page Paragraphs as JSON

> Extract Page Paragraphs 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 URL and extracts all paragraph elements from the page, returning them as a structured JSON array with a count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/paragraphs/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-page-paragraphs-as-json-2973d624
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WvLECqGZBor7hPfdppeEM

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-page-paragraphs-as-json-2973d624
```

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

## When to prefer this

Choose this endpoint when you need a structured, clean JSON extraction of all paragraph text from a static web page without running a browser. It is ideal for agent pipelines and data workflows that need paragraph-level content specifically, rather than full-page dumps or other element types like headings or tables. Prefer it over general scraping tools when you want deterministic, typed JSON output at low cost ($0.01/page).

## Known failure modes

- URL is unreachable or returns a non-200 status — empty array or error response
- Page has no paragraph elements — returns empty array with count of 0
- Page is JavaScript-rendered and paragraphs are not in static HTML — content may be missing
- Malformed or invalid URL input — request fails with an error
- Rate limiting or payment failure — request rejected before fetching

## How this service works

Extract the page's paragraphs as json: fetches the URL, pulls every paragraphs 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 of all paragraph (<p>) elements found on the fetched page, along with a count of how many paragraphs were extracted. Each array element contains the text content of one paragraph element.

## 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-page-paragraphs-as-json-2973d624/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)
