{"uid":"cap_X4J_esuBKr4GGVBjaFsfL","slug":"extract-uk-postcodes-from-web-page-6424e775","name":"Extract UK Postcodes from Web Page","description":"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.","url":"https://page.intel.rallylive.ca/page/extract/postcodes-uk?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SgfhAOXgxKHoxLNSQpEXg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a URL and returns every UK postcode found in the page text and markup, deduplicated with occurrence counts (up to 300 items).","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Store locator postcode harvesting","prompt":"Pull all the UK postcodes from this store locator page https://www.retailchain.co.uk/stores and give me a deduplicated list so I know which areas they cover."},{"title":"Event venue location extraction","prompt":"Go to https://www.eventsite.co.uk/upcoming-events and extract every UK postcode mentioned — I want to see which postcodes come up most often."},{"title":"Business directory lead enrichment","prompt":"Fetch https://www.directory.co.uk/london-plumbers and extract all the UK postcodes listed there so I can map out which neighborhoods these plumbers serve."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:05.975Z","isFirstParty":false,"canonicalSlug":"extract-uk-postcodes-from-web-page-6424e775"}