DEV Community

Vikram Sharma
Vikram Sharma

Posted on

2 2

Google Geocoding API Overview

Google Geocoding API is part of Google’s developer APIs that allows developers to translate between human-readable location addresses to location coordinates. For example, your office address can be converted to its geographical location coordinates, defined in latitude and longitude. This is called geocoding. This API also supports reverse geocoding wherein a location coordinate pair can be converted to its approximate location address. In this article I will present an overview of Google Geocoding API.

Google Maps Geocoding API has a freemium pricing model, so you can opt for the BASIC subscription and make 500 API calls per month.

Endpoints

This API has two endpoints

  • GET Geocoding
  • GET Reverse Geocoding

The API also returns the details of address components, contained in the address_components key, starting from the street name, all the way up to the country name.

If you interface this App with the Google Maps Geocoding API’s ‘Geocoding’ endpoint, then for the address shown in the app screen, you will get this result.

You got the location coordinates of the customer which can be saved for future navigation purposes. You can also verify this coordinate on Google Maps to confirm the address.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay