# extract-postal-codes-ca-from-page

> extract-postal-codes-ca-from-page 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 URL and extracts all Canadian postal codes found in its text and markup, returning deduplicated results with occurrence counts (up to 300 items).

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/extract/postal-codes-ca?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-postal-codes-ca-from-page-c13efe6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oRh0u3eddS0CPM257kbqG

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-postal-codes-ca-from-page-c13efe6b
```

Example prompt: Can you pull all the Canadian postal codes mentioned on this page — https://example.ca/locations — without me having to parse the HTML myself?

## When to prefer this

Use this endpoint when you need to extract Canadian postal codes from a specific web page without writing custom HTML parsers. It is ideal for agents performing location data enrichment, competitive analysis of Canadian business listings, or building datasets from directory and store-locator pages. Prefer this over general HTML scraping tools when the specific extraction target is Canadian postal codes and you need deduplication and counts out of the box.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or empty result
- Page has no Canadian postal codes — returns an empty list
- Page is JavaScript-rendered and content is not in static HTML — postal codes in dynamic content may be missed
- More than 300 unique postal codes on a page — only the first 300 are returned
- Malformed or missing URL parameter — returns a validation error
- Rate limiting or access restrictions on the target URL — fetch may fail

## How this service works

Extract postal codes ca from a web page: fetches the URL and returns every postal codes ca found in the page text and markup (deduplicated, with counts and up to 300 items), so an agent gets the values without parsing HTML. $0.01 per page.

## Output

A deduplicated list of Canadian postal codes found in the page's text and HTML markup, each with an occurrence count, capped at 300 unique postal codes. Results are returned without requiring the caller to parse raw 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-postal-codes-ca-from-page-c13efe6b/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)
