Countries/🇬🇧 United Kingdom
🇬🇧
Countries / United Kingdom

UK infrastructure APIs
for your product

6 endpoints covering Royal Mail postcodes, HMRC VAT validation, sort codes, gov.uk bank holidays, and driving licence checks — everything British SaaS and fintech products need, in one API key.

Get API key free View docs
Endpoints
6 live
Build time
3 days
Best MRR
£4,950/mo
Market
UK SaaS + fintech

4 businesses you could build

Click any card to see the full business breakdown — pricing model, revenue target, and margin.

UK address entry is notoriously error-prone — users mistype postcodes, mix up county/district, and cause delivery failures. PostcodeWidget validates the postcode in real time, returns the region, district, constituency, and lat/lon, then auto-fills the address form. Integrate as a JavaScript snippet. Sell to UK Shopify stores, WooCommerce sites, and D2C brands that lose revenue to failed deliveries. Charge per store or per lookup.

💰 Pricing
£29/month per store or £0.003 per lookup
🏗 Build time
1 week solo
📈 Revenue target
£2,900/month at 100 store customers
💹 Margin
99% gross margin
🎯 API cost
$9 (Starter — well within 10K calls)
👥 Target customer
UK e-commerce stores on Shopify, WooCommerce, or custom checkout builders
Endpoints used
/uk/postcode/uk/postcode-validate
Postcodes.io is free but few developers know it exists. A polished widget with analytics dashboard commands £29/mo easily. 100 UK stores is a tiny fraction of the 50,000+ Shopify UK merchants.

All 6 UK endpoints

All GET requests. Pass your API key in the X-API-Key header.

GETPostcode geocoding and district lookup
/api/v1/uk/postcode

Returns lat/lon, region, district, county, constituency, and country for any valid UK postcode via Postcodes.io

postcode
GETPostcode format validation
/api/v1/uk/postcode-validate

Validates UK postcode format, returns outward/inward codes, area code — no external API call

postcode
GETHMRC VAT number validation
/api/v1/uk/vat

Validates a UK VAT number against HMRC's API — returns registered business name and address

vat
GETSort code bank identifier
/api/v1/uk/sort-code

Validates 6-digit UK sort code and identifies the bank (Barclays, HSBC, NatWest, Lloyds, etc.)

sort_code
GETUK bank holidays by region
/api/v1/uk/bank-holidays

Returns current and upcoming bank holidays from gov.uk for England & Wales, Scotland, or Northern Ireland

region?
GETUK driving licence format check
/api/v1/uk/driving-licence-validate

Validates the 16-character DVLA driving licence format — length, character set, structural check

licence

Starter code

Copy and paste. Works anywhere fetch runs.

javascript
const API_KEY = 'your_api_key_here';

// Validate a UK postcode and get location data
async function lookupPostcode(postcode) {
  const res = await fetch(
    `https://aplicious.com/api/v1/uk/postcode?postcode=${postcode}`,
    { headers: { 'X-API-Key': API_KEY } }
  );
  return res.json();
}

// Validate a VAT number via HMRC
async function validateVAT(vat) {
  const res = await fetch(
    `https://aplicious.com/api/v1/uk/vat?vat=${vat}`,
    { headers: { 'X-API-Key': API_KEY } }
  );
  return res.json();
}

// Identify a bank by sort code
async function lookupSortCode(sortCode) {
  const res = await fetch(
    `https://aplicious.com/api/v1/uk/sort-code?sort_code=${sortCode}`,
    { headers: { 'X-API-Key': API_KEY } }
  );
  return res.json();
}

// Example usage
const postcode = await lookupPostcode('SW1A1AA');
console.log(postcode.data.region, postcode.data.latitude);

const vat = await validateVAT('GB123456789');
console.log(vat.data.valid, vat.data.name);

const bank = await lookupSortCode('040004');
console.log(bank.data.bank, bank.data.formatted);

Start building with the UK namespace

Free tier: 250 calls/month. No credit card. One API key for all 21 namespaces.

Get free API key See other countries