Reverse geocoding API for accurate lat long to address conversion

Retrieve complete address details, including country, state, city, district, street, postal code, and house number, as clean JSON.

Trusted Across Industries
GSK Logo
Bayer Logo
Sanofi Logo
Lilly Logo
HALEON Logo
Kimberly-Clark Logo
3M Logo
Electrolux logo
WPP Logo
Publicis Groupe Logo
Teads logo
The Weather Channel Logo
EDF Logo

What is Ambee's Reverse 
Geocoding API?

Ambee’s Reverse Geocoding API helps applications convert latitude and longitude coordinates into structured, human-readable address data. The API accepts geographic coordinates and returns detailed location information as JSON.


For example, coordinates 42.66548262280807, -73.79192663186527 resolve to 723 Yates St, Albany, NY 12208, United States, making it easier for systems to transform raw GPS data into meaningful geographic context.


With global coverage and scalable infrastructure, Ambee’s Reverse Geocoding API supports use cases across climate and environmental monitoring, logistics, fleet management, mobility platforms, travel experiences, customer analytics, location tagging workflows, and more.

Aerial city grid — location services converting coordinates to addresses

Industry-ready reverse geocoding applications  

Environmental monitoring

Environmental monitoring

Map sensor and weather station coordinates for localized reporting, analysis, and incident monitoring.

Customer data management

Location analytics

Visualize customer and service data geographically to uncover trends, demand, and market opportunities.

Environmental monitoring

Travel & navigation

Add street, landmark, and locality context to GPS locations for smarter routing and navigation.

Supply chain

Media & photo tagging

Automatically tag photos and videos with accurate location metadata from GPS or EXIF data.

Real estate

Logistics & last-mile delivery

Validate delivery locations and audit routes to reduce failed drop-offs and improve efficiency.

Insurance and risk analytics

Insurance & claims

Match incident coordinates to verified addresses for faster claims and better risk assessment.

Insurance and risk analytics

Connected devices & IoT

Turn GPS telemetry into structured location data for tracking, monitoring, and event logging.

Insurance and risk analytics

Marketing & ad targeting

Build geo-targeted campaigns and audience segments using location intelligence from device data.

Why developers trust Ambee for reverse geocoding    

Global coverage

Global coordinate resolution

Convert latitude and longitude pairs into structured addresses across cities, postal regions, landmarks, and administrative boundaries worldwide through a single REST API endpoint.

Forward and reverse geocoding

Multilingual responses

Request localized address labels and place names using the Accept-Language header, with English supported by default for consistent global deployments.

Real-time response speeds

Developer-first API architecture

Integrate using REST endpoints, API key authentication, JSON responses, Postman collections, and implementation-ready code samples supported by detailed technical documentation.

Structured geographic context

Enterprise-scale infrastructure

Support high-volume reverse geocoding workloads reliably, from single-location requests to large-scale telemetry, analytics, and batch geospatial processing pipelines.

Getting started with Ambee’s Reverse Geocoding API

Content copy iconCheck icon
import http.client

conn = http.client.HTTPSConnection("api.ambeedata.com")

headers = {
    'x-api-key': "API_KEY",
    'Content-type': "application/json"
}

