UK Postcode Lookup: Coordinates, LSOA & Council (Apify Actor)

Bulk lookup of up to 1,000 Great Britain postcodes from the ONS Postcode Directory via Postcodes.io: latitude and longitude, eastings and northings, local authority, ward, constituency, LSOA, MSOA and GSS codes. Not-found, terminated and invalid statuses. No API key. JSON or CSV. Price: $10 per 1,000 postcodes, plus $0.002 per run start. Runs as an Apify Actor, callable from MCP clients via the Apify MCP server (https://mcp.apify.com/?tools=cliqtomedia/gb-postcode-lookup).

Hosted MCP Server

npx add-mcp 'https://mcp.apify.com/?tools=cliqtomedia/gb-postcode-lookup'

Installs into Claude Code, Codex, Cursor and more

Documentation

UK Postcode Lookup: Coordinates, LSOA & Council (cliqtomedia/gb-postcode-lookup) Actor

Bulk lookup of up to 1,000 Great Britain postcodes: latitude/longitude, eastings/northings, local authority, ward, constituency, LSOA/MSOA and GSS codes from the ONS Postcode Directory via Postcodes.io. Clear not-found, terminated and invalid statuses.

Pricing

from $7.00 / 1,000 postcode results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events. Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes. In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours, and optionally produces a well-defined JSON output, datasets with results, or files in key-value store. In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects. You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the API section below.

Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).

README

Paste a list of Great Britain postcodes. UK Postcode Lookup returns one row per postcode with latitude/longitude, OS grid eastings/northings, local authority, ward, parliamentary constituency, LSOA/MSOA and their official GSS codes from the ONS Postcode Directory (via Postcodes.io). No login or API key is needed.

It is for CRM, logistics, marketing and data teams who need to enrich a postcode column. The prefilled 5-postcode example takes a few seconds and costs about $0.05. The full price is paid only for postcodes found with coordinates (active or terminated); other answered rows cost a tiny check fee.

UK Postcode Lookup: Great Britain postcodes in, coordinates, district, ward and LSOA codes out, with found, terminated and not found status

Run it now: open the prefilled input form and look up UK postcodes in seconds, no coding

Table of contents

What it does

You add up to 1,000 postcodes. The Actor cleans each one (case, spaces), looks it up in the ONS Postcode Directory and saves one Dataset row for each input, in the same order. Every row has a status, so you always know why a row has no data.

statusMeaningCharged?
foundActive postcode with coordinates and areasYes (if it has coordinates)
terminatedOld postcode, no longer used. Last known location and end date onlyYes (if it has coordinates)
not_foundValid shape, but not in the directoryCheck fee only
invalid_formatNot a full UK postcode (for example SW1A or hello). No lookup is madeCheck fee only
unsupported_licensed_regionNorthern Ireland (BT…). No lookup is made, see limitsCheck fee only
errorThe source did not answer, or the run stopped before this row. This is not a "not found" answerNo

Repeated postcodes are looked up once. The repeat row copies the data and has duplicateOfIndex set. It costs only the check fee.

πŸ‘‰ Try it now: open the input form

Good fit

  • Add map coordinates to a list of customer or store postcodes.
  • Join postcodes to ONS statistics with LSOA, MSOA, output area and district GSS codes.
  • Group leads by local authority, region or parliamentary constituency.
  • Find typos and old postcodes in a CRM export.

Not a fit

  • No Northern Ireland (BT) data. Its licence does not allow free commercial reuse.
  • No street addresses or house numbers. Coordinates are the postcode centre, not a building.
  • No reverse geocoding (coordinates β†’ postcode) and no autocomplete.
  • Isle of Man (IM) and Channel Islands (GY, JE) postcodes return found but without coordinates or census areas. Some old IM postcodes are terminated without coordinates.

πŸ‘‰ Try it now: open the input form

