{"id":4606,"date":"2022-11-12T20:25:54","date_gmt":"2022-11-12T20:25:54","guid":{"rendered":"https:\/\/serviceobjects.wpaladdin.com\/?page_id=4606"},"modified":"2025-08-20T11:29:35","modified_gmt":"2025-08-20T18:29:35","slug":"ipav-getcountrybyip","status":"publish","type":"page","link":"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/","title":{"rendered":"IPAV &#8211; GetCountryByIP"},"content":{"rendered":"<nav aria-label=\"GetCountryByIP Navigation\">\n<ul class=\"is-style-bullets-list\">\n<li><a href=\"#IPAV-GetCountryByIP-URLEndpoints\">URL Endpoints<\/a><\/li>\n<li><a href=\"#IPAV-GetCountryByIP-GetCountryByIPInputs\">GetCountryByIP Inputs<\/a><\/li>\n<li><a href=\"#IPAV-GetCountryByIP-GetCountryByIPOutputs\">GetCountryByIP Outputs<\/a><\/li>\n<li><a href=\"#IPAV-GetCountryByIP-References\">References<\/a><\/li>\n<\/ul>\n<\/nav>\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<section aria-labelledby=\"IPAV-GetCountryByIP-Description\">\n<article aria-label=\"Service description\">\n<p id=\"IPAV-GetCountryByIP-Description\">Returns the country that the IP address is located in.<\/p>\n<\/article>\n<\/section>\n<section aria-labelledby=\"IPAV-GetCountryByIP-URLEndpoints\">\n<h2 id=\"IPAV-GetCountryByIP-URLEndpoints\">URL Endpoints<\/h2>\n<ul class=\"is-style-no-bullets-indented-list\">\n<li><strong>XML:<\/strong>\n<ul>\n<li><a href=\"https:\/\/trial.serviceobjects.com\/gpp\/GeoPinPoint.asmx\/GetCountryByIP?IPAddress=string&amp;LicenseKey=string\">https:\/\/trial.serviceobjects.com\/gpp\/GeoPinPoint.asmx\/GetCountryByIP?IPAddress=string&amp;LicenseKey=string<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>\n<section aria-labelledby=\"IPAV-GetCountryByIP-GetCountryByIPInputs\">\n<h2 id=\"IPAV-GetCountryByIP-GetCountryByIPInputs\">GetCountryByIP Inputs<\/h2>\n<figure class=\"wp-block-table is-style-table-section\">\n<table>\n<thead>\n<tr style=\"border-bottom:3px solid currentColor;\">\n<th scope=\"col\">Name<\/th>\n<th scope=\"col\">Type<\/th>\n<th scope=\"col\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>IPAddress<\/td>\n<td>String<\/td>\n<td>IP address to look up, for example, &#8220;209.85.173.104&#8221;<\/td>\n<\/tr>\n<tr>\n<td>LicenseKey<\/td>\n<td>String<\/td>\n<td>Your license key to use the service.<br \/>Sign up for a free trial key at<br \/><a href=\"https:\/\/www.serviceobjects.com\/ip-address-validation\/\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/www.serviceobjects.com\/ip-address-validation\/<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<\/section>\n<section aria-labelledby=\"IPAV-GetCountryByIP-GetCountryByIPOutputs\">\n<h2 id=\"IPAV-GetCountryByIP-GetCountryByIPOutputs\">GetCountryByIP Outputs<\/h2>\n<figure class=\"wp-block-table is-style-table-section\">\n<table>\n<thead>\n<tr style=\"border-bottom:3px solid currentColor;\">\n<th scope=\"col\">Name<\/th>\n<th scope=\"col\">Type<\/th>\n<th scope=\"col\">Values<\/th>\n<th scope=\"col\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Country<\/td>\n<td>String<\/td>\n<td>Varies<\/td>\n<td>The country location of the IP address.<\/td>\n<\/tr>\n<tr>\n<td>Cntry<\/td>\n<td>String<\/td>\n<td>Varies<\/td>\n<td>The 3-letter country abbreviation.<\/td>\n<\/tr>\n<tr>\n<td>Ctry<\/td>\n<td>String<\/td>\n<td>Varies<\/td>\n<td>The 2-letter country abbreviation.<\/td>\n<\/tr>\n<tr>\n<td>Longitude<\/td>\n<td>Double<\/td>\n<td>Varies<\/td>\n<td>The longitude coordinate for the IP address.<\/td>\n<\/tr>\n<tr>\n<td>Latitude<\/td>\n<td>Double<\/td>\n<td>Varies<\/td>\n<td>The latitude coordinate for the IP address.<\/td>\n<\/tr>\n<tr>\n<td>IsPublicProxy<\/td>\n<td>String<\/td>\n<td>Varies<\/td>\n<td>Indicates whether the IP address is a known public proxy.<\/td>\n<\/tr>\n<tr>\n<td><a href=\"..\/ipav-errors\/\" target=\"_blank\" rel=\"noreferrer noopener\">Error<\/a><\/td>\n<td>Error<\/td>\n<td>Varies<\/td>\n<td>See &#8220;<a href=\"..\/ipav-errors\/\" target=\"_blank\" rel=\"noreferrer noopener\">Error Codes<\/a>&#8220;.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<\/section>\n<section aria-labelledby=\"IPAV-GetCountryByIP-References\">\n<h2 id=\"IPAV-GetCountryByIP-References\">References<\/h2>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>URL Endpoints GetCountryByIP Inputs GetCountryByIP Outputs References Returns the country that the IP address is located in. URL Endpoints XML: https:\/\/trial.serviceobjects.com\/gpp\/GeoPinPoint.asmx\/GetCountryByIP?IPAddress=string&amp;LicenseKey=string GetCountryByIP Inputs Name Type Description IPAddress String IP address to look up, for example, &#8220;209.85.173.104&#8221; LicenseKey String Your license key to use the service.Sign up for a free trial key athttps:\/\/www.serviceobjects.com\/ip-address-validation\/ GetCountryByIP Outputs Name [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":4293,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4606","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>IPAV - GetCountryByIP<\/title>\n<meta name=\"description\" content=\"URL Endpoints GetCountryByIP Inputs GetCountryByIP Outputs References Returns the country that the IP address is located in. URL Endpoints XML:\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"IPAV - GetCountryByIP\" \/>\n<meta property=\"og:description\" content=\"URL Endpoints GetCountryByIP Inputs GetCountryByIP Outputs References Returns the country that the IP address is located in. URL Endpoints XML:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-20T18:29:35+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/\",\"name\":\"IPAV - GetCountryByIP\",\"isPartOf\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2022-11-12T20:25:54+00:00\",\"dateModified\":\"2025-08-20T18:29:35+00:00\",\"description\":\"URL Endpoints GetCountryByIP Inputs GetCountryByIP Outputs References Returns the country that the IP address is located in. URL Endpoints XML:\",\"breadcrumb\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS IP Address Validation\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"IPAV &#8211; Operations\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"IPAV &#8211; GetCountryByIP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.serviceobjects.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#organization\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"contentUrl\":\"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"width\":2560,\"height\":1440,\"caption\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\"},\"image\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"IPAV - GetCountryByIP","description":"URL Endpoints GetCountryByIP Inputs GetCountryByIP Outputs References Returns the country that the IP address is located in. URL Endpoints XML:","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/","og_locale":"en_US","og_type":"article","og_title":"IPAV - GetCountryByIP","og_description":"URL Endpoints GetCountryByIP Inputs GetCountryByIP Outputs References Returns the country that the IP address is located in. URL Endpoints XML:","og_url":"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2025-08-20T18:29:35+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/","url":"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/","name":"IPAV - GetCountryByIP","isPartOf":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#website"},"datePublished":"2022-11-12T20:25:54+00:00","dateModified":"2025-08-20T18:29:35+00:00","description":"URL Endpoints GetCountryByIP Inputs GetCountryByIP Outputs References Returns the country that the IP address is located in. URL Endpoints XML:","breadcrumb":{"@id":"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/ipav-getcountrybyip\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS IP Address Validation","item":"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/"},{"@type":"ListItem","position":3,"name":"IPAV &#8211; Operations","item":"https:\/\/www.serviceobjects.com\/docs\/dots-ip-address-validation\/ipav-operations\/"},{"@type":"ListItem","position":4,"name":"IPAV &#8211; GetCountryByIP"}]},{"@type":"WebSite","@id":"https:\/\/www.serviceobjects.com\/docs\/#website","url":"https:\/\/www.serviceobjects.com\/docs\/","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","description":"","publisher":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.serviceobjects.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.serviceobjects.com\/docs\/#organization","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","url":"https:\/\/www.serviceobjects.com\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","contentUrl":"https:\/\/www.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","width":2560,"height":1440,"caption":"Service Objects | Contact, Phone, Email Verification | Data Quality Services"},"image":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/4606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=4606"}],"version-history":[{"count":7,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/4606\/revisions"}],"predecessor-version":[{"id":11521,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/4606\/revisions\/11521"}],"up":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/4293"}],"wp:attachment":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=4606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}