# extract-json-ld-as-csv

> extract-json-ld-as-csv 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 and extracts all JSON-LD structured data elements, returning them as CSV rows with a count

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/json-ld/csv?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-csv-a0642b27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S5iLVPGT01Nbn_sbu8khO

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-csv-a0642b27
```

Example prompt: Can you extract all the JSON-LD structured data from https://example.com/product-page and give me the results as a CSV?

## When to prefer this

Choose this endpoint when you need JSON-LD structured data from a single web page in a tabular, spreadsheet-friendly format for pipelines, audits, or data ingestion — especially when you don't have a browser available and want clean CSV output. Prefer this over the text or markdown variants when downstream processing requires structured tabular data. Use over general scrapers when you specifically need only JSON-LD (schema.org) blocks, not all page content.

## Known failure modes

- URL is unreachable or returns a non-200 status — empty result or error response
- Page has no JSON-LD elements — returns CSV with zero rows and count of 0
- Malformed JSON-LD on the page — element may be skipped or partially parsed
- Network timeout fetching the target URL — error returned
- Invalid or missing URL query parameter — bad request error

## How this service works

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

## Output

A CSV-formatted response where each row represents one JSON-LD element extracted from the target page, along with a count of how many elements were found. Columns reflect the key-value pairs within each JSON-LD block.

## 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-csv-a0642b27/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)
