# Extract Download Links as JSON

> Extract Download Links 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 download links, returning them as a structured JSON array with a count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/download-links/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-download-links-as-json-3fe94743
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zsOPkMuBlstVBI7DcMbFF

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-download-links-as-json-3fe94743
```

Example prompt: Can you pull all the download links from https://example.com/resources and give me a structured JSON list of them?

## When to prefer this

Choose this endpoint when you need a lightweight, structured JSON extraction of download links from a single page without running a browser. It is ideal for agent pipelines and automation workflows that require clean, machine-readable output. Prefer it over general-purpose scrapers when you specifically want download links isolated as a typed extraction rather than full-page content.

## Known failure modes

- Page is behind authentication or a login wall — returns empty array or access error
- URL is unreachable or returns a non-200 HTTP status — fetch fails
- Page has no download links — returns empty array with count of 0
- Page uses JavaScript-rendered dynamic content — server-side fetch may miss dynamically injected links
- Malformed or invalid URL input — request rejected

## How this service works

Extract the page's download links as json: fetches the URL, pulls every download links 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 download link elements found on the fetched page, accompanied by a total count of discovered links. Each element represents a distinct download link extracted from the page's HTML.

## 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-download-links-as-json-3fe94743/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)