How it works

  1. You add up to 1,000 postcodes. The Actor cleans each one (case, spaces) and removes repeats, so each unique postcode is looked up once.
  2. It asks the public Postcodes.io service in bulk batches. With Check terminated postcodes on, a postcode that is not active is also checked against the list of retired postcodes.
  3. It saves one Dataset row per input, in your order, each with a status. The RUN_SUMMARY record in the Key-value store counts the rows per status and the charged events.
  4. The run ends with a short status message: how many postcodes are done, a link to rate the Actor and, when something went wrong, a plain reason and a link to report it. See Run status messages.

πŸ‘‰ Try it now: open the input form

Quick start

Input form: the Postcodes list is prefilled with five postcodes (box 1) and the terminated-postcodes switch is on (box 2)

  1. Open the Input tab. The Postcodes field is prefilled with five postcodes (box 1). Keep them for a first test or paste your own, one per line.

  2. Keep Check terminated postcodes on (box 2) to also recognise retired postcodes.

  3. Click Start at the bottom of the form (below the area in the picture).

  4. Open the Output tab. The Overview table shows one row per postcode with status, latitude and adminDistrict.

    Output table: one row per postcode with status, coordinates, district, ward and constituency

Expected result: 5 found rows in about 3 seconds, for example SW1A 2AA β†’ Westminster, 51.503541, -0.12767.

πŸ‘‰ Try it now: open the input form

Use cases

Buyer jobInputKey fieldsNext step
Map customerspostcodes from a CRM columnlatitude, longitude, statusMap tool, BI dashboard
Join to ONS statisticspostcodeslsoaCode, msoaCode, outputArea, adminDistrictCodeONS / Census tables
Sales territoriespostcodesregion, adminDistrict, adminCounty, parliamentaryConstituencyCRM fields
Data cleaningpostcodesstatus, postcode (normalized), terminatedOnFix or remove bad records

πŸ‘‰ Try it now: open the input form

Input

Input fields

FieldPlain nameTypeRequiredDefault / prefillAllowed valuesEffectRecommendation
postcodesPostcodesarray of stringsyesprefill: SW1A 2AA, EH99 1SP, CF99 1SN, M60 2LA, B1 1BB1–1,000 itemsThe postcodes to look up. Case and spaces do not matter (sw1a2aa works). Empty lines are skipped. Items longer than 40 characters are cut and marked invalid_formatSplit lists over 1,000 into several runs
includeTerminatedCheck terminated postcodesbooleannotruetrue, falseWhen a postcode is not active, also check the list of old (terminated) postcodes. Adds one small request per unknown postcodeKeep true for old CRM data. Use false if you only want active postcodes

An empty list, more than 1,000 items or an unknown field stops the run before any lookup.

Input examples

Enrich a short list
{
  "postcodes": ["SW1A 2AA", "EH99 1SP", "CF99 1SN", "M60 2LA", "B1 1BB"]
}

Expected output: 5 found rows with coordinates, district, ward, constituency and LSOA/MSOA. Cost: 5 results + 1 start.

Clean a messy CRM column
{
  "postcodes": ["sw1a2aa", "AB1 0AA", "ZZ1 1ZZ", "not a postcode", "BT1 5GS", "SW1A 2AA"],
  "includeTerminated": true
}

Expected output: found, terminated (since 1996-06), not_found, invalid_format, unsupported_licensed_region, and a duplicate of row 0. Cost: 2 results + 4 checks + 1 start.

πŸ‘‰ Try it now: open the input form

Output

One Dataset item per input item. All fields are always present; null means "no data", never zero.

Output example

