Location Object

Location object is returned with each API response. It is actually the matched location for which the information has been returned.

It returns information about the location including geo points, name, region, country and time zone information as well.

When using Search or Autocomplete API following fields are NOT returned tz_id, localtime_epoch and localtime.

Field Data Type Description
lat decimal Latitude in decimal degree
lon decimal Longitude in decimal degree
name string Location name
region string Region or state of the location, if availa
country string Location country
tz_id string Time zone name
localtime_epoch int Local date and time in unix time
localtime string Local date and time