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.
{
"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.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
991ms
Service Level:
100%
Response Time:
2,140ms
Service Level:
100%
Response Time:
947ms
Service Level:
100%
Response Time:
1,024ms
Service Level:
100%
Response Time:
1,520ms
Service Level:
100%
Response Time:
406ms
Service Level:
100%
Response Time:
271ms
Service Level:
100%
Response Time:
249ms
Service Level:
100%
Response Time:
462ms
Service Level:
100%
Response Time:
117ms