# bng2latlong API

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

bng2latlong is a geocoding API from getthedata.com. It needs no API key. It is served over HTTPS and allows browser requests (CORS). Its OpenAPI description documents 1 endpoint.

## At a glance

- Category: [Geocoding](https://www.openparable.com/apis/category/geocoding)
- Provider: getthedata.com
- Authentication: None (no API key)
- HTTPS: Yes
- CORS: Yes
- Base URL: https://api.getthedata.com
- Documentation: https://www.getthedata.com/bng2latlong
- OpenAPI description: https://api.apis.guru/v2/specs/getthedata.com/bng2latlong/1.0/openapi.json
- Version: 1.0
- Specification updated: 2021-06-21

## Example request

```bash
curl -X GET "https://api.getthedata.com/bng2latlong/EASTING/NORTHING" \
  -H "Accept: application/json"
```

## Endpoints

- `GET /bng2latlong/{easting}/{northing}` — Returns latitude and longitude for the given easting and northing.

## Questions

### Does the bng2latlong API need an API key?

No. The bng2latlong API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

### Can I call the bng2latlong API from the browser?

Yes. The bng2latlong API sends CORS headers, so a web page can call it directly with fetch().

### Does the bng2latlong API support HTTPS?

Yes, the bng2latlong API is served over HTTPS.

### How many endpoints does the bng2latlong API have?

Its OpenAPI description lists 1 endpoint in version 1.0. All of them are shown on this page.

### What are alternatives to the bng2latlong API?

Other Geocoding APIs include Bing Maps, ip-api, OpenStreetMap, GeographQL, IP Address Details.

## Similar geocoding APIs

- [Bing Maps](https://www.openparable.com/apis/bing-maps): Create/customize digital maps based on Bing Maps data
- [ip-api](https://www.openparable.com/apis/ip): Find location with IP address or domain
- [OpenStreetMap](https://www.openparable.com/apis/openstreetmap): Navigation, geolocation and geographical data
- [GeographQL](https://www.openparable.com/apis/geographql): A Country, State, and City GraphQL API
- [IP Address Details](https://www.openparable.com/apis/ip-address-details): Find geolocation with ip address
- [ipapi.co](https://www.openparable.com/apis/ipapi-co): Find IP address location information
- [Mapbox](https://www.openparable.com/apis/mapbox): Create/customize beautiful digital maps
- [HERE Maps](https://www.openparable.com/apis/here-maps): Create/customize digital maps based on HERE Maps data
- [Kakao Maps](https://www.openparable.com/apis/kakao-maps): Kakao Maps provide multiple APIs for Korean maps
- [MapQuest](https://www.openparable.com/apis/mapquest): To access tools and resources to map the world
- [IP2Location](https://www.openparable.com/apis/ip2location): IP geolocation web service to get more than 55 parameters
- [Google Earth Engine](https://www.openparable.com/apis/google-earth-engine): A cloud-based platform for planetary-scale environmental data analysis

Listed from: public-apis (MIT), public-apis database (MIT), Free Public APIs, APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/bng2latlong (OpenParable). Cite the canonical URL above.
