# link-rel-dns-prefetch

> link-rel-dns-prefetch is a paid API for AI agents from site.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Extracts all dns-prefetch link relationships from a web page, returning resolved absolute URLs and a count

## Facts

- Endpoint: GET https://site.intel.rallylive.ca/site/link-rel/dns-prefetch?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/link-rel-dns-prefetch-11c3b8c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bxfVE3SS4YoVdEQi8s_c9

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 link-rel-dns-prefetch-11c3b8c4
```

Example prompt: Can you find all the dns-prefetch link relationships on https://example.com and give me the full list of resolved URLs it's prefetching DNS for?

## When to prefer this

Use this endpoint when you need to specifically discover DNS prefetch resource hints declared in a page's HTML, for tasks like auditing third-party dependencies, understanding a site's performance optimization strategy, or building an inventory of external domains a site preloads. Prefer this over generic link extractors when your focus is strictly on the dns-prefetch relationship type.

## Known failure modes

- Page URL not provided or malformed — request fails with input validation error
- Target page returns non-200 HTTP status — no links extracted
- Target page has no dns-prefetch link elements — returns empty list with count 0
- Target page blocks scraping via bot detection — may return empty or error
- Relative hrefs that cannot be resolved to absolute URLs may be skipped

## How this service works

The rel="dns-prefetch" links of a page: every matching <link>/<a> with href, resolved to absolute URLs, with a count. Link-relationship discovery. $0.01 per page.

## Output

A list of all <link rel='dns-prefetch'> and matching <a> elements found on the page, with each href resolved to an absolute URL, plus a total count of matching links.

## 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/link-rel-dns-prefetch-11c3b8c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from site.intel.rallylive.ca](https://www.zero.xyz/host/site.intel.rallylive.ca/llms.txt)
