# Extract US Zip Codes from Web Page

> Extract US Zip Codes from Web 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 US zip codes found in its text and HTML markup, returning deduplicated results with occurrence counts (up to 300 items).

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/extract/zip-codes-us?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-us-zip-codes-from-web-page-a28e6485
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0CHoBbj-AwxNKXwGl1n5p

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-us-zip-codes-from-web-page-a28e6485
```

Example prompt: Can you pull all the US zip codes mentioned on this page — https://example.com/store-locator — and give me a deduplicated list with how many times each one appears?

## When to prefer this

Choose this endpoint when you need to quickly harvest US zip codes from a specific web page without writing a custom HTML parser. It is ideal for extracting location or service area data from store locators, business directories, real estate listings, or any page that lists zip codes inline. Prefer this over general-purpose scrapers when your specific need is US zip code extraction with deduplication and frequency counts built in.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status — no zip codes returned
- Page contains no US zip codes — empty result set
- Page is JavaScript-rendered and zip codes are only in dynamic content not visible in raw markup — may miss some values
- More than 300 distinct zip codes found — result is capped at 300 items
- Invalid or malformed URL provided — request fails

## How this service works

Extract zip codes us from a web page: fetches the URL and returns every zip codes us 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 US zip codes found in the page's text and HTML markup, each with an occurrence count, returning up to 300 distinct zip codes.

## 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-us-zip-codes-from-web-page-a28e6485/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)
