# Extract PDF Links from Web Page as JSON

> Extract PDF Links from Web Page 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 URL and extracts all PDF hyperlinks from the page, returning them as a structured JSON array with a count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/pdf-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-pdf-links-from-web-page-as-json-82e9618c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OnGUDA27dxKDfWK9Q6XYk

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-pdf-links-from-web-page-as-json-82e9618c
```

Example prompt: Can you extract all the PDF links from this page for me: https://example.com/resources — I need them as a JSON list so I can process them downstream.

## When to prefer this

Choose this endpoint when you need a structured, machine-readable JSON list of PDF links from a specific web page without setting up a browser or scraping infrastructure. It is ideal for agent pipelines, document discovery workflows, or compliance auditing where you need only PDF links (not all links, not page text) in a clean, countable JSON format at minimal cost ($0.01/call).

## Known failure modes

- Page returns non-200 HTTP status (e.g. 404, 403) — endpoint may return an error or empty result
- Page has no PDF links — returns an empty JSON array with count 0
- Target URL requires JavaScript rendering — since no browser is used, dynamically loaded PDF links may be missed
- Target URL is behind authentication or a paywall — links may not be accessible
- Malformed or redirect-heavy URLs may result in fetch failures

## How this service works

Extract the page's pdf links as json: fetches the URL, pulls every pdf 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 PDF hyperlink URLs found on the fetched page, accompanied by a total count of discovered PDF links. Each element in the array represents one PDF 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-pdf-links-from-web-page-as-json-82e9618c/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)
