UK Postcode Lookup & Enricher avatar

UK Postcode Lookup & Enricher

Pricing

$0.30 / 1,000 postcode enricheds

Go to Apify Store
UK Postcode Lookup & Enricher

UK Postcode Lookup & Enricher

Bulk-enrich UK postcodes with latitude/longitude, council, ward, constituency, region, LSOA/MSOA and police force using official ONS data via postcodes.io.

Pricing

$0.30 / 1,000 postcode enricheds

Rating

0.0

(0)

Developer

Luke Mangan

Luke Mangan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

UK Postcode Enricher

UK Postcode Enricher is a bulk UK postcode lookup: add latitude/longitude, council, ward, constituency, region, LSOA/MSOA and police force to every postcode, using official ONS data via postcodes.io.

Best for: Enriching customer, merchant or lead lists, mapping and territory planning, and geographic reporting.

How to look up UK postcodes in bulk

  1. Add postcodes to UK postcodes (postcodes), with or without spaces.
  2. Click Start.
  3. Download the enriched rows as CSV or Excel and join them back to your list.

How it works

Uses the free postcodes.io API, which serves ONS Postcode Directory data. Terminated or invalid postcodes come back with valid: false and are still charged as a lookup.

Output

input, valid, postcode, latitude, longitude, country, region, adminDistrict, ward, constituency, lsoa, policeForce

Pricing (pay-per-event)

  • postcode-enriched: $0.0003 per result ($0.3 / 1,000). Platform usage is included; you pay only for results.
  • Example: 10,000 postcodes cost $3.00.

Example input

{
"postcodes": [
"SW1A 1AA",
"LS28 6AA",
"EH1 1YZ"
]
}

Example output

Values below are illustrative.

{
"input": "sw1a1aa",
"valid": true,
"postcode": "SW1A 1AA",
"latitude": 51.501009,
"longitude": -0.141588,
"country": "England",
"region": "London",
"adminDistrict": "Westminster",
"ward": "St James's",
"constituency": "Cities of London and Westminster",
"lsoa": "Westminster 018C",
"policeForce": "Metropolitan Police"
}

Use it via API, schedules and integrations

Run it in Apify Console, or call it from your own code with the Apify API or the Python and JavaScript clients. Save an input as a task and add a schedule to run it regularly, and send results to Slack, email, webhooks, Zapier, Make or n8n with Apify integrations. AI agents can find and run it through the Apify MCP server.

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("sterlingverify/uk-postcode-enrich").call(run_input={"postcodes": ["SW1A 1AA", "LS28 6AA"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Use in Clay, Zapier, Make, n8n, Pipedream, Power Automate or Activepieces

All of them connect to Apify through their official Apify integrations, using your own Apify account: an API token from Apify Console > Settings > API & Integrations, or Apify sign-in for Power Automate. Runs bill to your Apify account at this Actor's pay-per-event price.

  • Clay: save this Actor's input as an Apify task and copy it as JSON. In your Clay table, add the Run Apify Actor enrichment, choose it and paste the JSON into Input Data, mapping Clay columns into the fields. To pull a finished run into a new table, use the Import data from Apify Actor source.
  • Zapier: use the Apify Run Actor action, or the Finished Actor run trigger followed by Fetch dataset items. Synchronous runs in Zapier stop after 30 seconds, so use the trigger for big batches.
  • Make: add the Apify Run an Actor module with Run synchronously set to Yes, then Get Dataset Items with the run's dataset ID. For longer runs, use the Watch Actor Runs trigger.
  • n8n: install the Apify node (@apify/n8n-nodes-apify, or search "Apify" on n8n Cloud) and use Run an Actor and get dataset.
  • Pipedream: add the Apify app's Run Actor action, or Run Task Synchronously on one of this Actor's public example tasks (or your own saved task) to get the dataset items back in one step. For big batches, start from the New Finished Actor Run or New Finished Task Run trigger, then Get Dataset Items.
  • Power Automate: add the Apify connector (a premium connector, currently in preview) and sign in with your Apify account. Use Run Actor with Enter custom value set to sterlingverify/uk-postcode-enrich and paste the input as JSON, then Get dataset items with the run's default dataset ID. For big batches, start the flow from the Actor run finished trigger instead.
  • Activepieces: add the Apify piece and use Run Actor, or Run Task on one of this Actor's public example tasks (or your own saved task), then Get Dataset Items. For scheduled or big batches, use the Watch Actor Runs or Watch Task Runs trigger.
  • Google Drive / Sheets: add Apify's Upload results to GDrive integration to a scheduled task to drop each run's CSV or XLSX into your team's Drive, or chain the Google Sheets Import & Export actor to append rows to a sheet.
  • Slack alerts: add Apify's Slack integration to a scheduled task to post each run's results to your team channel, or start a check from Slack with /apify call and your task ID.
  • Any HTTP tool or script: send one request and get the results back as JSON. Runs must finish within 5 minutes.
curl -X POST "https://api.apify.com/v2/acts/sterlingverify~uk-postcode-enrich/run-sync-get-dataset-items" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d @input.json

FAQ

What happens with invalid postcodes?

Terminated or invalid postcodes come back with valid: false and are still charged as a lookup.

What licence is the data under?

OS, Royal Mail and National Statistics data under the Open Government Licence v3.0, served by postcodes.io (MIT).

Disclaimer

Contains OS data © Crown copyright and database right, Royal Mail data © Royal Mail copyright and database right, and National Statistics data © Crown copyright, all under the Open Government Licence v3.0. Data served by postcodes.io (MIT). Not affiliated with ONS, Royal Mail or postcodes.io.

Part of the sterlingVerify UK payments, KYB and data toolkit on Apify Store: