# Extract Email Links as JSON

> Extract Email 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-22).

Fetches a web page and extracts all mailto: email links, returning them as a structured JSON array with a count

## Facts

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

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-email-links-as-json-db3caeda
```

Example prompt: Can you pull all the email links from https://www.example.com/contact and give me the results as a JSON list?

## When to prefer this

Choose this endpoint when you need a structured, machine-readable JSON list of email links from a single page without spinning up a browser. It is ideal for agent pipelines or data workflows that need to ingest email contact data programmatically. Prefer this over text or CSV variants when your downstream system expects JSON. Use it when you specifically want email/mailto links, not all anchors or other link types.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an empty array or error
- Page has no email links — returns an empty JSON array with count of 0
- Page blocks headless/server-side fetching (e.g. bot protection) — may return incomplete or empty results
- Invalid or malformed URL input — likely returns an error response
- Page uses JavaScript to render mailto links dynamically — links may not be captured since no browser is used

## How this service works

Extract the page's email links as json: fetches the URL, pulls every email 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 containing every email link (mailto: href) found on the fetched page, along with a numeric count of how many email links were discovered. Each element in the array represents one email link found on the page.

## 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-email-links-as-json-db3caeda/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)