{
  "inputIndex": 0,
  "input": "SW1A 2AA",
  "postcode": "SW1A 2AA",
  "status": "found",
  "statusReason": "Active postcode",
  "errorCode": null,
  "duplicateOfIndex": null,
  "latitude": 51.503541,
  "longitude": -0.12767,
  "eastings": 530047,
  "northings": 179951,
  "positionalQuality": 1,
  "country": "England",
  "region": "London",
  "adminDistrict": "Westminster",
  "adminDistrictCode": "E09000033",
  "adminWard": "St James's",
  "adminWardCode": "E05013806",
  "parliamentaryConstituency": "Cities of London and Westminster",
  "parliamentaryConstituencyCode": "E14001172",
  "lsoa": "Westminster 018C",
  "lsoaCode": "E01004736",
  "msoa": "Westminster 018",
  "msoaCode": "E02000977",
  "introducedOn": "1980-01",
  "terminatedOn": null,
  "provider": "Postcodes.io (ONS Postcode Directory)",
  "fetchedAt": "2026-10-12T07:46:24.376Z"
}

This example is trimmed: the real row also has outcode, incode, county, parish, output area, built-up area, police, NHS and rural-urban fields.

Output fields

FieldMeaningTypeCan be empty?Example
inputIndexPosition in your input list (starts at 0)integerno0
inputYour value, with outer spaces removedstringnosw1a2aa
postcodeNormalized postcodestringyes (invalid input)SW1A 2AA
statusRow result, see the table abovestringnofound
statusReasonPlain-English reasonstringnoActive postcode
errorCodeTechnical code, only for error rowsstringyesSOURCE_UNAVAILABLE
duplicateOfIndexFor a repeat: inputIndex of the first copyintegeryes0
latitude, longitudeWGS84 centre of the postcodenumberyes51.503541, -0.12767
eastings, northingsOS National Grid referenceintegeryes530047, 179951
positionalQualityONSPD accuracy, 1 (best) to 9 (no grid reference)integeryes1
outcode, incodeThe two parts of the postcodestringyesSW1A, 2AA
country, regionNation and English regionstringyesEngland, London
adminDistrict, adminDistrictCodeLocal authority and GSS codestringyesWestminster, E09000033
adminCounty, adminCountyCodeCounty (only in two-tier areas)stringyesnull
adminWard, adminWardCodeElectoral wardstringyesSt James's, E05013806
parish, parishCodeParish or unparished areastringyesWestminster, unparished area
parliamentaryConstituency, parliamentaryConstituencyCodeWestminster constituency (2024 boundaries)stringyesCities of London and Westminster, E14001172
lsoa, lsoaCodeCensus 2021 Lower Layer Super Output AreastringyesWestminster 018C, E01004736
msoa, msoaCodeCensus 2021 Middle Layer Super Output AreastringyesWestminster 018, E02000977
outputAreaCensus 2021 output area codestringyesE00023936
builtUpAreaBuilt-up areastringyesCity of Westminster
policeForceAreaPolice forcestringyesMetropolitan Police
nhsIcbNHS Integrated Care BoardstringyesNHS West and North London Integrated Care Board
ruralUrban2021Rural-urban classification 2021stringyesUrban: Nearer to a major town or city
introducedOnMonth the postcode started (YYYY-MM)stringyes1980-01
terminatedOnMonth it stopped (YYYY-MM), for terminated postcodesstringyes1996-06
providerData providerstringnoPostcodes.io (ONS Postcode Directory)
sourceUrlSource endpoint used for this rowstringyeshttps://api.postcodes.io/postcodes
fetchedAtWhen the row was fetched (UTC)stringno2026-10-12T07:46:24.376Z

GSS "not applicable" codes (like E99999999 or M99999999) in code fields and outputArea are returned as null. A terminated row has only coordinates and terminatedOn: the directory keeps no area data for old postcodes.

Output surfaces

SituationWhereWhat you see
Normal runDataset views Overview, Geography, Status detailsOne row per input
Nothing foundDataset + RUN_SUMMARYRows with not_found / invalid_format, run status NO_RESULTS, run succeeds
Source problemDataset + RUN_SUMMARYUnfinished rows have status: error; summary PARTIAL or ERROR
Wrong inputRUN_SUMMARY + run status messageNo rows, no result charges, run succeeds; summary invalid_input with message and inputErrors (field, message, example)
Stopped earlyDataset + RUN_SUMMARYRemaining rows have status: error with DEADLINE_REACHED or MAX_CHARGE_REACHED; summary CAPPED
SummaryKey-value store record RUN_SUMMARYstatus, message, counts per status, charged results, data licence and attribution

