Google Maps Geocoding
FREEMIUM
By googlecloud
Updated 6 months ago

Google Maps Geocoding API Documentation

Geocoding is the process of converting addresses (like "1600 Amphitheatre Parkway, Mountain View, CA") into geographic coordinates (like latitude 37.423021 and longitude -122.083739), which you can use to place markers on a map, or position the map.

Learn more about this API
GETReverse Geocoding
GETGeocoding
GETGeocoding

Latitude/Longitude Lookup

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
addressSTRING
REQUIREDThe street address that you want to geocode, in the format used by the national postal service of the country concerned. Additional address elements such as business names and unit, suite or floor numbers should be avoided.
Optional Parameters
boundsSTRING
OPTIONALbounds — The bounding box of the viewport within which to bias geocode results more prominently. This parameter will only influence, not fully restrict, results from the geocoder. (For more information see Viewport Biasing in the API Overview.)
componentsSTRING
OPTIONALA components filter with elements separated by a pipe (|). The components filter is also accepted as an optional parameter if an address is provided. Each element in the components filter consists of a component:value pair, and fully restricts the results from the geocoder. See more information about component filtering in the API Overview tab.
languageSTRING
OPTIONALThe language in which to return results. See the list of supported languages in API Overview tab.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication