|  | 
										
											|  |  
											| 
													
														|  |  
														| IP2Location™ IP-Country Web Service [WS1] |  
														|  |  |  
											|  |  
											| 
													
														|  |  
														|  |  
														|  |  
														|  |  
														|  |  
														|  |  
														| IP2Location™ IP-Country web 
																service is providing a service to reverse lookup of IP address to ISO3166 
																country code.
 Search requests submit a query string and a set of parameters to the 
																IP2Location™ Web APIs service and receive a search result. Search results are 
																derived from IP2Location™ index of over 4 billion unique IP addresses.
 
 The table below lists all the valid name-value pairs that can be used in a 
																search request and describes how these parameters will modify the search 
																results.
 |  
														|  |  
														| 
																
																	| 
																			
																				| Name | Description |  
																				| ip | IP address for reverse lookup purpose. The correct syntax of 
																					an IP address is xxx.xxx.xxx.xxx. For example 161.128.12.4. |  
																				| acc | Account ID charged to perform the lookup. Each query consumes 
																					a credit from this account. For demo version, use “demo” as the account ID. |  
																				| pass | Password to validate the Account ID is correct per query. For 
																					demo version, use “demo” as the password. |  |  |  
														|  |  
														| All successful HTTP request will return a response code 
															of 200. In our web API, it also returns the lookup country code if successful 
															or error code if failed. |  
														|  |  
													  | 
                                                        
                                                          | 
                                                           
													  | 
 IP2Location™ Web API uses a single web interface to perform the reverse lookup logic. The protocol used is HTTP GET. You can test this API as easy as using a web browser.
 
 Syntax: (Country Edition)
 
 
 |  
														| http://www.ip2location.com/ipcountry.asp?ip=<ipadd>&acc=<accID>&pass=<passwd> 
 
 |  
                                                            	  | *For demo version, please use <accID> as "demo" and <passwd> as "demo". |  |  |  |  |  |  |  
														|  |  
														|  |  |  
											| 
													
														|  | No database to download, to install or to 
															upgrade in the server side |  
														|  | Support HTTP queries up to 100,000 times or 1 year 
															(which one comes first) |  |  
											|  |  | 
	
		| 
				
					|  |  
					|  |  
					|  |  
					|  |  
					|  |  
					|  |  
					|  |  
					|  |  
					| 
							
								|  |  
								| Earn up to 20% on Sales from New 
									Customer and 2-Year Return Commission
 |  
								|  |  
								| More 
											Information |  
								|  |  |  
					|  |  
					|  |  
					|  |  
					| 
							
								| 
										
											| "No doubt why security expert, Mike Schiffman, author of 
													the Hacker’s Challenge book series recommended IP2Location™ in IP Geo project". |  |  
								| - S. Jones, California (United States) |  
								|  |  
								| 
										
											| "I am very satisfied with my purchase for my ip address 
													log analysis project. Got my account immediately right after order approved. No 
													hassle or delay time at all as I always thought. A must to meet project 
													deadline". |  |  
								| - J. Wagner, New York (United States) |  
								|  |  
								| 
										
											| "Innovative products with low price tags compared with 
													others million dollars geo-targeting products". |  |  
								| - Balakrishnan, Bangalore (India) |  
								|  |  |  
					|  |  
					|  |  
					|  |  
					|  |  
					|  |  
					|  |  
					|  |  
					|  |  
					|  |  
					| 
							
								|  |  
								| 
										
											| Take a closer look in this in-depth tour and learn 
												more about IP2Location™ products: |  |  
								|  |  
								|  |  
								|  |  
								|  |  |  
					|  |  
					|  |  
					|  |  
					|  |  
					|  |  |  |