🧭 What is the Geocoding API?
The Geocoding API allows you to convert addresses into geographic coordinates (latitude and longitude), and vice versa. It’s commonly used in mapping applications to place markers, calculate distances, or perform location-based searches.
With the GoMaps API, you get the same powerful functionality as Google’s Geocoding API, but on a custom domain: https://maps.gomaps.pro.
📚 GoMaps Geocoding API Documentation
🗺️ Endpoint for Forward Geocoding (Address → Coordinates)
URL:
Method: GET
Query Parameters:
Parameter | Description | Required |
---|---|---|
address | The address to geocode. | Yes |
key | Your GoMaps API key. | Yes |
Example Request:
📍 Endpoint for Reverse Geocoding (Coordinates → Address)
URL:
Method: GET
Query Parameters:
Parameter | Description | Required |
---|---|---|
latlng | The latitude/longitude (comma-separated) | Yes |
key | Your GoMaps API key. | Yes |
Example Request:
🧾 Sample JSON Response (Forward Geocoding)
🧾 Sample JSON Response (Reverse Geocoding)
🔐 Authentication
You must include your GoMaps API key as a query parameter:
If your API key is missing or invalid, you will receive a response like:
✅ Use Cases
-
Show location markers on a map.
-
Convert user-typed addresses into coordinates.
-
Reverse geocode device GPS positions into readable addresses.
-
Power address autocompletion and validation tools.