Difference between revisions of "IP2Geo"

From CDYNE Wiki
Jump to navigation Jump to search
(Developer/Tester Information)
Line 13: Line 13:
=== General Information ===
=== General Information ===
[http://www.cdyne.com/products/ip2geo.aspx IP2Geo] - IP Address to Geographic information.
[http://www.cdyne.com/products/ip2geo.aspx IP2Geo] - IP Address to Geographic information.
== Developer/Tester Information ==
=== Developer/Tester Information ===
* [http://ws.cdyne.com/ip2geo/ip2geo.asmx?wsdl WSDL]<br>
* [http://ws.cdyne.com/ip2geo/ip2geo.asmx?wsdl WSDL]<br>
* [http://ws.cdyne.com/ip2geo/ip2geo.asmx Testing URL]<br>
* [http://ws.cdyne.com/ip2geo/ip2geo.asmx Testing URL]<br>

Revision as of 15:57, 15 March 2012

Web Personalization for One-to-One Web Marketing

The IP2Geo® Web Service resolves IP addresses to Network Owner Name, City, State/Province, and Country. In most U.S. cities, it will also provide extra information such as Area Code and Latitude/Longitude. This service allows for the integration of location & distance information and other geographic intelligence into your application databases, business processes and web sites.

IP2Geo gives you easy access to numerous data points that you can use to impress your clients. From geographically customized menus to log file analysis, your targeted site visitors will be impressed when they see specific information on their location. The real-time technology can even be used to trigger special "preferred location" promotions.

This service is also used to validate users by IP address to weed out hackers and other fraudsters.

All of CDYNE's Web services are built on XML standards and are delivered via a secure Internet connection. This real-time Web service dynamically delivers value-added information at the point of customer interaction or to the client database for true enterprise intelligence, positively affecting the quality of resultant analytics, customer relationships and the bottom line.


General Information

IP2Geo - IP Address to Geographic information.

Developer/Tester Information

PHP Example

<php> class IP2Geo { private $ip; private $license; public $response;

	public function __construct($ip,$license) 

{ $this->license = $license; $this->ip = $ip; $response = $this->getResponse(); }

public function getResponse() { $url = "http://ws.cdyne.com/ip2geo/ip2geo.asmx/ResolveIP"; $url .= "?ipAddress=" . $this->ip . "&licenseKey=" . $this->license; $this->response = simplexml_load_file($url) or die("ERROR"); }

function getRealIP() {
  if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
  } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
} else {
 return $ip;


$ip = getRealIP();
$data = new IP2Geo($ip,$key);

Web Service source code examples



Free Trial License Keys

  • CDYNE offers trial license keys for all Web Services so that you may test the APIs for free.
  • Trial keys do not expire, and are limited to approximately 50 transactions.
  • Normal processing time for trial key requests during normal business hours (M-F, 9-6 eastern) typically ranges from ten minutes to two hours.
  • Sign up here for a free trial IP2Geo license key.

Production (Account) License Keys

  • Sign up here for a production IP2Geo license key.
  • Upon registration, your account will be suspended for verification by default.
  • The account verification process takes less than one business day to complete for account activation.
  • You may call 1-800-984-3710 to expedite the verification process over the phone.


Pricing for all CDYNE Web Services is based off a set monthly maintenance fee and a per-transaction fee. CDYNE does not require a contract and there are absolutely no start-up or cancellation fees. CDYNE services are post-pay. Your credit card will not be charged until one month from sign-up date and will be billed monthly thereafter unless you deactivate or cancel services. Net 30 billing is available upon application approval.

Calculate estimated monthly pricing

Service Trans. Min. Trans. Max. Monthly
IP2Geo Monthly Fee $20.00
IP2Geo Trans fee Zero 1,000 $0.02
IP2Geo Trans fee 1,001 3,000 $0.01
IP2Geo Trans fee 3,001 Unlimited $0.0090