# extract-sentences-as-json

> extract-sentences-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 and extracts all sentences as a structured JSON array with a count, no browser required.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/sentences/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-sentences-as-json-b4dfa9de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n-X0Q91xpaOk8YxxrlVjL

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-sentences-as-json-b4dfa9de
```

Example prompt: Can you pull all the sentences from this page — https://example.com/article — and give them back to me as a JSON array with a count?

## When to prefer this

Choose this endpoint when you need a clean, structured JSON list of every sentence from a web page without setting up a browser or scraping infrastructure. It is ideal for NLP preprocessing, content auditing, or agent pipelines that need sentence-level text from arbitrary URLs at low cost ($0.01/page). Prefer it over full-page scrapers when you only need sentences, not HTML structure, links, or other element types.

## Known failure modes

- URL is unreachable or returns non-200 status — likely returns an error or empty array
- Page has no identifiable sentences (e.g. media-only or JS-rendered content) — returns empty array with count 0
- Invalid or malformed URL provided — returns error response
- Rate limiting or blocked access by the target site — fetch may fail
- Very large pages may cause timeouts or truncated results

## How this service works

Extract the page's sentences as json: fetches the URL, pulls every sentences 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 sentences found on the fetched web page, accompanied by a total sentence count. Each element in the array represents one extracted sentence from the page content. No browser or JavaScript rendering is required.

## 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-sentences-as-json-b4dfa9de/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)
