54.166.130.157

IP Address54.166.130.157
CityAshburn
Region Virginia
Country
US / United States
Postal Code20149
European UnionFalse
Latitude / Longitude39.048100, -77.472800
Time Zone America/New_York (-0400)
Calling Code+1
CurrencyUSD
Languagesen-US,es-US,haw,fr
ASNAS14618
OrgAmazon.com, Inc.

API : Quick Start
Simple & fast programmatic IP address lookup for your website & mobile app

Complete location in JSON format for an IP address (8.8.8.8)
curl https://ipapi.co/8.8.8.8/json/

{
"ip" : "8.8.8.8"
"city" : "Mountain View"
"region" : "California"
"region_code" : "CA"
"country" : "US"
"country_name" : "United States"
"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"
"languages" : "en-US,es-US,haw"
"asn" : AS15169
"org" : "Google LLC"
}
Specific field for an IP address (8.8.8.8)
curl https://ipapi.co/8.8.8.8/country/
US
curl https://ipapi.co/8.8.8.8/city/
Mountain View
curl https://ipapi.co/8.8.8.8/latitude/
37.3845
curl https://ipapi.co/8.8.8.8/latlong/
37.384500,-122.088100
curl https://ipapi.co/8.8.8.8/org/
Google Inc.
(field : ip, city, region, country, postal, latitude, longitude, timezone, latlong, asn, org, etc.)

Pricing Plans
⋆ Instant setup   ⋆ Transparent pricing   ⋆ Secure payment

Annual
Monthly
Price / month
Requests / month
Warning ! Please enable Javascript to process payment
Free
No SignUp Required
30 000*
* 1000 / day

FAQ


We offer subscription plans with monthly & annually billing options. You can choose a plan based on your expected monthly request limit. The request limit can be changed by upgrading or downgrading your plan.
Plan upgrades are applied instantly with pro-rated charges. Downgrades take effect from next billing cycle. On sign-up, you will receive instructions on how to change your plan.
We have a hassle free cancellation policy. Just drop us an e-mail or contact us here. (You'll these receive details on sign-up). Once your plan is cancelled, you won't be billed anymore but your plan will work till the end of your billing cycle.
We offer a free plan for trial & testing with no time limit. No signup or credit card is required to use it. If you require a higher limit trial plan, please contact us. We would be happy to help you out.

Under the free tier, you get up-to 1000 requests in a day (approximately 30K/month). The plan is suitable for development purposes but not recommended for production. The system may use heuristics to further restrict free tier API calls under certain conditions.
We use Stripe, a secure online payment gateway to handle online payments. Stripe meets and exceeds the most stringent industry standards for security. Stripe has been audited by a PCI Qualified Security Assessor (QSA) and is certified as a PCI Level 1 Service Provider. This is the most stringent level of certification available.
Please contact us for any changes to your plan or payment method.
By using our website or API, you agree to the terms of service & privacy policy
See our general FAQ or send us a message here.




Why choose us ?

We strive to offer the best IP address location API
Speed
A blazing fast API with infrastructure that scales automatically with load.
Security
All calls over HTTPS. Encrypted payment handling.
Reliability
Over 99.99% uptime with best in class compute infrastructure. View API status.
Global
Diverse client base includes firms in e-commerce, logistics, automotive, gaming, SaaS etc. located all over the globe.
Economical
Competitive & transparent pricing. Flexible Plans.
Accuracy
IPv4 & IPv6 support. Database updated regularly.

Why do I need an IP lookup API ?

  • Automatically detect & display a user's city / country / timezone / offset from your website or mobile app.
    (even if location tracking is turned off)
  • 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 users to country specific websites.
  • Find your external IP address with an API.
  • Display a user's location on a map.
    (accuracy ranges from city to postal code level)
  • Bulk IP lookup - a tool for batch lookup of IP addresses.
    (e.g. for user analytics, log files etc.)
  • Filter out bad bots & crawlers based on region / country.
  • A format that fits your stack : JSON, JSONP, XML, CSV & YAML.