This IP Geolocation Data Extractor API provides fast and reliable insights from any IP address, delivering detailed location and network information in a single request. By simply passing an IP address, the API returns structured JSON data including country, region, city, geographic coordinates (latitude and longitude), and continent details, making it ideal for location-based services and analytics.
Beyond basic geolocation, the API also offers enriched metadata such as postal codes, calling codes, capital city, and neighboring countries. It includes timezone data with UTC offset, daylight saving time status, and timezone identifiers, which is especially useful for scheduling systems, global applications, and time-sensitive services.
One of the key advantages of this API is its network intelligence capabilities. It provides connection-level information such as ASN (Autonomous System Number), ISP (Internet Service Provider), organization name, and associated domain. This makes it highly valuable for cybersecurity, fraud detection, traffic analysis, and user profiling.
The API also identifies whether the IP belongs to the European Union, helping businesses comply with regional regulations such as GDPR. Additionally, it returns country flags in multiple formats, including image URLs and emoji representations, which can be easily integrated into user interfaces.
{"country":"United States"}
curl --location --request GET 'https://zylalabs.com/api/12385/ip+geolocation+data+extractor+api/23401/country+detection&country=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{"ip":"8.8.8.8","success":true,"type":"IPv4","continent":"North America","continent_code":"NA","country":"United States","country_code":"US","region":"California","region_code":"CA","city":"Mountain View","latitude":37.3860517,"longitude":-122.0838511,"is_eu":false,"postal":"94039","calling_code":"1","capital":"Washington D.C.","borders":"CA,MX","flag":{"log":"1","emoji":"\ud83c\uddfa\ud83c\uddf8","emoji_unicode":"U+1F1FA U+1F1F8"},"connection":{"asn":15169,"org":"Google LLC","isp":"Google LLC","domain":"google.com"},"timezone":{"id":"America/Los_Angeles","abbr":"PDT","is_dst":true,"offset":-25200,"utc":"-07:00"}}
curl --location --request GET 'https://zylalabs.com/api/12385/ip+geolocation+data+extractor+api/23406/ip+details&ip=Required' --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 "GET Country detection" endpoint returns the country associated with a given IP address. The "GET IP Details" endpoint provides comprehensive data, including country, city, geographic coordinates, ISP, ASN, timezone, and enriched metadata like postal codes and calling codes.
Key fields in the "GET IP Details" response include "ip," "country," "region," "city," "latitude," "longitude," "isp," "asn," "timezone," and "flag." Each field provides specific insights about the IP address's location and network.
The response data is structured in JSON format, with key-value pairs. For example, the "GET IP Details" response includes nested objects for "connection" (ISP and ASN) and "timezone" (UTC offset and DST status), making it easy to parse and utilize.
The "GET Country detection" endpoint provides the country name for an IP address. The "GET IP Details" endpoint offers detailed information, including city, geographic coordinates, ISP, ASN, timezone, postal codes, and whether the IP is from the EU.
The API aggregates data from multiple reliable sources, including regional internet registries, ISP databases, and geolocation services. This ensures a comprehensive and accurate representation of IP geolocation information.
Typical use cases include location-based services, fraud detection, cybersecurity analysis, traffic analysis, and user profiling. Businesses can leverage this data for targeted marketing, compliance with regulations, and optimizing user experiences.
Users can customize requests by specifying the IP address they want to analyze. The API automatically processes the request and returns relevant data based on the provided IP, ensuring tailored insights for each query.
Users can integrate the returned data into applications for geolocation services, analytics dashboards, or compliance checks. For example, the timezone data can be used to schedule events accurately across different regions.
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