Public APIs
bng2latlong favicon

bng2latlong

Geocoding

Convert British OSGB36 easting and northing (British National Grid) to WGS84 latitude and longitude.

bng2latlong's website screenshot

About bng2latlong

The bng2latlong API converts British National Grid (OSGB36) easting and northing coordinates into WGS84 latitude and longitude values. Requests are made via a URL path containing the easting and northing, with responses available in JSON or XML format. A successful response returns the original easting and northing along with the converted latitude and longitude; invalid input returns an error message and status.

The service is aimed at developers working with UK geographic data who need to convert British National Grid coordinates into standard latitude/longitude for use in mapping or location-based applications. Conversion is performed server-side using the PHPCoord library.

The API is free to use for any purpose, with credit and a link back to the provider's page appreciated but not required.

Key features

  • Converts OSGB36 easting/northing (British National Grid) coordinates to WGS84 latitude/longitude
  • Simple REST syntax with easting and northing passed directly in the URL path
  • Supports JSON or XML response formats
  • Returns structured error messages for invalid or out-of-range input

Frequently asked questions

Is this API free to use?

Yes, it is free to use for any purpose; a credit and link back are appreciated but not required.

What response formats are supported?

The API returns JSON by default, or XML if /xml is appended to the request URL.

What coordinate systems does it convert between?

It converts OSGB36 easting and northing (British National Grid) values into WGS84 latitude and longitude.

How does the API handle invalid input?

It returns a status of error along with an error message when easting and northing are missing, non-integer, or out of range.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product