The Ambee location service API currently include geocoding and reverse geocoding APIs. Geocoding involves converting a human-readable address or place name into geographic coordinates, typically latitude and longitude. On the other hand, reverse geocoding operates in the opposite way, transforming geographic coordinates into meaningful location descriptors like addresses, landmarks, or place names.
Retrieve real-time, up-to-the-minute wildfire data for locations globally.
Transform human-readable addresses into geographical coordinates, such as latitude and longitude.
Example: 1600 Amphitheatre Parkway, Mountain View, CA, into the coordinates 37.423021 (latitude) and -122.083739 (longitude).
x-api-key
Content-type
Accept-Language
place
https://api.ambeedata.com/geocode/by-place?place=new york
const http = require("https");
const options = {
"method": "GET",
"hostname": "api.ambeedata.com",
"port": null,
"path": "/geocode/by-place?place=new york",
"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();
Converting geographical coordinates, such as latitude and longitude, into human-readable addresses.
For instance: 37.423021 (latitude) and -122.083739 (longitude) into the address '1600 Amphitheatre Parkway, Mountain View, CA.
Enter geographical coordinates—latitude and longitude—and obtain the names of nearby locations.
x-api-key
Content-type
Accept-Language
lat
lng
https://api.ambeedata.com/geocode/reverse/by-lat-lng?lat=42.66548262280807&lng=-73.79192663186527
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();
Next
Playground
Yes
No