Clean Powerful Light-Weight GeoIP API for Developers.

No Unneccessary data, clean JSON response

About Snoopi.io

Light-Weight API Quick Easy Integration


Snoopi.io is a light-weight API for software developers that are looking for something to integrate into their projects quickly, without the hassle of additional progamming.

Your IP Address:

Country
City
State
State ABV
Zip / Postal
Latitude
Longitude

Snoopi.io allows devleopers to search for geolocation of IP addresses. It uses a database of IP address that we compiled together with about 99% accuracy. With over 10 million IP addresses constantly change, we keep update our database weekly.

Free users are allowed up to 2,500 requests per day. If you need more than that, please get in touch, we are happy to have you as a customer right now and we already have numerous companies using the service at high volumne with over 800,000 requests per day.


  10
MILLION IP ADDRESSES
  95
PERCENT ACCURACY
  1500
DEVELOPERS

Example Code

The API takes GET and POST Requests in the following example. You can also download our PHP Example.


Response Object

Following is response from the service.

                        

Sample PHP Script

Below is a simple php script that calls the service. You must have cURL enabled on your server.

        <?PHP
            $QueryArr['apikey']='API_KEY';
            $QueryArr['user_ip_address']='IPADDRESS';
            
            $URLQuery =  urldecode(http_build_query($QueryArr, '', '&'));
                
            // create curl resource
            $ch = curl_init();
            curl_setopt($ch, CURLOPT_URL, "http://api.snoopi.io/v1/?" . $URLQuery);
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
            $output = curl_exec($ch);
            curl_close($ch);     
        
	        // The response comes back as a json string  
        	json_decode($output);    

        ?>
    

Easier Way

If you download snoopi.io.php class All you need to do is add your API_KEY and IP Address. Super simple setup.

        <?PHP
        require_once('snoopi.io.php');
            /// Retrieve IP Based on User's Remote Address 
            $iplocation = $_SERVER['REMOTE_ADDR'];
            $Snoopi = new Snoopi();
            
            $IPInfo = $Snoopi->GeoIPLocation($iplocation); 
            
            echo $IPInfo->City;
            echo $IPInfo->Region_Full;
        
        
 

        ?>
    

Download Code

Snoopi.io
Download

Release Notes

Updates to the Snoopi.io API


15Aug

BETA RELEASE OF SNOOPI.IO August 15, 2015 - v0.1.0

Release the first version of Snoopi.io 0.1.0 Beta. Snoopi.io flexible light-weight GeoIP API for developers. I put this service together because I noticed it was really difficult getting the right GeoIP service providers up and running, the free ones had out dated information, larger providers like Maxmind and Google had bunch of un-needed data making more work to parse through the json feeds.

20Sep

Added State Abbreviation September 20, 2015 - v0.1.01

Added Abbreviation to the JSON response. Per customer request. Instead of just getting "State: Florida" you will see "State 2: FL"

28Oct

GeoIP Database Updated October 28, 2015

Updated and Added close to 100,000 IP Records for November

08Nov

GeoIP Database Updated November 8, 2015

Updated IP Database for November

02Dec

GeoIP Database Updated December 2, 2015

Updated IP Database for December

Our Pricing

You get 14,000 Daily Requests for Free. Free account is limited to 10 requests per minute.
You can purchase more requests with no limitations for $0.0015 per request.
* Note: You don't need an API Key for Free Account.


FREE

Starter

Free Account. You can use the API for free as long as you want.


Learn More

$20

100,000 Requests

For individuals looking for something simple to get started.


Learn More

$50

175,000 Requests

For individuals looking for something simple to get started.


Learn More

$100

300,000 Requests

For individuals looking for something simple to get started.


Learn More

If you need more requests, please feel free to contact us. We can accommodate enterprise accounts.

Share Your Thoughts

We can't solve problems by using the same kind of thinking we used when we created them.

Contact Us

You're having trouble using the API, Or have Questions or Simple have a request for us to add.
Please use the form below. We'll get right back to you.


Drop us a line or just say Hello!

Thank You! Your message successfully sent!
[SMTP] Error! Internal server error!
Sorry! You need to complete all mandatory (*) fields!