A community-minded API has a politcal message for the UK's Royal Mail: open up the postal code database. ErnestMarples.com is named after the former postmaster general who apparently first oversaw the introduction of the postal code in the UK.
The free API returns address-level geographic coordinates for full postal codes, such as SW1A 1AA (Buckingham Palace). To access similar data from the Royal Mail costs at least 1000 pounds ($1600 USD) per year. Due to the many licensees, the British government takes in over 18 million pounds ($30 million) annually, according to The Guardian.
Harry Metcalfe, one of the API's creators, explains why he believes the service is necessary:
"Lots of the most useful services... have no choice but to use whatever data they can find on the web — something which, among other things, is very inconvenient. We decided to make it easier, and take that step out of the process. We do the tricky bit — sniffing the data out from the corners of the web — and pass it back to as structured information that developers can use to create sites that make people's lives easier and better."
But if the API is supplying data that costs money, the Royal Mail is bound to be upset, right? The operators of the site claim to be working in a grey area. In an email, Metcalfe said there is no database and that the site does not cache anything. As for where the data comes from, that is not clear and Metcalfe isn't telling.
Since the Royal Mail keeps the postal codes locked down, it's logical to expect that ErnestMarples.com data trickles down from one or more subscriber. The data may be scraped from unsuspecting sites that expose the lookup as part of another service.
Web developer Stuart Harrison suggests the Royal Mail will let the API slide as long as it doesn't get too popular:
"They're not losing any revenue by sites of this nature doing this because the sites couldn’t afford to pay for the postcode database anyway. Besides, although the Royal Mail is effectively a private enterprise, the major shareholder is still the government, and I can't see them risking the bad publicity that would be caused by being heavy-handed and taking the site down."
The UK was very much a leader in open data with last year's Show Us A Better Way contest, so on one hand it's surprising. On the other, giving up a revenue stream this large is a hard case to make. Perhaps the decision will be some middle ground, such as allowing non-commercial use, as is the case with many APIs.
Metcalfe is clear with the outcome he wants: "The Government should pay to maintain the data and then release it as public sector information under the PSI Click-Use licence."