Run status messages

Every run ends with one short status message, shown in the run header in Apify Console. The first words tell you how it went; the rating link comes early so it stays visible.

SymbolWhenWhat it says
βœ…The run finished and every postcode got an answerβœ… N/M postcodes done, a link to rate the Actor and the non-zero counts (found, terminated, not found, invalid format, Northern Ireland, duplicates)
ℹ️The run finished but no input is a current or terminated Great Britain postcodeℹ️ 0 postcodes found: none of the M inputs is a current or terminated Great Britain postcode with the counts and a link to report a problem. No rating request
⚠️The source stopped part-way, so some rows are error⚠️ N/M postcodes done, K failed, a plain reason, a rating link, a link to report a problem and a hint to see the rows with status: error
⚠️The run stopped early: time limit, Maximum cost per run or request limit (also with 0 postcodes done)⚠️ N/M postcodes done, K not done, the reason in plain words and the same hint. The rating link appears only when at least one postcode is done
⚠️You aborted the run⚠️ Run aborted · N saved; the rating link appears only when N is above 0
❌The source gave no answer for any postcode and the run failed❌ No postcodes looked up: <reason>, a link to report it and the run link
❌Any other failure, including an unexpected crash❌ Run failed, a link to report it and the run link
Input errorThe input is wrong (for example an empty list)Input error: <field> <what to fix>. Example: <example>. with a link to report a problem. The run succeeds with no rows and no charges

Only the two ❌ forms end the run as Failed. All other forms, including ⚠️ and the input error, end it as Succeeded, except a run you stop yourself, which the platform marks as Aborted. The Actor does not read a platform maximum of paid results, so there is no special message for it.

πŸ‘‰ Try it now: open the input form

Pricing

Pricing unit

This Actor uses pay-per-event pricing. Platform usage is included: you pay only for these events.

EventWhenFree planBronzeSilverGold+
Postcode resultOne unique found or terminated postcode with coordinates$0.01$0.009$0.008$0.007
Postcode checkedAny other answered row: not_found, invalid_format, duplicate, Northern Ireland, or found without coordinates$0.00005$0.00005$0.00005$0.00005
Actor startOnce per run, also when the run fails. $0.002 per GB of run memory, at least one start event; the default 256 MB run is charged $0.002$0.002$0.002$0.002$0.002

Free: error rows (source problem, time limit or cost cap). A run of 1,000 unknown postcodes costs $0.052.

Cost examples (Free plan prices)

ScenarioInputCharged resultsCost
Prefill5 postcodes5$0.052
Typical list100 postcodes, 96 found96 + 4 checks$0.962
Full run1,000 postcodes, 951 unique found951 + 49 checks$9.514
Nothing found3 unknown or invalid postcodes0 + 3 checks$0.002
Many unknown1,000 unknown postcodes0 + 1,000 checks$0.052

Set Maximum cost per run in the run options to cap spending. When the cap is reached, the Actor stops charging, marks the remaining rows error with MAX_CHARGE_REACHED and ends with a ⚠️ status message (summary CAPPED).

πŸ‘‰ Try it now: open the input form

