Returns the location of the IP address hosting the URL domain. The response contains both the geographical coordinates (latitude/longitude) as well as the city and country.
Besides the number of API calls, there is no other limitation.
Returns the location of the IP address hosting the URL domain. The response contains both the geographical coordinates (latitude/longitude) as well as the city and country.
Lookup - Endpoint Features
| Object | Description |
|---|---|
url |
[Required] valid URL to check. It supports schemes (e.g. http://example.com) as well as schemeless (e.g. example.com) formats. |
{"is_valid": true, "country": "United States", "country_code": "US", "region_code": "NY", "region": "New York", "city": "New York", "zip": "10123", "lat": 40.7128, "lon": -74.006, "timezone": "America/New_York", "isp": "Edgecast Inc.", "url": "example.com"}
curl --location --request GET 'https://zylalabs.com/api/4250/url+hosting+address+api/5181/lookup?url=example.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 URL Hosting Address API, also known as the URL Lookup API, is a service that provides location information for any valid URL or domain name, aiding in determining the physical or virtual hosting location of websites.
The API utilizes various data sources and algorithms to analyze domain names and extract hosting location details, including IP address geolocation databases, DNS records, and WHOIS information.
The API offers a range of location details, including the country, city, region, latitude, and longitude associated with the hosting server of the specified URL or domain name.
The API strives to deliver accurate and reliable location information based on available data sources. However, accuracy may vary depending on factors such as the completeness of geolocation databases and the availability of updated WHOIS records.
The API provider may update its database regularly to ensure that location information remains current and accurate. However, users should refer to the API documentation for details on update frequency and data freshness.
The Lookup endpoint returns location data for the IP address hosting a specified URL. This includes geographical coordinates (latitude and longitude), city, region, country, postal code, ISP, and timezone.
Key fields in the response include "is_valid" (indicating URL validity), "country," "region," "city," "lat" (latitude), "lon" (longitude), "zip" (postal code), "timezone," and "isp" (Internet Service Provider).
The response data is structured in JSON format, with key-value pairs representing various location attributes. For example, a typical response includes fields like "country," "city," and "lat" for easy access to specific information.
The Lookup endpoint provides information about the hosting location, including geographical coordinates, city, region, country, postal code, ISP, and timezone, allowing users to analyze website hosting details comprehensively.
The Lookup endpoint primarily accepts a valid URL or domain name as a parameter. Users should ensure the URL is correctly formatted to receive accurate location data in the response.
Data accuracy is maintained through the use of reliable geolocation databases, regular updates, and quality checks. The API aggregates data from multiple sources to enhance reliability and minimize discrepancies.
Typical use cases include cybersecurity analysis to identify threats, content delivery optimization for improved performance, geotargeted advertising, compliance with data residency regulations, and website analytics for traffic analysis.
Users can leverage the returned data to make informed decisions, such as optimizing server locations for faster content delivery, tailoring marketing strategies based on geographic insights, and assessing potential security risks associated with websites.
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:
819ms
Service Level:
100%
Response Time:
796ms
Service Level:
100%
Response Time:
802ms
Service Level:
100%
Response Time:
1,124ms
Service Level:
100%
Response Time:
771ms
Service Level:
100%
Response Time:
1,062ms
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
335ms
Service Level:
100%
Response Time:
798ms
Service Level:
100%
Response Time:
254ms
Service Level:
100%
Response Time:
3,127ms
Service Level:
100%
Response Time:
3,127ms
Service Level:
100%
Response Time:
3,127ms
Service Level:
100%
Response Time:
3,127ms
Service Level:
100%
Response Time:
3,127ms
Service Level:
100%
Response Time:
1,440ms
Service Level:
100%
Response Time:
1,270ms
Service Level:
100%
Response Time:
756ms
Service Level:
100%
Response Time:
1,044ms
Service Level:
100%
Response Time:
3,667ms