This API provides an efficient and reliable solution for obtaining comprehensive information from a domain. When a domain is sent as an input parameter, the service returns accurate data related to the associated IP address, geographic location details, organization information, and other relevant attributes. It is a tool designed for developers, security analysts, technology companies, and any project that needs to enrich its systems with network and location information.
The data returned includes the IP address corresponding to the domain, as well as indicators of whether or not anycast is used. It also provides the city, region, and country of the IP, along with latitude and longitude coordinates that allow the location to be accurately represented on maps or georeferencing systems. In addition, it offers details about the organization responsible for the IP address, including the autonomous system (AS) number and the name of the associated company, which is very useful for identifying service providers or large technology corporations.
Another relevant aspect is the postal information, which provides the ZIP code associated with the location, and the time zone, which helps to understand the temporal dimension of operations related to that address. This data is extremely valuable in cases of cybersecurity, fraud prevention, traffic analysis, user segmentation, and market research.
Get detailed information on IP, geographic location, ASN, organization, city, region, country, zip code, and time zone.
Location - Endpoint Features
| Object | Description |
|---|---|
domain |
[Required] Enter a domain |
{
"ip": "142.250.124.113",
"anycast": false,
"city": "Melbourne",
"region": "Victoria",
"country": "AU",
"loc": "-37.8140,144.9633",
"AS": "AS15169 Google LLC",
"org": "Google LLC",
"postal": "3000",
"timezone": "Australia\/Melbourne"
}
curl --location --request GET 'https://zylalabs.com/api/10254/domain+location+extractor+api/19763/location?domain=google.com' --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.
The Location endpoint returns detailed information including the IP address, geographic location (city, region, country), organization details (ASN, company name), postal information (ZIP code), time zone, and whether anycast is used.
Key fields in the response include "ip" (IP address), "city" (city name), "region" (state or province), "country" (country name), "zip" (postal code), "timezone" (time zone), and "asn" (autonomous system number).
The response data is structured in a JSON format, with key-value pairs for each data field. This allows for easy parsing and integration into applications, enabling developers to access specific information efficiently.
Data accuracy is maintained through regular updates from reliable sources, including IP registries and geographic databases. Continuous monitoring and validation processes ensure the information remains current and precise.
Typical use cases include cybersecurity analysis, fraud prevention, traffic analysis, user segmentation for marketing, and market research, where understanding the geographic and organizational context of IP addresses is crucial.
Users can customize their requests by specifying the domain they wish to analyze as a parameter in the GET request. This allows for targeted data retrieval based on specific domains of interest.
If the API returns partial or empty results, users should check the input domain for accuracy. Additionally, implementing error handling in the application can help manage unexpected responses and provide fallback options.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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:
11,971ms
Service Level:
100%
Response Time:
635ms
Service Level:
100%
Response Time:
449ms
Service Level:
100%
Response Time:
587ms
Service Level:
100%
Response Time:
417ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
2,379ms
Service Level:
100%
Response Time:
285ms
Service Level:
100%
Response Time:
201ms
Service Level:
100%
Response Time:
123ms
Service Level:
100%
Response Time:
20ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
1,884ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
1,541ms
Service Level:
100%
Response Time:
379ms
Service Level:
100%
Response Time:
1,545ms
Service Level:
100%
Response Time:
2,061ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
327ms