CINXE.COM
Regularly Updated Real-Time IP Geolocation API | DB-IP
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <meta charset="utf-8"> <title>Regularly Updated Real-Time IP Geolocation API | DB-IP</title> <meta name="description" content="From basic IP address to location to cyber threat analysis, the DB-IP Geolocation API offers top performance and easy IP lookup via secure JSON web services. Learn more about our API here and choose from our Basic, Core, or Extended versions to download today." /> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, shrink-to-fit=no"> <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700&display=swap" rel="stylesheet"> <link rel="canonical" href="https://db-ip.com/api/" /> <link rel="stylesheet" href="/css/dbip.css" /> <link rel="search" href="https://db-ip.com/search.xml" type="application/opensearchdescription+xml" title="DB-IP" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" /> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" /> <link rel="manifest" href="/manifest.json" /> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#007bff" /> <meta name="theme-color" content="#007bff" /> <script async src="https://www.googletagmanager.com/gtag/js?id=G-4TPGRVC5H7"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-4TPGRVC5H7'); </script> <!-- to be removed 2023-07 --> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-32777297-1']); _gaq.push(['_setDomainName', 'db-ip.com']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body> <div id="pagetop"></div> <!--[if lt IE 7]> <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p> <![endif]--> <div class="container-fluid"> <div id="particles-js" class="navbarcontainer"> <nav class="navbar navbar-expand-lg navbar-dark"> <a class="navbar-brand" href="/"><img src="/logo/ip-geolocation-api.png" width="48" height="32" alt="IP Geolocation API and database" /></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav"> <li class='nav-item'><a class='nav-link active' href='/api/'>API</a></li><li class='nav-item'><a class='nav-link' href='/api/doc.php'>Developers</a></li><li class='nav-item'><a class='nav-link' href='/db/'>Database</a></li><li class='nav-item'><a class='nav-link' href='/tools/'>Tools</a></li><li class='nav-item'><a class='nav-link' href='/about/'>Statistics</a></li><li class='nav-item'><a class='nav-link' href='/faq.php'>FAQ</a></li> </ul> <form method="POST" class="form-inline ml-4 mr-2" role="search"> <div class="input-group"> <input id="search_input" type="text" name="address" class="form-control m-0" value="" placeholder="Lookup IP address" data-placement="bottom" title="Lookup IP address" data-content="Explore our API information by entering any IPv4 or IPv6 address in the search bar above." data-trigger="hover" /> <div class="input-group-append"> <button type="submit" class="btn lightblue"> <i class="fa fa-search" aria-hidden="true"></i> <span class="sr-only">Search</span> </button> </div> </div> </form> <span class="navbar-text ml-3 d-none d-lg-inline-block"><a href="/account/" class="h2" title="Customer sign-in"><i class="fa fa-user-circle"></i></a></span> </div> </nav> </div> <section class="space-lg"> <div class="container"> <div class="title head"> <div class="sub purple">API</div> <h3 class="main">IP Geolocation API</h3> </div> <ul class="nav nav-pills mb-3"> <li class="nav-item"> <a class="nav-link active" href="/api/basic/" aria-selected="true">BASIC API</a> </li> <li class="nav-item"> <a class="nav-link" href="/api/core/" aria-selected="false">CORE API</a> </li> <li class="nav-item"> <a class="nav-link" href="/api/extended/" aria-selected="false">EXTENDED API</a> </li> </ul> </div> </section> <section class="space-xl lightblue-bg"><div class="container"> <div class="row justify-content-between"> <div class="col-lg api-container"> <div class="product-head"> <img src="/img/basic-api.svg"/> <div class="product-detail"> <div class="product-title">Basic <strong>API</strong></div> <div class="product-pricing">Starting at <strong>8.29 € / month</strong></div> </div> </div> <div class="product-description">The Basic IP geolocation API provides all the information of the Free API and adds detailed location data. The Basic API includes advanced location data such as GPS coordinates, district, zip code, timezone and the unique place identifier in the Geonames open database.</div> </div> <div class="col-lg code-container"> <div class="browser"> <div class="code"> <pre style="max-height:25rem"><code class="language-json">{ "ipAddress": "123.45.67.89", "continentCode": "NA", "continentName": "North America", "countryCode": "US", "countryName": "United States", "isEuMember": false, "currencyCode": "USD", "currencyName": "Dollar", "phonePrefix": "1", "languages": [ "en-US", "es-US", "haw", "fr" ], "stateProvCode": "CA", "stateProv": "California", "district": "Santa Clara County", "city": "Mountain View", "geonameId": 5375480, "zipCode": "94043", "latitude": 37.3861, "longitude": -122.084, "gmtOffset": -7, "timeZone": "America\/Los_Angeles", }</code></pre> </div> </div> </div> </div> </div></section> <section class="space-xl grey-bg"> <div class="container"> <ul class='list-unstyled feature'><li class='col-lg-6 ok'><b>Free trial</b></li><li class='col-lg-6 ok'>Continent/Country codes and names</li><li class='col-lg-6 ok'>Currency and international phone prefix</li><li class='col-lg-6 ok'>State or Province</li><li class='col-lg-6 ok'>City</li><li class='col-lg-6 ok'>Latitude and Longitude</li><li class='col-lg-6 ok'>Timezone</li><li class='col-lg-6 nok'>Weather station code</li><li class='col-lg-6 nok'>AS number and access to <a href='/api/doc.php#asinfo' target='_blank'>AS API</a></li><li class='col-lg-6 nok'>Live currency conversions with <a href='/api/jsdoc.php#currencies' target='_blank'>dbip.js</a></li><li class='col-lg-6 nok'>Internet Service Provider</li><li class='col-lg-6 nok'>Organization name</li><li class='col-lg-6 nok'>Connection type</li><li class='col-lg-6 nok'>Threat level assessment and details</li><li class='col-lg-6 nok'>Crawler and proxy detection</li></ul> </div> </section> <section class="space-lg"> <div class="container"> <div class="title head"> <div class="sub purple">Our offers</div> <h3 class="main">Basic API pricing</h3> </div> <div class="row pricing justify-content-between"> <div class="col-lg-4"> <div class="plan-container starter shadow api_choice"> <div class="plan"> <div class="plan-name">Starter</div> <div class="plan-price"> 8.29 € <small class="convert-currency h6" data-amount="8.29" data-currency="EUR" data-format="- approx. {amount} -"></small> </div> <div class="plan-period">Per month</div> </div> <div class="plan-details"> <div class="plan-request">2,000 - 50,000</div> <div class="plan-request-period">Requests per day</div> <ul> <li>API over HTTPS</li> <li>50+ languages</li> <li>256 IPs batch queries</li> <li>Single CORS domain</li> <li>Email support</li> </ul> <a class="btn lightblue-bg" href="/api/key/LOC10"><i class='fa fa-check'></i> Free trial</a> </div> </div> </div> <div class="col-lg-4"> <div class="plan-container premium shadow api_choice highlight"> <div class="plan"> <div class="plan-name">Premium</div> <div class="plan-price"> 99.90 € <small class="convert-currency h6" data-amount="99.90" data-currency="EUR" data-format="- approx. {amount} -"></small> </div> <div class="plan-period">Per month</div> </div> <div class="plan-details"> <div class="plan-request">200,000 - 1,000,000</div> <div class="plan-request-period">Requests per day</div> <ul> <li>API over HTTPS</li> <li>50+ languages</li> <li>256 IPs batch queries</li> <li><b>up to 5 CORS domains</b></li> <li><b>99.95% uptime guarantee</b></li> <li><b>Priority support</b></li> </ul> <a class="btn lightblue-bg" href="/api/key/LOC200"><i class='fa fa-check'></i> Free trial</a> </div> </div> </div> <div class="col-lg-4"> <div class="plan-container enterprise shadow api_choice"> <div class="plan"> <div class="plan-name">Enterprise</div> <div class="plan-price"> 499.90 € <small class="convert-currency h6" data-amount="499.90" data-currency="EUR" data-format="- approx. {amount} -"></small> </div> <div class="plan-period">Per month</div> </div> <div class="plan-details"> <div class="plan-request">Unlimited</div> <div class="plan-request-period">Requests per day</div> <ul> <li>API over HTTPS</li> <li>50+ languages</li> <li>Unlimited batch queries</li> <li><b>Unlimited CORS domains</b></li> <li><b>99.99% uptime guarantee</b></li> <li><b>Dedicated infrastructure</b></li> <li><b>Priority support</b></li> </ul> <a class="btn white" href="/contact/"><i class='fa fa-envelope'></i> Contact us</a> </div> </div> </div> </div> </div> </section> <section class="space-xl grey-bg"> <div class="container"> <div class="container text-center"> <h2 class="h5 mb-5">Contact Us to Learn More About IP Address Location API Pricing and Subscription Plans</h2> <p class="small text-justify">If you would like to learn more about our IP location API subscription plans and pricing, <a href="/contact/">contact us</a> today. We’ll discuss the cost of IP geolocation APIs we offer based on the plan, and can help you determine which plan is right for you based on your needs. We work to keep our IP geolocation API pricing affordable to give you the best tool you’ll find anywhere. You can learn more about our various API products and get what you need with one of our three plans, including our Starter, Premium, and Enterprise plans</p> <br /><br /> <a href="/api/doc.php" class="btn pink"><i class="fa fa-code"></i> Documentation</a> <br /><br /> <a href="https://github.com/dbip/api-client" class="btn lightblue"><i class="fa fa-github"></i> GitHub</a> </div> </div> </section> <script> function dbipOnLoad() { dbip.convertCurrencies(".convert-currency"); } </script> <footer class="footer"> <div class="container"> <div class="row"> <div class="col-lg-3"> <ul class="list-unstyled"> <li> <a href="https://db-ip.com/"><img loading="lazy" width="180" height="112" src="/img/footer-logo.svg"></a> <p>The ultimate resource for IP address geolocation and network intelligence</p> </li> </ul> </div> <div class="col-lg-3"> <h5 class="">Company</h5> <ul class="list-unstyled"> <li> <a href="/api/">IP Geolocation API</a> </li> <li> <a href="/db/">IP Geolocation Database</a><br /> </li> <li> <a href="/api/doc.php">Developers</a> </li> <li> <a href="/tools/">Geolocation tools</a> </li> <li> <a href="/about/">Statistics</a> </li> <li> <a href="/account/">Customer sign-in</a><br /> </li> </ul> </div> <div class="col-lg-3"> <h5 class="">Resources</h5> <ul class="list-unstyled"> <li> <a href="/faq.php">FAQ</a> </li> <li> <a href="/tutorials/">Tutorials</a> </li> <li> <a href="/articles/">Articles</a> </li> <li> <a href="/all/">Browse IPs</a><br /> </li> <li> <a href="/asn/">ASN List</a><br /> </li> <li> <a href="https://stats.uptimerobot.com/l75BNSRBk">Service status</a><br /> </li> </ul> </div> <div class="col-lg-3"> <h5 class="">Get in touch</h5> <ul class="list-unstyled contact"> <li> Eris Networks S.A.S<br/> 62 boulevard Jean Mermoz<br/> 22700 Perros-Guirec<br/> France </li> <li> <a href="/contact/">Email contact</a> </li> </ul> </div> </div> <div class="row bottom-footer"> <div class="col-8">© 2024 db-ip.com - <a href="/tos.php">Terms of service</a> - <a href="/privacy.php">Privacy policy</a> - <a href="/affiliate/">Affiliate program</a></div> </div> </div> </footer> </div> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="/js/vendor/jquery-1.11.3.min.js"><\/script>')</script> <script src="//cdnjs.cloudflare.com/ajax/libs/tether/1.3.1/js/tether.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integritity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> <script async src="/js/vendor/prism.js"></script> <script src="https://cdn.db-ip.com/js/dbip.js" data-api-key="p31e4d59ee6ad1a0b5cc80695a873e43a8fbca06"></script> <script src="https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js"></script> <script> $(function() { // search bar popover $("#search_input").popover(); particlesJS('particles-js', { "particles": { "number": { "value": 80, "density": { "enable": true, "value_area": 700 } }, "color": { "value": "#ffffff" }, "shape": { "type": "circle", "stroke": { "width": 0, "color": "#000000" }, "polygon": { "nb_sides": 5 }, "image": { "src": "img/github.svg", "width": 100, "height": 100 } }, "opacity": { "value": 0.5, "random": false, "anim": { "enable": false, "speed": 1, "opacity_min": 0.1, "sync": false } }, "size": { "value": 5, "random": true, "anim": { "enable": false, "speed": 40, "size_min": 0.1, "sync": false } }, "line_linked": { "enable": true, "distance": 150, "color": "#ffffff", "opacity": 0.4, "width": 1 }, "move": { "enable": true, "speed": 1, "direction": "none", "random": false, "straight": false, "out_mode": "out", "attract": { "enable": false, "rotateX": 600, "rotateY": 1200 } } }, "interactivity": { "detect_on": "window", "events": { "onhover": { "enable": true, "mode": "bubble" }, "onclick": { "enable": true, "mode": "push" }, "resize": true }, "modes": { "grab": { "distance": 400, "line_linked": { "opacity": 1 } }, "bubble": { "distance": 131.8597012778406, "size": 15.982994094283706, "duration": 2, "opacity": 0.39957485235709267, "speed": 3 }, "repulse": { "distance": 0, "duration": 0.4 }, "push": { "particles_nb": 1 }, "remove": { "particles_nb": 2 } } }, "retina_detect": true, "config_demo": { "hide_card": false, "background_color": "#b61924", "background_image": "", "background_position": "50% 50%", "background_repeat": "no-repeat", "background_size": "cover" } } ); // call page specific onLoad if (typeof dbipOnLoad === "function") { dbipOnLoad.call(); } $(".free_download_link").click(function(ev) { if (!$("#license_agree").prop("checked")) { alert("You must first read and agree to the licensing terms."); ev.preventDefault(); return false; } }); }); (function( w ){ "use strict"; if( !w.loadCSS ){ w.loadCSS = function(){}; } var rp = loadCSS.relpreload = {}; rp.support = (function(){ var ret; try { ret = w.document.createElement( "link" ).relList.supports( "preload" ); } catch (e) { ret = false; } return function(){ return ret; }; })(); rp.bindMediaToggle = function( link ){ var finalMedia = link.media || "all"; function enableStylesheet(){ if( link.addEventListener ){ link.removeEventListener( "load", enableStylesheet ); } else if( link.attachEvent ){ link.detachEvent( "onload", enableStylesheet ); } link.setAttribute( "onload", null ); link.media = finalMedia; } if( link.addEventListener ){ link.addEventListener( "load", enableStylesheet ); } else if( link.attachEvent ){ link.attachEvent( "onload", enableStylesheet ); } setTimeout(function(){ link.rel = "stylesheet"; link.media = "only x"; }); setTimeout( enableStylesheet, 3000 ); }; rp.poly = function(){ if( rp.support() ){ return; } var links = w.document.getElementsByTagName( "link" ); for( var i = 0; i < links.length; i++ ){ var link = links[ i ]; if( link.rel === "preload" && link.getAttribute( "as" ) === "style" && !link.getAttribute( "data-loadcss" ) ){ link.setAttribute( "data-loadcss", true ); rp.bindMediaToggle( link ); } } }; if( !rp.support() ){ rp.poly(); var run = w.setInterval( rp.poly, 500 ); if( w.addEventListener ){ w.addEventListener( "load", function(){ rp.poly(); w.clearInterval( run ); } ); } else if( w.attachEvent ){ w.attachEvent( "onload", function(){ rp.poly(); w.clearInterval( run ); } ); } } if( typeof exports !== "undefined" ){ exports.loadCSS = loadCSS; } else { w.loadCSS = loadCSS; } }( typeof global !== "undefined" ? global : this ) ); </script> </body> </html>