The Geographic Locator API delivers extensive information about geographic locations based on address input. It offers a structured response that includes several key elements essential for understanding location-specific details. The data is organized into key components, enabling users to access accurate information about the area of interest.
Central to the response is the results matrix, which features individual entries for each location. Each entry contains comprehensive information, starting with the address components. This matrix breaks down the address into its fundamental parts, such as street number, route, locality, administrative zones, country, and postal code. Each component is provided with both a long name and a short name, facilitating detailed visualization alongside a concise representation. The types associated with each component clarify their role within the overall address structure, distinguishing elements like street, city, state, and country.
In summary, the Geographic Locator API is a robust resource for obtaining detailed geographic information. It organizes location data by breaking down addresses into manageable components while providing crucial geographic context. Whether for application development, mapping solutions, or enhancing user navigation experiences, this API is an invaluable tool for accurately interpreting and utilizing location data across a variety of applications.
To use this endpoint you must specify an address in the parameter.
Geolocation - Endpoint Features
| Object | Description |
|---|---|
address |
[Required] Indicate an address such as (1600 Amphitheatre Parkway, Mountain View, CA) |
{
"results" :
[
{
"address_components" :
[
{
"long_name" : "Google Building 43",
"short_name" : "Google Building 43",
"types" :
[
"premise"
]
},
{
"long_name" : "1600",
"short_name" : "1600",
"types" :
[
"street_number"
]
},
{
"long_name" : "Amphitheatre Parkway",
"short_name" : "Amphitheatre Pkwy",
"types" :
[
"route"
]
},
{
"long_name" : "Mountain View",
"short_name" : "Mountain View",
"types" :
[
"locality",
"political"
]
},
{
"long_name" : "Santa Clara County",
"short_name" : "Santa Clara County",
"types" :
[
"administrative_area_level_2",
"political"
]
},
{
"long_name" : "California",
"short_name" : "CA",
"types" :
[
"administrative_area_level_1",
"political"
]
},
{
"long_name" : "United States",
"short_name" : "US",
"types" :
[
"country",
"political"
]
},
{
"long_name" : "94043",
"short_name" : "94043",
"types" :
[
"postal_code"
]
},
{
"long_name" : "1351",
"short_name" : "1351",
"types" :
[
"postal_code_suffix"
]
}
],
"formatted_address" : "Google Building 43, 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA",
"geometry" :
{
"bounds" :
{
"northeast" :
{
"lat" : 37.4218484,
"lng" : -122.0828618
},
"southwest" :
{
"lat" : 37.4212954,
"lng" : -122.0850674
}
},
"location" :
{
"lat" : 37.4215419,
"lng" : -122.0840108
},
"location_type" : "ROOFTOP",
"viewport" :
{
"northeast" :
{
"lat" : 37.42292828029149,
"lng" : -122.0826156197085
},
"southwest" :
{
"lat" : 37.4202303197085,
"lng" : -122.0853135802915
}
}
},
"place_id" : "ChIJgz9fdgK6j4AR3EL1yn1L-Mo",
"types" :
[
"premise"
]
}
],
"status" : "OK"
}
curl --location --request GET 'https://zylalabs.com/api/5145/geographic+locator+api/6565/geolocation?address=1600 Amphitheatre Parkway, Mountain View, CA' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
To use this API users must enter a number, street name, city, state and type of address to compose a complete address.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
The Geographic Locator API identifies and retrieves geographic coordinates and location data, enabling applications to track and analyze user positions.
The Geographic Locator API receives location queries and provides structured output, including address components, formatted addresses, geographic coordinates, place IDs, and status information, facilitating effective location identification and mapping.
Besides the number of API calls per month, there are no other limitations.
The Geographic Locator API returns structured data about geographic locations, including address components, geographic coordinates, and location types. Each response includes detailed entries for each location based on the provided address.
Key fields in the response data include "address_components," which breaks down the address into parts like street number, route, locality, and country, along with their respective long and short names and types.
The response data is organized in a results matrix, where each entry corresponds to a location. Each entry contains an array of address components, allowing users to easily access and interpret detailed location information.
The API provides information such as detailed address components (e.g., street number, route, locality), geographic coordinates (latitude and longitude), and location types, which help in understanding the context of the location.
Users can customize their data requests by specifying different address parameters in the API call. This includes providing complete addresses or partial address components to retrieve specific location details.
In the response, "long_name" and "short_name" represent the full and abbreviated forms of address components, while "types" indicate the role of each component (e.g., "locality" for city names, "route" for street names).
Typical use cases include application development for mapping services, enhancing user navigation experiences, and location-based analytics, where accurate geographic information is crucial for functionality.
Data accuracy is maintained through regular updates and quality checks from reliable geographic data sources. This ensures that the information provided by the API reflects current and precise location details.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
570ms
Service Level:
100%
Response Time:
39ms
Service Level:
100%
Response Time:
133ms
Service Level:
100%
Response Time:
1,017ms
Service Level:
100%
Response Time:
123ms
Service Level:
100%
Response Time:
638ms
Service Level:
100%
Response Time:
268ms
Service Level:
100%
Response Time:
756ms
Service Level:
50%
Response Time:
181ms
Service Level:
83%
Response Time:
564ms
Service Level:
100%
Response Time:
16,709ms
Service Level:
100%
Response Time:
258ms
Service Level:
100%
Response Time:
1,417ms
Service Level:
100%
Response Time:
187ms
Service Level:
100%
Response Time:
309ms
Service Level:
100%
Response Time:
287ms
Service Level:
100%
Response Time:
315ms
Service Level:
100%
Response Time:
601ms
Service Level:
100%
Response Time:
639ms
Service Level:
100%
Response Time:
2,756ms