Limits

  • Up to 1,000 postcodes per run. A 1,000-postcode run took about 5 seconds in our tests.
  • Internal time limit for lookups: 240 seconds.
  • With includeTerminated: true, every unknown postcode needs one extra request (about 0.25 s each). A list with many hundreds of unknown postcodes can reach the 240-second limit: the remaining rows are error with DEADLINE_REACHED (free) and the summary is CAPPED. The run still succeeds and the status message starts with ⚠️.
  • Northern Ireland (BT): NI postcode data needs a commercial licence from Land & Property Services. These rows are marked unsupported_licensed_region before any lookup and cost only the check fee.
  • Freshness: data follows the ONS Postcode Directory loaded by Postcodes.io (ONSPD August 2026 when we checked on 2026-10-12). It is updated quarterly. Very new postcodes may be not_found until the next update.
  • Source problems: requests have a 20-second timeout and up to 3 tries. If the source stops answering, the rest of the rows are saved as error (not not_found) and are not charged. The summary says PARTIAL (some results) or ERROR (none: the run fails with a ❌ status message).
  • Platform paid-results cap: the Actor reads the platform's maximum number of paid results (Max items). When it is reached, the Actor stops, saves and charges no more than that many rows, and the run ends SUCCEEDED with a ⚠️ status and partial: "MAX_ITEMS" in RUN_SUMMARY. Maximum cost per run also limits spending.

πŸ‘‰ Try it now: open the input form

API, export and integrations

  • API: start a run with POST https://api.apify.com/v2/acts/cliqtomedia~gb-postcode-lookup/runs and the input JSON, then read the default Dataset. See the API tab for ready code.
  • Export: download the Dataset as CSV, Excel, JSON or XML from the Output tab.
  • No-code: connect the Actor in Make, Zapier or n8n with the Apify integration.

Use with AI agents (MCP)

  • MCP server with only this Actor: https://mcp.apify.com?tools=cliqtomedia/gb-postcode-lookup
  • Smallest useful input: {"postcodes": ["SW1A 2AA"]}
  • Key output fields: status (found / terminated / not_found / invalid_format / unsupported_licensed_region / error), latitude, longitude, adminDistrict, lsoaCode.
  • A run with up to 100 postcodes usually finishes in under 10 seconds. Cost: $0.002 per run plus $0.007–$0.01 per found postcode and $0.00005 per other answered row. Up to 1,000 postcodes per run; Northern Ireland is not supported.

Scheduling and monitoring

  • The ONS Postcode Directory is updated about every three months. To keep a list fresh, schedule a run after each update and compare status and terminatedOn with the last run.
  • Watch RUN_SUMMARY.status: COMPLETE and NO_RESULTS are normal, PARTIAL and CAPPED mean some rows are error, ERROR means the source gave no answers. invalid_input means the input needs a fix (see inputErrors).

πŸ‘‰ Try it now: open the input form

Troubleshooting

Many rows are invalid_format

Symptom: rows like SW1A or SW1A-2AA are not looked up. Reason: the Actor needs a full postcode (outward and inward part). Letters, digits and spaces only. Action: fix the column in your source, for example remove dashes, and run again.

A postcode I know is real is not_found

Reason: it may be very new (not yet in the quarterly directory) or mistyped. Action: check statusReason, try includeTerminated: true, or check again after the next ONSPD update.

Rows have status: error

Symptom: the status message starts with ⚠️ ("N/M postcodes done, K failed" or "K not done") or ❌. Reason: Postcodes.io did not answer in time or limited requests, or the run hit the time limit or Maximum cost per run. These rows are free. Action: the status message names the reason. Open RUN_SUMMARY and the errorCode column for details, then run the failed postcodes again later or raise the cost limit.

Run finished with no rows and an input error message

Symptom: the status message starts with "Input error". Action: fix the named field (for example an empty Postcodes list) and run again. The run succeeds and nothing is charged.

πŸ‘‰ Try it now: open the input form

FAQ

Do I need an API key or account for Postcodes.io?

No. The Actor uses the public Postcodes.io API without a key.

Why do terminated postcodes have no district or ward?

The directory keeps only the last location and end date for old postcodes. Use latitude/longitude if you need an area.

Am I charged for duplicates or errors?

error rows are free. Duplicates and other rows without a paid result cost $0.00005 each. The full price is charged only for the first copy of a found or terminated postcode with coordinates, plus $0.002 per run.