conn.request("GET", "/geocode/reverse/by-lat-lng?lat=42.66548262280807&lng=-73.79192663186527", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
Content copy iconCheck icon
const http = require("https");

const options = {
	"method": "GET",
	"hostname": "api.ambeedata.com",
	"port": null,
	"path": "/geocode/reverse/by-lat-lng?lat=42.66548262280807&lng=-73.79192663186527",
	"headers": {
		"x-api-key": "API_KEY",
		"Content-type": "application/json"
	}
};

const req = http.request(options, function (res) {
	const chunks = [];

	res.on("data", function (chunk) {
		chunks.push(chunk);
	});

	res.on("end", function () {
		const body = Buffer.concat(chunks);
		console.log(body.toString());
	});
});

req.end();
Content copy iconCheck icon
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
	.url("https://api.ambeedata.com/geocode/reverse/by-lat-lng?lat=42.66548262280807&lng=-73.79192663186527")
	.get()
	.addHeader("x-api-key", "API_KEY")
	.addHeader("Content-type", "application/json")
	.build();

Response response = client.newCall(request).execute();
Content copy iconCheck icon
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
	Method = HttpMethod.Get,
	RequestUri = new Uri("https://api.ambeedata.com/geocode/reverse/by-lat-lng?lat=42.66548262280807&lng=-73.79192663186527"),
	Headers =
	{
		{ "x-api-key", "API_KEY" },
	},
};
using (var response = await client.SendAsync(request))
{
	response.EnsureSuccessStatusCode();
	var body = await response.Content.ReadAsStringAsync();
	Console.WriteLine(body);
}
Content copy iconCheck icon
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.ambeedata.com/geocode/reverse/by-lat-lng?lat=42.66548262280807&lng=-73.79192663186527"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "API_KEY")
	req.Header.Add("Content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
Content copy iconCheck icon
<?php

$curl = curl_init();

curl_setopt_array($curl, [
	CURLOPT_URL => "https://api.ambeedata.com/geocode/reverse/by-lat-lng?lat=42.66548262280807&lng=-73.79192663186527",
	CURLOPT_RETURNTRANSFER => true,
	CURLOPT_ENCODING => "",
	CURLOPT_MAXREDIRS => 10,
	CURLOPT_TIMEOUT => 30,
	CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
	CURLOPT_CUSTOMREQUEST => "GET",
	CURLOPT_HTTPHEADER => [
		"Content-type: application/json",
		"x-api-key: API_KEY"
	],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
	echo "cURL Error #:" . $err;
} else {
	echo $response;
}
Content copy iconCheck icon
curl --request GET \
	--url 'https://api.ambeedata.com/geocode/reverse/by-lat-lng?lat=42.66548262280807&lng=-73.79192663186527' \
	--header 'Content-type: application/json' \
	--header 'x-api-key: API_KEY'
Content copy iconCheck icon
require 'uri'
require 'net/http'

url = URI("https://api.ambeedata.com/geocode/reverse/by-lat-lng?lat=42.66548262280807&lng=-73.79192663186527")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = 'API_KEY'
request["Content-type"] = 'application/json'

response = http.request(request)
puts response.read_body
Content copy iconCheck icon
{
    "message": "success",
    "data": [
        {
            "lat": 42.66548262280807,
            "lng": -73.79192663186527,
            "address": {
                "label": "723 Yates St, Albany, NY 12208, United States",
                "countryCode": "USA",
                "countryName": "United States",
                "stateCode": "NY",
                "state": "New York",
                "city": "Albany",
                "district": "Pine Hills",
                "street": "Yates St",
                "postalCode": "12208",
                "houseNumber": "723"
            }
        }
    ]
}
Content copy iconCheck icon
{
    "message": "success",
    "data": [
        {
            "countryCode": "US",
            "postalCode": "67123-9630",
            "city": "Potwin",
            "placeName": "NW 120th St",
            "lat": 38,
            "state": "Kansas",
            "division": "Butler",
            "PM25": 7.244794324242575,
            "PM10": 31.630507819643963,
            "NO2": 5.296335376565732,
            "SO2": 0.16864221223097375,
            "CO": 0.1869163036883965,
            "OZONE": 27.915852956730046,
            "AQI": 30,
            "updatedAt": "2024-07-08T07:00:00.000Z",
            "lng": -97
        }
   ]
}
01

Get your API key

Sign up for an Ambee account and generate your API key from the dashboard.

02

Choose your endpoint

Select the endpoint based on what you need: present conditions, historical data, or forecasts.

03

Add your location

Specify the location using latitude/longitude coordinates, postal codes, city names, or country codes.

04

Make your request

Include your API key in the request header and call the endpoint. You'll receive AQI and all seven pollutant concentrations in JSON format.

Why leading teams build with Ambee

Real feedback from real innovators

Innovid Testimonial
Delivering personalized, relevant experiences is critical for advertisers trying to increase the performance of their messaging. The beauty of DCO is when you have a high-quality API like Ambee’s pollen count - you can turn that into creative experiences directly tuned to the real-world circumstances of your audience.
Simeon Powers
Product Marketing, Ad Management, Innovid
navia life care testimonial
We tried out Ambee’s Weather and Pollen API for our healthcare app. I must say our users were certainly pleased with the results. The data was comprehensive, accurate, and valuable, which helped with the user's decision-making process. Ambee’s team was really supportive during integration and for regular maintenance as well. Would definitely recommend working with them.
Kunal Kishore Dhawan
Co-founder and CEO of Navia Life Care
WPP Testimonial
In an ever-changing world, it’s imperative that we understand the environmental changes and act upon these in the right way. Ambee keeps us in tune with our environment and is key to creating better outcomes for people.
Vipul Parmar
Global Head of Data Management
VitalFlo Testimonial
We monitor the impacts of AQ on the health outcomes of asthma and COPD patients. Ambee gives great access to hyperlocal data to help us monitor acute respiratory health events.
Luke Marshall
CEO and Founder of VitalFlo
ADYLIC Testimonial
It has helped Adylic showcase the power of utilizing API in personalizing ads. In this case, we were able to target users' needs at the right time based on the user's location.
Stefanie Wong
DCO Specialist, Adylic
Razor Testimonial
Solving climate change requires collaboration across industries. Hence, Razor partnered with Ambee to make reliable, real-time, and accurate data available to the blockchain.
Hrishikesh Huilgolkar
CEO
NASA Testimonial
The PACE Science and Applications Team is thrilled to be working with partners like Ambee, who bring a fresh perspective to our work and ensure that the PACE mission will provide societal benefit.
Lorraine Remer
Atmospheric Scientist, University of Maryland, Baltimore County
Allegra Testimonial
Ambee has been a tremendous partner for Allegra. The quality of their air quality data, combined with their end-to-end development solutions and customer-oriented mindset, has made them the right partner for us.
Jordana Barish
North America Zone Head for Allegra
Datarade Testimonial
We’re happy to have Ambee’s AI-ready datasets listed on Datarade…Ambee is meeting increased global demand for environmental intelligence with its suite of data products. Now that these data products are available on Datarade, organizations worldwide will be able to access, sample, and ingest them for a range of crucial use cases.
Richard Hoffmann
Co-founder of Datarade
Seek Testimonial
Ambee's proprietary climate data, brought to life through apps on Insight Cloud, makes forecasting faster, smarter, and simpler than ever. Teams can now instantly access Ambee's world-class climate expertise in minutes on Insight Cloud...answering tomorrow's questions, today.
Erik Mitchell
CEO of Seek

Enhance reverse geocoding with the Ambee Climate Data Suite

Pollen

30+ pollen allergens categorized into trees, grasses, and weeds

Pollen API

Air Quality

All major pollutants with location-specific air quality indices

Ambee Air Quality API

Weather

All core meteorological and atmospheric parameters, including many derived fields

Ambee Weather API

Astronomy

Local sunrise, sunset, azimuth, and elevation data for any location

Ambee Astronomy API

Influenza-like Illness

30-day risk forecasts for respiratory illness, including cold and cough

Ambee ILI API

Natural disasters

All major disasters in a geospatial format with severity levels and event metadata

Ambee natural disaster API

Wildfire

Wildfire activity and behavior with forward-looking risk forecasts

Ambee Wildfire API

Frequently asked questions

Common questions about Ambee's Reverse Geocoding API

  • What is reverse geocoding API?

    The reverse geocoding API is a service by Ambee that converts geographic coordinates (latitude and longitude) into a human-readable address.

  • What are the key features of Ambee's reverse geocoding API?


    Some key features of Ambee's Reverse Geocoding API include global coverage, lightning-fast conversion, easy integration, scalable infrastructure, accuracy, precision, and developer-friendly documentation.

  • How can Ambee's reverse geocoding API benefit businesses?

    Businesses can benefit from this API by utilizing reverse geocoding to translate coordinates into location names for climate and environmental monitoring, location analytics, travel information, and location tagging. It helps make informed business decisions and enhances user experience.

  • Where can I find documentation for Ambee's reverse geocoding API integration?

    On our documentation page, you can access comprehensive API documentation, code samples, and dedicated support channels for Ambee's reverse geocoding API.

  • How can I get started with Ambee's reverse geocoding API and obtain an API key?

    To get started, you can obtain a geocoding API key from Ambee's API dashboard. With this key, you can make instant API calls for your unique use case. A sample response is provided to help you understand how the API call works.

Build location-aware experiences with reverse geocoding