API Endpoints

Transport and Mobility

Airports and Airfields

Tokens
× 1

API Credit Cost


Endpoint Overview

The Airports and Airfields endpoint lists nearby airports and airfields within a postcode radius, including their names, locations, and sizes.


Coverage

EnglandEngland
ScotlandScotland
WalesWales
N. IrelandN. Ireland

Update Frequency

Annually

Request Format

HTTP Method:

GET

To use the API you should send an HTTP request to the following endpoint URL. This will return a JSON response.

https://api.postcodearea.co.uk/airports/?key=&postcode={postcode}

Note that your key has automatically been added to the API endpoint for convenience.

Querystring Parameters:

{postcode}

A valid UK postcode (e.g., SW1A 1AA). Note that you can send the postcode with or without the space separating the outward and inward codes. For example, both "SW1A 1AA" and "SW1A1AA" are both valid.

{api_key}

A valid API key that authenticates your account.


Authorisation

For every endpoint request your API Key should be sent as part of the querystring:

https://api.postcodearea.co.uk/airports/?key={api_key}&postcode=WS3+3PD

For example:

https://api.postcodearea.co.uk/airports/?key=&postcode=WS3+3PD

Example Request and Response

If the above URL endpoint exists and the API key is valid, our system will return the following example response:

https://api.postcodearea.co.uk/airports/?key=&postcode=WS3+3PD
{"data":[{"Airport":"RAF Cosford","Operating Airlines":"","Location":"Albrighton","County":"Shropshire","Address":"","Phone":"","ICAO Code":"EGWC","IATA Code":" ","Usage":"Military","Runway Surface":"Asphalt","Runway Length":"3,890m","Latitude":"52.64054","Longitude":"-2.305275","Distance":10.4195673845638},{"Airport":"RAF Ternhill","Operating Airlines":"","Location":"Ternhill","County":"Shropshire","Address":"","Phone":"","ICAO Code":"EGOE","IATA Code":" ","Usage":"Military","Runway Surface":"Asphalt","Runway Length":"3,215m","Latitude":"52.87376","Longitude":"-2.533368","Distance":13.3334161256589},{"Airport":"Wolverhampton Airport","Operating Airlines":"","Location":"Wolverhampton","County":"Staffordshire","Address":"","Phone":"","ICAO Code":"EGBO","IATA Code":" ","Usage":"Public","Runway Surface":"Asphalt","Runway Length":"3,878m","Latitude":"52.51749","Longitude":"-2.261862","Distance":18.6476283193787},{"Airport":"Tatenhill Airfield","Operating Airlines":"","Location":"Tatenhill","County":"Staffordshire","Address":"","Phone":"","ICAO Code":"EGBM","IATA Code":" ","Usage":"Public","Runway Surface":"Asphalt","Runway Length":"2,585m","Latitude":"52.81407","Longitude":"-1.76471","Distance":20.2567292436339},{"Airport":"Sleap Airfield","Operating Airlines":"","Location":"Shrewsbury","County":"Shropshire","Address":"","Phone":"","ICAO Code":"EGCV","IATA Code":" ","Usage":"Public","Runway Surface":"Asphalt","Runway Length":"2,631m","Latitude":"52.83387","Longitude":"-2.770179","Distance":22.0517769444883},{"Airport":"Derby Airfield","Operating Airlines":"","Location":"Derby","County":"Derbyshire","Address":"","Phone":"","ICAO Code":"EGBD","IATA Code":" ","Usage":"Public","Runway Surface":"Grass","Runway Length":"1,975m","Latitude":"52.85977","Longitude":"-1.615843","Distance":26.834170898966},{"Airport":"Birmingham Airport","Operating Airlines":"Aer Lingus, Air France, Air Berlin, Air Transat, Austrian Airlines, BH Air, BMI, Brussels Airlines, Eastern Airways, EasyJet, Emirates, Flybe, KLM, Lufthansa, Monarch Airlines, Pakistan International Airlines, Ryanair, Scandinavian Airlines, Swiss International Air Lines, Thomas Cook Airlines, Thomson Airways, Turkish Airlines, Turkmenistan Airlines, United Airlines","Location":"Bickenhill","County":"West Midlands","Address":"Birmingham Airport, Birmingham, West Midlands, B26 3QJ","Phone":"0871 222 0072","ICAO Code":"EGBB","IATA Code":"BHX","Usage":"Public","Runway Surface":"Asphalt","Runway Length":"8,547m","Latitude":"52.45597","Longitude":"-1.750378","Distance":31.0234228516936},{"Airport":"Woodford Aerodrome","Operating Airlines":"","Location":"Woodford","County":"Greater Manchester","Address":"","Phone":"","ICAO Code":"EGCD","IATA Code":" ","Usage":"Private","Runway Surface":"Asphalt","Runway Length":"7,520m","Latitude":"53.33796","Longitude":"-2.149181","Distance":38.2721251678102},{"Airport":"East Midlands Airport","Operating Airlines":"Aurigny Air Services, BH Air, BMI, Eastern Airways, Flybe, Freebird Airlines, Jet2.com, Monarch Airlines, Onur Air, Ryanair, Thomas Cook Airlines, Thomson Airways","Location":"Castle Donington","County":"Leicestershire","Address":"Castle Donington, Derby, Derbyshire, DE74 2SA","Phone":"0871 919 9000","ICAO Code":"EGNX","IATA Code":"EMA","Usage":"Public","Runway Surface":"Asphalt","Runway Length":"9,491m","Latitude":"52.831","Longitude":"-1.32812","Distance":38.5111075481837},{"Airport":"Manchester Airport","Operating Airlines":"Adria Airways, Aegean Airlines, Aer Lingus, Airblue, Air France, Air Malta, Air Transat, American Airlines, Aurigny Airlines, BH Air, Belavia, BMI, British Airways, Blue Islands, Brussels Airlines, Delta Air Lines, EasyJet, EgyptAir, Emirates, Etihad Airways, Finnair, Flybe, Freebird Airlines, Germanwings, Hermes Airlines, Icelandair, Jet2.com, KLM, Libyan Airlines, Lufthansa, Monarch Airlines, Norwegian Air Shuttle, Nouvelair Tunisie, Onur Air, Pakistan International Airlines, Pegasus Airlines, Qatar Airways, Ryanair, Scandinavian Airlines, Singaport Airlines, Small Planet Airlines, Swiss International Airlines, TAP Portugal, Thomas Cook Airlines, Thomson Airways, Turkish Airlines, Tunisair, United Airlines, US Airways, Virgin Atlantic Airways","Location":"Ringway","County":"Greater Manchester","Address":"Manchester, Greater Manchester, M90 1QX","Phone":"0871 271 0711","ICAO Code":"EGCC","IATA Code":"MAN","Usage":"Public","Runway Surface":"Concrete/Asphalt","Runway Length":"10,000m","Latitude":"53.34715","Longitude":"-2.283923","Distance":38.7202717602037}],"response_time":0.0156,"Source":"PostcodeArea API","Output Area":"Radius","Radius":10,"Distance Unit":"Mile","Records":10,"Unique Fields":14,"Referrer":"api.postcodearea.co.uk","Host":"https://api.postcodearea.co.uk/airports/?key=pa_XWQAV24RXCUU19NGUFM11TKTLN&postcode=st200ly","Endpoint":"/airports/?key=pa_XWQAV24RXCUU19NGUFM11TKTLN&postcode=st200ly"}

Error Handling

HTTP Status Code Error Message Reason
400 Invalid postcode format The postcode provided is not valid.
401 Unauthorised request API key missing or invalid.
404 Postcode not found No data available for the given postcode.
404 No Results Found No data available for the given radius.
429 Too many requests Exceeded rate limit.
500 Internal server error An unexpected issue occurred.

Caching Policy

You may temporarily cache data retrieved from the API for performance optimisation purposes, provided that the cached data is:

  1. Stored in-memory only (e.g., application-level cache).
  2. Retained for no longer than one hour.

Caching API data to any persistent storage, including but not limited to databases, files, or external systems, constitutes a breach of our API Terms and Conditions. Such actions are strictly prohibited to ensure data accuracy and compliance with our licensing agreements.

If you have specific requirements for extended caching, you must seek prior written consent from us.


Get started today

Ready to use this data for your own business or organisation? Sign up today and get immediate access to all the PostcodeArea API endpoints.

Share this page