Free of charge (up to 250,000 transactions), our OS Names API lets you find what you’re looking for, quickly and easily.

 

With OS Names API, you’ll have access to a straightforward, rapid lookup service: drilling down into the content we hold in our OS Open Names dataset. You can find places and spaces in two ways – via ‘find’ or ‘nearest’ – and do it all in English, Welsh and Gaelic. The API returns data on roads, cities, towns, postcodes, woodlands, forests, transport hubs, etc.), and can also find the closest location to a given point.

 

It’s a RESTful API, returning the answers to simple queries in either XML or JSON. The ‘find’ tool is a string-based lookup service, and the ‘nearest’ tool uses a pair of British National Grid (BNG) coordinates to return the nearest feature.