Reverse Geocoding to City API
Introduction
Today, our smart devices can locate our geo-coordinates in real-time and with a high level of accuracy. But, these coordinates are often useless if you cannot identify the locality information such as country/state/city associated with them.
Reverse geocoding is a process that converts latitude and longitude to readable locality properties. Reverse geocoding is an essential component of the modern web, mobile and IoT. Its use cases vary across various industries and applications.
- Content Personalisation and Localisation
- Geotargeting
- Geofencing
- Customer data validation
- Fraud and security threat detection
How is BigDataCloud’s Reverse Geocoding API different?
Existing reverse geocoding providers are trying to resolve to the closest street address, a household, for the given coordinates. As a result, the quality of data widely varies for mobile and regional users and exhibits slower response times.
Our Reverse Geocoding API is the first to deliver administrative/non-administrative boundaries-based results. Hence, the API is perfectly suitable for determining locality areas such as a suburb, city, state or country, rather than a street address, resulting in much faster response times and excellent support even for less populated areas.
- Unprecendly fast response time (sub-millisecond)
- Delivers Administrative/non-administrative boundaries-based results
- Provides detailed locality information of a user in 147 common world languages
- Full postal code level accuracy for the US, Great Britain, and Australia (partial for other countries)
Get started
This API is part of the Reverse Geocoding package and is available in free and paid plans. Please visit the Reverse Geocoding package page for limits and pricing information.
Endpoints
IPv4 only API Endpoint
Use this endpoint to force API calls routed over the IPv4 network only
Dual-Stack API Endpoint
This endpoint has native IPv6 support and backs the API calls routed over both IPv4 and IPv6 networks
Request
Responses
Example query
https://api-bdc.net/data/reverse-geocode?latitude=-34.93129&longitude=138.59669&localityLanguage=en&key=[YOUR API KEY]
Example response
Schema
Requested Latitude
Requested Longitude
Localised Continent name in the requested language, if available
Continent code
localityLanguage input parameter received
The most significant populated place this location belongs. It will likely be the City name in the language requested. If unavailable, use the locality name field as a failover
Localised Country name in the requested language, if available
Country code as defined by ISO 3166-1 standard
Postcode, if available
Localised principal subdivision name in the requested language, if available
Principal subdivision code as defined by ISO 3166-2 standard
Open Location Code
Represents the smallest geographic area recognised to which the target belongs. The language, if available, is as defined by 'localityLanguage' request parameter
localityInfo object