IP to Location API

IP to Location API

The IP to Location API accurately determines the geographic location associated with an IP address, providing valuable geolocation data.

API description

About the API:  

The IP to Location API is a powerful tool that allows you to retrieve detailed information about an IP address. With this API, you can obtain valuable information about the location and other metadata associated with an IP address. Whether you are building a website, a mobile application or a network monitoring system, this API provides a wealth of data to enhance the functionality of your application.

By leveraging the IP to Location API, you can determine the geographic location of an IP address. This includes the country, region, and the latitude and longitude coordinates associated with the IP. This information is especially useful for applications that require personalized content or targeted advertising based on the user's location. It also allows you to detect and prevent fraudulent activity by verifying the IP location with the user's declared location.

In addition, the API provides the time zone, the location, which allows you to display localized timestamps or schedule events based on the user's time zone. This is especially valuable in applications that require time-sensitive actions or time zone-specific functionality.

The API is designed for easy integration, with RESTful endpoints and support for multiple programming languages.

Whether you are building a geolocation service, a fraud detection system, a content personalization platform or a network monitoring tool, the IP to Location API gives you a complete data set to enhance your application's capabilities. By leveraging the wealth of information it provides, you can optimize user experiences.


What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.


What are the most common uses cases of this API?

  1. Geolocation: The API is commonly used to determine the geographic location of an IP address. This information is valuable for a variety of applications, such as targeting localized content, delivering region-specific advertising, or providing location-based services.

  2. Fraud prevention: Leveraging the API, companies can detect and prevent fraudulent activities. They can compare the location of the IP address with the location declared by the user to identify potentially suspicious behavior, such as mismatched IP and billing addresses.

  3. Content localization: Websites or applications can use the API to personalize content based on the user's location. This enables personalized experiences, such as displaying localized language, currency or relevant regional information.

  4. Ad targeting: Advertisers can leverage the API to target ads based on the user's geographic location. This ensures that ads are relevant and increases the likelihood of engagement by displaying ads specific to the user's region.

  5. Digital Rights Management (DRM): Streaming platforms or content providers can use the API to enforce regional restrictions and ensure that content is only accessible from authorized locations, preventing unauthorized access or content piracy.

Are there any limitations to your plans?

Besides the number of API calls, there is no other limitation.

API Documentation


To use this endpoint all you have to do is insert an IP address.

GET https://zylalabs.com/api/2137/ip+to+location+api/1932/get+ip+information

Get Ip information - Endpoint Features
Object Description
address [Required]
Test Endpoint


                                                                                                                                                                                                                            {"is_valid": true, "country": "Netherlands", "country_code": "NL", "region_code": "NH", "region": "North Holland", "city": "Amsterdam", "zip": "1012", "lat": 52.3676, "lon": 4.90414, "timezone": "Europe/Amsterdam", "isp": "Aceville Pte.ltd.", "address": ""}

Get Ip information - CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/2137/ip+to+location+api/1932/get+ip+information?address=' --header 'Authorization: Bearer YOUR_API_KEY' 


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the IP to Location API REST API, simply include your bearer token in the Authorization header.


Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

The IP to Location API allows you to retrieve detailed information about an IP address, including its geolocation and other metadata.

The API provides information such as country, region, latitude, longitude, ISP and other data associated with a given IP address.

The API relies on various data sources, such as regional registries, ISP and geolocation databases, to accurately map an IP address to its corresponding geographic location.

Yes, the API can be used for IP tracking or monitoring applications to collect information about users' IP addresses as they interact with your system.

The API may impose limits to ensure fair use and prevent abuse. Please refer to the API plans for specific details on limits.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
 Response Time



Related APIs