Sign Up

Log In

Google Geocoding

FREE
By shatsar
Updated an hour ago
8.8/10
Popularity Score
34ms
Latency
100%
Success Rate

Google Geocoding API Documentation

This is a simple, unofficial wrapper for Google Geocoding API

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
GETGeocode
GETGeocode

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.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
addressSTRING
REQUIREDThe address that you want to geocode
sensorBOOLEAN
REQUIREDwhether or not the geocoding request comes from a device with a location sensor
Optional Parameters
languageSTRING
OPTIONALThe language in which to return results
boundsSTRING
OPTIONALThe bounding box of the viewport within which to bias geocode results more prominently
regionSTRING
OPTIONALThe region code, specified as a ccTLD ("top-level domain") two-character value
Request Snippet
unirest.get("https://michele-zonca-google-geocoding.p.rapidapi.com/geocode/json?language=undefined&bounds=undefined&region=undefined&address=<required>&sensor=false")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://michele-zonca-google-geocoding.p.rapidapi.com/geocode/json?language=undefined&bounds=undefined&region=undefined&address=<required>&sensor=false")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard