menu

Home

search

Location services

Introduction

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.

Geocoding

Retrieve real-time, up-to-the-minute wildfire data for locations globally.

Geocoding - Placewise search

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).

Try Playgroundarr
GET
https://api.ambeedata.com/geocode/by-place
Details
Request
Response

Headers

x-api-key

string
required
Unique key obtained after signup.
Allowed Value:
LANGUAGE_CODE
Default Value:
English

Content-type

string
optional
Default Value:
application/JSON

Accept-Language

string
optional
Specify your language with English as the default language.
Allowed Value:
LANGUAGE_CODE
Default Value:
English

Query Parameters

place

string
required
Name of the location to be searched.
SAMPLE URL
https://api.ambeedata.com/geocode/by-place?place=new york
SAMPLE REQUEST
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();

Reverse geocoding

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.

Reverse geocoding - Geospatial search

Enter geographical coordinates—latitude and longitude—and obtain the names of nearby locations. 

Try Playgroundarr
GET
https://api.ambeedata.com/geocode/reverse/by-lat-lng
Details
Request
Response

Headers

x-api-key

string
required
Unique key obtained after signup.
Allowed Value:
LANGUAGE_CODE
Default Value:
English

Content-type

string
optional
Default Value:
application/JSON

Accept-Language

string
optional
Specify your language with English as the default language.
Allowed Value:
LANGUAGE_CODE
Default Value:
English

Query Parameters

lat

number
required
Latitude of the search location.
Allowed Value:
Latitude must be between -90 and 90

lng

number
required
Longitude of the search location.
Allowed Value:
Longitude must be between -180 and 180
SAMPLE URL
https://api.ambeedata.com/geocode/reverse/by-lat-lng?lat=42.66548262280807&lng=-73.79192663186527
SAMPLE REQUEST
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();

Search

search-icon

All

APIs

Integrations

Webhooks

Map Tiles

Changelog


Was this page helpful?
happy-emoji

Yes

sad-emoji

No