# Extract UK Postcodes from Web Page

> Extract UK Postcodes 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-20).

Fetches a URL and returns every UK postcode found in the page text and markup, deduplicated with occurrence counts (up to 300 items).

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/extract/postcodes-uk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-uk-postcodes-from-web-page-6424e775
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X4J_esuBKr4GGVBjaFsfL

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-uk-postcodes-from-web-page-6424e775
```

Example prompt: Can you fetch https://www.example.co.uk/store-locator and extract all the UK postcodes mentioned on that page — I want a deduplicated list with counts for each one?

## When to prefer this

Choose this endpoint when you need to extract UK postcodes from a specific web page without writing custom HTML parsers. It handles fetching, parsing, deduplication, and counting in a single call for $0.01. Prefer it over general-purpose scrapers when your specific need is UK postcode extraction with occurrence counts rather than full page content.

## Known failure modes

- URL is unreachable or returns a non-200 status — no postcodes returned
- Page contains no UK postcodes — empty result list
- Page is JavaScript-rendered and content is not in static HTML — postcodes may be missed
- More than 300 unique postcodes found — result is capped at 300
- Malformed or missing URL parameter — request fails with validation error
- Rate limiting or bot-blocking by the target website — fetch may fail

## How this service works

Extract postcodes uk from a web page: fetches the URL and returns every postcodes uk 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 up to 300 UK postcodes found in the page text and HTML markup, each accompanied by an occurrence count indicating how many times it appeared 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-uk-postcodes-from-web-page-6424e775/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)
