Reverse Geocoding

Example Request URL

curl -s \
"https://api.nettoolkit.com/v1/geo/reverse-geocodes?latitude=38.897401&longitude=-77.036562&key=$your_key_here"

Resource Information

Response format
JSON
Authentication
Yes (Requires Key)

Parameters

key
The API Key, which is needed to make requests to Geocode services.
latitude
The latitude that the user want to reverse geocode.
longitude
The longitude that the user want to reverse geocode.

Sample JSON output

curl -s \
"https://api.nettoolkit.com/v1/geo/reverse-geocodes?latitude=38.897401&longitude=-77.036562&key=$your_key_here"
{
  "code":1000,
  "http_status_code":200,
  "query":{
    "coordinates":"38.897401, -77.036562"
  },
  "results":[{
    "address":"White House, 1600, Pennsylvania Avenue Northwest, Golden Triangle, Washington, District of Columbia, 20500, United States of America",
    "latitude":38.8976989,
    "longitude":-77.036553292281,
    "house_number":"1600",
    "street":"Pennsylvania Avenue Northwest",
    "street_name":"Pennsylvania",
    "street_type":"Avenue",
    "city":"Washington",
    "state":"District of Columbia",
    "state_code":"DC",
    "postal_code":"20500",
    "precision":"street_segment",
    "provider":"OpenStreetMap",
    "ntk_geocode_time":65
  }]
}