A coordinate pair tells your application where a user is, but it does not tell the user what is there. By the end of this guide, you can call the Google Maps API’s What is here endpoint, read its address and nearby-place data, and handle the empty and inconsistent values shown in the documented response.
What the API returns
The Google Maps API on Zyla API Hub provides location-related endpoints. What is here accepts latitude and longitude and returns an address and nearby business information. The same listing also includes Search, Place Photos, and Place Reviews.
A travel application can use a coordinate lookup to label a map selection. A delivery interface can show the returned address for a pin, while a local discovery application can inspect the places array before displaying nearby businesses. In each case, the application should distinguish the coordinates the user supplied from the coordinates returned by the service.
Getting started on Zyla API Hub
Open the Google Maps API listing, create a free Zyla account if you need one, and select Subscribe or Start Free Trial when available. You receive an API key to use in the Authorization: Bearer YOUR_API_KEY header. The listing link at the end of this article takes you to the item page.
Zyla uses a subscription and quota model rather than pay-per-call billing. For a first API, the stated trial is seven days or 50 requests; check the API page for current access options and pricing. Zyla’s catalog includes more than 10,000 public APIs, accessible through one account and API key.
Look up what is at a coordinate
What is here uses GET at https://zylalabs.com/api/10107/google-maps-api/19306/what-is-here. Both documented query parameters are required strings: lat for latitude and lng for longitude.
The following request uses the documented Paris coordinates. Replace YOUR_API_KEY with your Zyla API key:
curl -s -X GET "https://zylalabs.com/api/10107/google-maps-api/19306/what-is-here?lat=48.8719556&lng=2.3415407" \
-H "Authorization: Bearer YOUR_API_KEY"
The documented response is:
{
"data": {
"address": "Faubourg-Montmartre, Paris, France",
"place_id": "0x47e66e3fad517d0b:0x97b1f34413ad0844",
"coordinates": {
"lng": 48.8740367,
"lat": 2.3422107
},
"timezone": "Europe/Paris",
"town": "Paris",
"country": "",
"country_name": "Faubourg-Montmartre, Paris, France",
"places": []
}
}
Use data.address for the returned location label and data.timezone when you need the location’s timezone. data.place_id identifies the returned place, while data.places is the field to inspect for nearby businesses. Here, places is empty and country is an empty string, so neither should be assumed to contain a displayable value.
There is an important coordinate discrepancy in this example: the request sends a latitude near 48 and a longitude near 2, but the response labels its value near 48 as lng and its value near 2 as lat. Do not silently swap those fields or assume they reproduce the input. Preserve the original request coordinates and verify the response behavior before using returned coordinates to position a map marker.
Call the endpoint from Python
This example uses Python’s standard library, calls the same URL, and prints the fields useful for a location label. It treats an empty places array as a valid result rather than assuming that every coordinate has a nearby business in the response.
import json
from urllib.error import HTTPError, URLError
from urllib.request import Request, urlopen
url = (
"https://zylalabs.com/api/10107/google-maps-api/"
"19306/what-is-here?lat=48.8719556&lng=2.3415407"
)
request = Request(
url,
headers={"Authorization": "Bearer YOUR_API_KEY"},
method="GET",
)
try:
with urlopen(request, timeout=30) as response:
payload = json.load(response)
except HTTPError as error:
print(f"HTTP error: {error.code}")
except URLError as error:
print(f"Request failed: {error.reason}")
else:
data = payload.get("data") or {}
print("Address:", data.get("address") or "Not returned")
print("Town:", data.get("town") or "Not returned")
print("Timezone:", data.get("timezone") or "Not returned")
print("Place ID:", data.get("place_id") or "Not returned")
print("Nearby places:", data.get("places") or [])
print("Returned coordinates:", data.get("coordinates") or {})
The timeout is a client-side setting, not an API guarantee. In production, keep the key out of committed source code, handle request failures in the calling application, and decide how your interface should behave when the address or nearby-place list is empty.
Other endpoints in the listing
The listing also provides the following endpoints. The Place Photos and Place Reviews descriptions refer to a Google Maps Place ID; consult the listing for how to supply it before integrating either endpoint.
- Place Photos:
GET https://zylalabs.com/api/10107/google-maps-api/19307/place-photosfetches photos of a specific place using its Place ID. - Place Reviews:
GET https://zylalabs.com/api/10107/google-maps-api/19305/place-reviewsretrieves user reviews for a specific business using its Place ID. - Search:
GET https://zylalabs.com/api/10107/google-maps-api/19301/searchhas the documented example below, usingqueryandzoom.
What is here returns a place_id, but the available examples do not establish how to pass that value to the photo or review endpoints. Check the listing’s endpoint details before building a handoff between them.
Official Search example
The listing also shows this Search request. It is separate from the coordinate-based What is here call:
curl -s -X GET "https://zylalabs.com/api/10107/google-maps-api/19301/search?query=Berlin&zoom=13" \
-H "Authorization: Bearer YOUR_API_KEY"
The published response is an excerpt; it ends partway through the photo list and is not a complete JSON document:
{
"status": "ok",
"data": [
{
"business_id": "0x47a84e373f035901:0x42120465b5e3b70",
"phone_number": null,
"name": "Berlin",
"full_address": "Berlin, Germany",
"full_address_array": [
"Germany"
],
"latitude": 52.520006599999995,
"longitude": 13.404954,
"review_count": null,
"rating": null,
"timezone": "Europe/Berlin",
"website": null,
"place_id": "ChIJAVkDPzdOqEcRcDteW0YgIQQ",
"place_link": "https://www.google.com/maps/place/data=!3m1!4b1!4m2!3m1!1s0x47a84e373f035901:0x42120465b5e3b70",
"types": null,
"price_level": null,
"working_hours": [],
"city": "Berlin, Germany",
"is_claimed": false,
"verified": true,
"is_permanently_closed": false,
"is_temporarily_closed": false,
"photos": [
{
"src": "https://lh3.googleusercontent.com/grass-cs/AABkmLffehkFWQeKJcoSb-1YW6L8asBOURQlYg7lDTzlg-TUUjHcP_iZA3YCo6lc1vSKHWpq9OwDIyiwB46OCe5IRwpsCCci5585tr4m6FnBlKPsaS3WVsEA1la8CVcIMhti5jyCmVBW=w203-h126-k-no",
"max_size": [
4963,
3102
],
"min_size": [
203,
100
]
},
{
"src": "https://lh3.googleusercontent.com/grass-cs/AABkmLcK-9P8aapCvGa0e5zeC2wBQm0Y01228VvLazWmPdE7yc_geBaO7DanSWf59BJSHospUgsiE7K6-VjWpB8b3c03ZfvnHzx3LwM50nvfCQ-DCaXA_fqLDhHnTrbcYAfCIzDumboTPQ=w203-h152-k-no",
"max_size": [
12000,
9000
],
"min_size": [
203,
100
]
},
{
"src": "https://lh3.googleusercontent.com/grass-cs/AABkmLfHzbwqyGh-qbjub4sgIBqFw1JqsU9wA-fOOAcEaQi24vqQnx47CebTSe9LxHMr6MfXW2M62qX94rtnpMeS9oFWfll0cW1avvFvgg1PWymyOTAen250DP6tK-Q_cVGIGL003WPOow=w203-h152-k-no",
"max_size": [
4032,
3024
],
"min_size": [
203,
100
]
},…
Search returns data as an array in this example, whereas What is here returns a data object. The Search excerpt also contains nullable fields such as rating and website; handle those separately from the empty strings and empty array shown in the coordinate response.
Use the result in an application or AI agent
For a map-pin workflow, retain the user’s submitted latitude and longitude, then show address as a returned label rather than as proof of an exact street address. The example returns a neighborhood label, and its response coordinates do not match the request’s field labels in the expected way.
For a local discovery screen, check whether places has entries before rendering a business list. When it is empty, show the address without implying that the service found a business. For a delivery or service-area workflow, let the user confirm or correct the location instead of relying solely on the returned label.
You can also connect an MCP-compatible client to the Zyla MCP endpoint. Configure the client with https://mcp.zylalabs.com/mcp?apikey=YOUR_API_KEY; Claude Code, Cursor, Windsurf, and other MCP-compatible clients can use the connection. Keep the key private, and have the agent distinguish an empty places result from a failed request.
FAQ
Which parameters does What is here require?
It requires lat and lng, both documented as strings. The request example uses 48.8719556 and 2.3415407, respectively.
Does every coordinate return nearby businesses?
The documented response contains an empty places array. Build the interface to handle that result without assuming a business will always be present.
Can I use the returned coordinates directly on a map?
Verify them first. In the documented example, the numeric ranges under the response’s lng and lat labels appear reversed relative to the request. Preserve the submitted coordinates separately.
How do I authenticate?
Send your Zyla API key in the header Authorization: Bearer YOUR_API_KEY. The examples use the Hub endpoint, so you do not need to add an origin access key.
Ready to test the coordinate lookup? Create a free account on Zyla API Hub, then Start 7-day trial on Google Maps API when available and get your API key. Check the listing for current access options and pricing.