# link-rel-alternate-hreflang

> link-rel-alternate-hreflang 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-11-21).

Extracts all rel='alternate' hreflang link elements from a page, returning each href resolved to an absolute URL along with its hreflang attribute value and a total count

## Facts

- Endpoint: GET https://site.intel.rallylive.ca/site/link-rel/alternate-hreflang?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/link-rel-alternate-hreflang-25e7caf1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QVTK2wrKBt7YyovnChe2O

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-alternate-hreflang-25e7caf1
```

Example prompt: Can you fetch https://example.com/about and extract all of its rel='alternate' hreflang link tags, giving me the resolved absolute URLs and which language/region each one targets?

## When to prefer this

Choose this endpoint when you specifically need hreflang-qualified alternate links (i.e. language/region variants) rather than all alternate links in general. Use it for internationalization audits, multilingual SEO checks, or building a map of localized page versions. Prefer the sibling link-rel-alternate endpoint if you want all alternate links regardless of hreflang attribute presence.

## Known failure modes

- Page returns non-200 status — no links extracted
- Page has no rel='alternate' hreflang tags — returns empty list with count 0
- URL is malformed or unreachable — request fails
- Page requires JavaScript rendering — statically served links only may be returned
- Relative href values that cannot be resolved to absolute URLs may be omitted

## How this service works

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

## Output

Returns a list of all <link> and <a> elements matching rel='alternate' that also carry an hreflang attribute, each with its href resolved to an absolute URL and the hreflang value, plus a total count of matching elements 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/link-rel-alternate-hreflang-25e7caf1/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)
