Geocoding API

Try our Geocoding API

The Reverse Geocoding APIs allow you to identify a user’s location using their geocoordinates (latitudes and longitudes). The APIs provide locality information such as country, state, city, and postal code with a high level of accuracy.

You can use this information for hyper-local content localisation and customer/ads targeting.

Geocodes

Lat
Lon

Geocode API Endpoint

https://dayadora.com/api/v1/locate/geo_code?lat=37.4027209&lon=-122.1811821&api={API_KEY}
$.ajax({
    url: "https://dayadora.com/api/v1/locate/geo_code?lat=37.4027209&lon=-122.1811821",
    type: "GET",
    cache: false,
    datatype: "json",
    headers: {
        "Authorization": "Bearer {API_KEY}"
    },
    success: function(response) {
        console.log(response);
    },
    error: function(response) {
    	console.log(response);
    }
});					
					

Optional Parameters

Key Values
api {api_key}

Response Success

Status Code Output
success 200 {returns: 'json_object'}
error 202 {message: "Your API limit for requesting Geocode Location data has been consumed."}
error 400 {message: "invalid coordinates. expecting latitude in (+\/- 90) and longitude in (+\/- 180) range values"}

Response Error

Status Code Output
error 403 {message: "Forbidden. Unauthorized access"}

JSON Results

Fetching result...