Methods
- Geocode
Geocode (GET)
Geocoding is the process of converting addresses into geographic coordinates (like latitude 37.423021 and longitude -122.083739), which you can use to place markers or position the map.
Parameters
The address that you want to geocode
For example: "1600 Amphitheatre Parkway, Mountain View, CA"
whether or not the geocoding request comes from a device with a location sensor
For example: "true"
The bounding box of the viewport within which to bias geocode results more prominently
The region code, specified as a ccTLD ("top-level domain") two-character value
The language in which to return results
Results
This result field has no description
An entry for each component of the provided address
This result field has no description
For example: "Amphitheatre Pkw"
This result field has no description
For example: "Route"
This result field has no description
For example: "Amphitheatre Pkwy"
Long address format
For example: "1600 Amphitheatre Pkwy, Mountain View, CA 94043, US"
Type of result
For example: "street_address"
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
This result field has no description
Resulting coordinates
The resulting longitude
For example: "37.4219720"
The resulting latitude
For example: "-122.0841430"
result status
For example: "OK"
Example
{"results":[{"address_components":[{"long_name":"Amphitheatre Pkw","types":["Route"],"short_name":"Amphitheatre Pkwy"}],"formatted_address":"1600 Amphitheatre Pkwy, Mountain View, CA 94043, US","types":["street_address"],"geometry":{"viewport":{"southwest":{"lng":123,"lat":123},"northeast":{"lng":123,"lat":123}},"location_type":"sample value","location":{"lng":37.4219720,"lat":-122.0841430}}}],"status":"OK"}
JSON (Learn how)
GET http://9v9ej6LPNude4Z22hBhP0v3um.proxy.mashape.com/geocode/json?address=A-VALUE&sensor=A-VALUE&bounds=A-VALUE®ion=A-VALUE&language=A-VALUE
- The required parameters have a yellow background, while the optional are gray
- Authentication: Request a valid _token before making the API call. Learn how.


running