| IP Address | |
| City | Update |
| Region | |
| Country |
|
| Postal Code | |
| European Union | |
| Latitude / Longitude | |
| Time Zone | |
| Calling Code | |
| Currency | |
| Languages | |
| ASN | |
| Org | |
Proud to earn awesome feedback from our fantastic Customers
I tried other geolocation services but none are that accurate as @ipapi_co is. via Twitter
What a fantastic job you've done with ipapi. I am a new customer, recently switched over from [..] due to all sorts of issues, and find your service to be of the utmost quality. It is truly making my life easier as a developer, so thank you, and keep up the good work !
Wow thanks for the snippet! I don't think I've gotten support like this from a tech company, ever.
Thank you for your quick reply and even more so, for your eagle-eyes!
Thanks a lot for a fast and thorough response - it's greatly appreciated ! [...] it worked like a charm.
Always 5* support with you guys!
Should add, really happy with the simplicity of the service you guys provide.
I want to show my appreciation to @ipapi_co they saved my day ! Thank you! via Twitter
IP Location API
Powerful & Simple REST API
for IP Address Geolocation
Get started for free !
Just copy the cURL command on the right & paste it in a shell or refer to the API docs below for examples in Ruby, Python, PHP, JavaScript, Java, Node.js, jQuery, C#, Go and more.
Find helpful articles, tutorials, open source libraries & packages.
Ready to go into production with a reliable & scalable API ?
Compare & subscribe to a suitable
plan.
Got Queries ? We take great pride in our customer support.
Find IP location in JSON format
{
curl https://ipapi.co/8.8.8.8/json/
"ip" : "8.8.8.8"
"city" : "Mountain View"
"region" : "California"
"region_code" : "CA"
"country_code" : "US"
"country_code_iso3" : "USA"
"country_name" : "United States"
"country_capital" : "Washington"
"country_tld" : ".us"
"continent_code" : "NA"
"in_eu" : false
"postal" : "94035"
"latitude" : 37.386
"longitude" : -122.0838
"timezone" : "America/Los_Angeles"
"utc_offset" : "-0700"
"country_calling_code" : "+1"
"currency" : "USD"
"currency_name" : "Dollar"
"languages" : "en-US,es-US,haw"
"asn" : "AS15169"
"org" : "Google LLC"
Specific field for an IP address
curl https://ipapi.co/8.8.8.8/city/
curl https://ipapi.co/8.8.8.8/latitude/
curl https://ipapi.co/8.8.8.8/latlong/
curl https://ipapi.co/8.8.8.8/org/
curl https://ipapi.co/8.8.8.8/country/
US
Mountain View
37.3845
37.384500,-122.088100
Google Inc.
(field : ip, city, region, country, postal, latitude, longitude, timezone, latlong, asn, org, etc.)
Pricing Plans
Transparent Pricing
⋆ Secure Payment
⋆ Easy Cancellation
Warning ! Please enable Javascript for payments
Annual
Monthly
Free Trial
Please contact us for a trial
30 000*
* Up-to 1000 / day
$15
billed monthly
60 000
60 K / month
$25
billed monthly
150 000
150 K / month
$49
billed monthly
500 000
500 K / month
$99
billed monthly
2 000 000
2 M / month
$199
billed monthly
6 000 000
6 M / month
$399
billed monthly
15 000 000
15 M / month
$12
billed $144 / year
60 000
60 K / month
$20
billed $240 / year
150 000
150 K / month
$39
billed $468 / year
500 000
500 K / month
$79
billed $948 / year
2 000 000
2 M / month
$159
billed $1908 / year
6 000 000
6 M / month
$319
billed $3828 / year
15 000 000
15 M / month
I agree to the Terms , Privacy Policy & and recurring charges for the selected subscription until I cancel.
We support Credit / Debit Card / Paypal / Apple Pay / ACH / Cheque / Cryptocurrency (Bitcoin, Litecoin & other Altcoins) & more. If your preferred payment method is not available with the pay option above or if you wish to make a corporate purchase please contact us. All prices are in USD.
|
HTTPS / SSL
Secure API to find IP location |
|
|
Production ready & scalable
Seamless upgrades as traffic grows. No code changes |
|
|
E-Mail support
Expert help with API usage, integration / issues |
|
|
Usage alerts
E-Mail alerts warn you before you run out of quota |
|
|
API to monitor usage
Transparently track your usage & control costs |
|
|
Bulk IP lookup
Get location of multiple IP addresses with a GUI |
|
|
Flexible IPv4 / IPv6 support
Use modern 'IPv4 and IPv6' or legacy 'IPv4 only' |
|
|
Enhanced Privacy
Contact us to bypass IP query logging |
|
| Select | |
|
HTTPS / SSL
Secure API to find IP location |
|
|
Suitable for testing / development
Not for production use |
|
| No Support | |
| No usage alerts | |
| No usage monitoring | |
| Limited Bulk IP lookup | |
| Standard IPv4 / IPv6 support | |
|
Standard Privacy
IP queries stored in logs (your data is still safe) |
|
| Try Free | |
FAQ
An IP Lookup is defined as finding the geographical location (or related information like currency, timezone etc.) of an IP address. The lookup can be done either with our API or website. For example, with a plan of 60,000 IP Lookups / month, you can find the location of 60,000 IP addresses in a month. Each conversion of IP address to location is counted as a lookup (repeat queries of the same IP address counts as a separate lookup).
We offer subscription plans with monthly & annual billing options. You can choose a plan based on your expected monthly IP address lookup requirement. This IP lookup limit can be changed by upgrading or downgrading your plan. You'll receive an API key along with usage instructions when you sign-up for a paid plan.
You can change your plan anytime from the account dashboard or by sending us a message. Plan upgrades are applied instantly. Downgrades take effect from the start of a new billing cycle.
You will receive an API authentication token and usage instructions on sign-up. The token should be included as a query string in your API requests. It shouldn't take more than a minute to implement this tiny change when you switch from a free plan to a paid plan. If you have any concerns or need assistance with the setup, please feel free to contact us.
We have a hassle free, no questions asked cancellation policy. You can cancel your subscription anytime from the account dashboard or by sending us a message or e-mail (you'll receive the details on sign-up). Once your plan is cancelled, you won't be billed anymore but your plan will continue to work till the end of your billing cycle.
Yes, we offer a free IP location plan for trial & evaluation of our service. Please contact us with your requirements. We would be happy to help you out.
Under the free trial, you get up-to 1000 IP lookups in a day (approximately 30K/month). The plan is suitable for testing & development purposes. It is not meant for use in production or deployments. The system may use heuristics to further restrict free trial API calls under certain conditions. If you are unable to access the free plan, please contact us. We would be happy to help you out.
We use a secure, PCI compliant payment provider to handle credit & debit card transactions. We never view or store any customer’s full credit or debit card details on our platform. Our primary payment processor is Stripe. It has been audited by an independent PCI QSA and is certified as a PCI Level 1 Service Provider. This is the most stringent level of certification available in the payments industry.
The API is suitable for a website, mobile or desktop app to automatically find the location of an IP address. If you need to perform bulk lookup, we offer a separate GUI tool covered under the same subscription plan. If you expect an uncommon usage or traffic pattern, please contact us to ensure that the API will be suitable for you. For further details, please see our terms of service & privacy policy
What makes us the
Best IP Address Location
for thousands of businesses worldwide
Fast
Blazing fast IP Lookup that scales rapidly as your usage grows.
Secure
HTTPS for everyone. Your privacy & security is our top priority.
Reliable
Built on AWS, our infrastructure provides high availability and scalability. We use multiple independent services to monitor our API uptime & performance. View API Status and Incident Report
Support
We obsess over top-notch customer support, 365 days a year. Every ticket is reviewed by a qualified developer.
Global
Our customers range from startups to Fortune 500 from all over the globe. See what they have to say about us.
Economical
Competitive & transparent pricing. Flexible Plans. Don't hesiate to reach out with your budget.
Accurate
One of the most comprehensive IPv4 & IPv6 coverage. Database updated daily.
Use cases of IP Geolocation
-
Customize the content of your website / mobile app for a user's geographical location.
(e.g. news, weather, store locations, currency, flag etc.) -
Automatically redirect visitors to a region or country specific websites.
- Find your external IP address with an API.
-
Display a user's location on a map.
-
Automatically detect & display a user's IP / city / country / timezone from your website or mobile app.
(HTML location tracking not needed) -
Bulk IP lookup - a tool for batch lookup of IP addresses.
(e.g. for network analytics, log files etc.) -
Filter out bad bots & crawlers based on region / country.
- A format that fits your stack : JSON, JSONP, XML, CSV & YAML.
- Supported languages : PHP, JavaScript, Python, Java, Ruby, Go, C#, C, C++ and more.