Is the data complete?

It covers active and terminated postcodes in England, Scotland and Wales from the ONS Postcode Directory. Isle of Man and Channel Islands postcodes are listed but have no coordinates. Coordinates are postcode centres. Some areas, like county or parish, are empty where they do not apply.

πŸ‘‰ Try it now: open the input form

Related Actors

πŸ‘‰ Try it now: open the input form

Data source and licence

Data: ONS Postcode Directory via Postcodes.io. Great Britain postcode data may be used under the Open Government Licence v3.0 and OS OpenData terms. Attribution (also in RUN_SUMMARY):

Contains Ordnance Survey data Β© Crown copyright and database right 2025. Contains Royal Mail data Β© Royal Mail copyright and database right 2025. Contains National Statistics data Β© Crown copyright and database right 2025. Contains NRS data Β© Crown copyright and database right 2025. Source: Office for National Statistics licensed under the Open Government Licence v3.0.

This Actor is not affiliated with ONS, Ordnance Survey, Royal Mail or Postcodes.io.

πŸ‘‰ Try it now: open the input form

Support

For a bug, question or feature request, open the Actor's Issues tab on Apify. Include the run ID and the postcodes that look wrong. Do not send private customer data.

⭐ Found it useful? Rate this Actor. Something wrong? Report a problem β€” we fix reported problems.

Run it now: open the prefilled input form and look up UK postcodes in seconds, no coding

Changelog

This Actor's version history is a separate document: https://apify.com/cliqtomedia/gb-postcode-lookup/changelog.md

Actor input Schema

postcodes (type: array):

Up to 1,000 UK postcodes, one per line, e.g. SW1A 2AA. Case and spaces don't matter (sw1a2aa works). Duplicates are looked up once; repeats cost only the small check fee. Northern Ireland postcodes (starting with BT) are returned as unsupported_licensed_region without a lookup.

includeTerminated (type: boolean):

When a postcode is not active, check whether it is a terminated (retired) postcode and return its last known location and termination date. Turn off to report such postcodes simply as not_found.

Actor input object example

{
  "postcodes": [
    "SW1A 2AA",
    "EH99 1SP",
    "CF99 1SN",
    "M60 2LA",
    "B1 1BB"
  ],
  "includeTerminated": true
}

Actor output Schema

overview (type: string):

All rows: status, coordinates and main geography.

geography (type: string):

GSS codes, LSOA/MSOA and census output areas.

statusDetails (type: string):

Rows that are not found, terminated, invalid, Northern Ireland, duplicates or errors, with the reason.

runSummary (type: string):

Status, counts, charged rows, source attribution and request statistics.

API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

JavaScript example

import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "postcodes": [
        "SW1A 2AA",
        "EH99 1SP",
        "CF99 1SN",
        "M60 2LA",
        "B1 1BB"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("cliqtomedia/gb-postcode-lookup").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`πŸ’Ύ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// πŸ“š Want to learn more πŸ“–? Go to β†’ https://docs.apify.com/api/client/js/docs

Python example

from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "postcodes": [
        "SW1A 2AA",
        "EH99 1SP",
        "CF99 1SN",
        "M60 2LA",
        "B1 1BB",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("cliqtomedia/gb-postcode-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"πŸ’Ύ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# πŸ“š Want to learn more πŸ“–? Go to β†’ https://docs.apify.com/api/client/python/docs/quick-start

CLI example

echo '{
  "postcodes": [
    "SW1A 2AA",
    "EH99 1SP",
    "CF99 1SN",
    "M60 2LA",
    "B1 1BB"
  ]
}' |
apify call cliqtomedia/gb-postcode-lookup --silent --output-dataset

MCP server setup

{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cliqtomedia/gb-postcode-lookup"
        }
    }
}

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an Authorization: Bearer <APIFY_API_TOKEN> header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/MHuVzzXnytc6LsSO4/builds/7hHdyGB2epCeYgXqG/openapi.json