# extract-title-as-json

> extract-title-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 returns all title elements as a structured JSON array with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/title/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-title-as-json-988cee9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BzA2Cs2c81NkannVuqf0q

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-title-as-json-988cee9a
```

Example prompt: Can you fetch the page title from https://example.com and give me the result as a JSON array?

## When to prefer this

Choose this endpoint when you need a clean, structured JSON representation of a page's title element(s) without standing up a browser or full scraper. Ideal for agent pipelines, metadata enrichment workflows, and SEO auditing tasks where downstream systems consume JSON directly. Prefer this over text or CSV variants when your pipeline expects JSON. Use it over a full-page scraper when you only need the title and want minimal cost and latency.

## Known failure modes

- URL is unreachable or returns non-200 status — endpoint may return an error or empty array
- Page has no title element — returns empty array with count of 0
- Malformed or inaccessible URL input — request fails with error response
- Paywalled or bot-blocked pages may return unexpected content
- Network timeout if the target page loads slowly

## How this service works

Extract the page's title as json: fetches the URL, pulls every title 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 object containing an array of all title elements found on the fetched page, plus a count of how many were found. Typically a single-element array for standard web pages, but handles edge cases with multiple title tags.

## 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-title-as-json-988cee9a/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)
