# extract-json-ld-as-text

> extract-json-ld-as-text 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-23).

Fetches a web page URL, extracts all JSON-LD script elements, and returns them as plain text lines with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/json-ld/text?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-json-ld-as-text-2b192d4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8MweqMFTvh4o9pVztwWUf

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-json-ld-as-text-2b192d4b
```

Example prompt: Can you pull all the JSON-LD structured data from https://example.com/product/widget and show it to me as plain text?

## When to prefer this

Choose this endpoint when you need a lightweight, no-browser extraction of JSON-LD structured data from a static or server-rendered web page and want results as plain text lines rather than CSV, JSON, or Markdown. Ideal for agent pipelines that need quick, human-readable structured data output at low cost ($0.01/page). If you need JSON-LD in a different format, sibling endpoints offer CSV output. If you need other element types like meta tags or HTML comments, use the corresponding sibling endpoints.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or empty result
- Page has no JSON-LD elements — returns zero count with empty lines
- URL contains JavaScript-rendered JSON-LD that requires a browser — server-side fetch may miss dynamically injected script tags
- Malformed JSON-LD on the page may cause parsing errors or partial extraction
- Rate limiting or payment failure may block the request

## How this service works

Extract the page's json ld as text: fetches the URL, pulls every json ld element and returns them as plain lines, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.

## Output

A plain-text response containing each JSON-LD element found on the page as individual lines, along with a count of how many JSON-LD elements were extracted. 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-json-ld-as-text-2b192d4b/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)
