The IP Geolocation API

The IP Geolocation API

The IP Geolocation API is a web-based service that allows developers and businesses to identify the physical location of a device or computer using its IP address.

API description

About the API: 

Companies often use IP geolocation APIs for a variety of purposes, such as fraud prevention, targeted advertising and compliance with regional laws.

The IP Geolocation process involves assigning an IP address to a specific location on earth, such as a city or country. IP addresses are unique numeric identifiers assigned to devices connected to the Internet and can be used to identify the location of a device. This is achieved by using databases of IP addresses and their corresponding geographic locations.

Provides an easy-to-use interface for the developer to access these databases and retrieve location information based on an IP address. Typically, an API will provide various data, such as the location's latitude and longitude coordinates, country and region, time zone, and other relevant information. Developers can integrate this information into their applications and services to enhance their functionality and capabilities.

One of the main use cases is fraud prevention. By analyzing the location of a device accessing a service or performing a transaction, companies can identify and prevent fraudulent activity. For example, if a user attempts to log in from an unusual or unexpected location based on past behavior, it can trigger a fraud alert and require additional authentication measures.

Another common use case is targeted advertising. By knowing a user's location, companies can deliver more relevant and personalized ads. For example, a local restaurant can offer promotions or deals to users within a certain radius of their location.

Overall, IP Geolocation APIs are powerful tools for enterprises and developers looking to enhance the functionality and capabilities of their applications and services. By providing access to accurate and up-to-date location information, these APIs enable businesses to make more informed decisions and deliver a better user experience to their customers.


What your 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. Fraud prevention: Businesses can use IP geolocation to identify suspicious activity, such as a user logging in from a different country than usual, and prevent fraudulent transactions.

  2. Targeted advertising: IP geolocation can be used to serve ads to users based on their location, allowing businesses to target specific markets or demographics.

  3. Content localization: Websites can use IP geolocation to automatically display content in the user's preferred language or currency based on their location.

  4. Network security: IP geolocation can be used to identify potential security threats and block access from suspicious IP addresses.

  5. Website analytics: IP geolocation can provide valuable insights into website traffic, allowing businesses to better understand their audience and optimize their website for different regions.


Are there any limitations to your plans?

Besides API call limitations per month, there are no other limitations.

API Documentation


To use this endpoint you must insert the ip you want to process in the parameter.


Process ip - Endpoint Features
Object Description
query [Required]
Test Endpoint



Process ip - CODE SNIPPETS

curl --location --request GET '' --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 The IP Geolocation 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)

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

Useful links: