{"id":1867,"date":"2022-11-08T01:08:43","date_gmt":"2022-11-08T01:08:43","guid":{"rendered":"https:\/\/serviceobjects.wpaladdin.com\/?post_type=serviceobjects&#038;p=1867"},"modified":"2026-03-02T10:10:56","modified_gmt":"2026-03-02T18:10:56","slug":"agca-getpostalcodeinfo","status":"publish","type":"page","link":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/","title":{"rendered":"AGCA &#8211; GetPostalCodeInfo"},"content":{"rendered":"<nav aria-label=\"GetPostalCodeInfo Navigation\">\n<ul class=\"is-style-bullets-list\">\n<li><a href=\"#AGCA-GetPostalCodeInfo-URLEndpoints\">URL Endpoints<\/a><\/li>\n<li><a href=\"#AGCA-GetPostalCodeInfo-GetPostalCodeInfoInputs\">GetPostalCodeInfo Inputs<\/a><\/li>\n<li><a href=\"#AGCA-GetPostalCodeInfo-GetPostalCodeInfoOutputs\">GetPostalCodeInfo Outputs<\/a><\/li>\n<li><a href=\"#AGCA-GetPostalCodeInfo-References\">References<\/a><\/li>\n<\/ul>\n<\/nav>\n<p>&nbsp;<\/p>\n<section aria-labelledby=\"AGCA-GetPostalCodeInfo-Description\">\n<article aria-label=\"Operation Description\">This operation is almost exactly like GetGeoLocation, but rather than geocoding given a specific address, DOTS Address Geocode \u2013 CA will geocode given a postal code. The coordinates given are an average centroid of a given postal code and often times match precisely to the street location.<\/article>\n<\/section>\n<p>&nbsp;<\/p>\n<section aria-labelledby=\"AGCA-GetPostalCodeInfo-URLEndpoints\">\n<h2 id=\"AGCA-GetPostalCodeInfo-URLEndpoints\">URL Endpoints<\/h2>\n<ul class=\"is-style-no-bullets-indented-list\">\n<li><strong>JSON:<\/strong>\n<ul>\n<li><a href=\"https:\/\/trial.serviceobjects.com\/GCC\/api.svc\/json\/GetPostalCodeInfo?PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/trial.serviceobjects.com\/GCC\/api.svc\/json\/GetPostalCodeInfo?PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}<br \/>\n<\/a><\/li>\n<\/ul>\n<\/li>\n<li><strong>XML:<\/strong>\n<ul>\n<li><a href=\"https:\/\/trial.serviceobjects.com\/GCC\/api.svc\/xml\/GetPostalCodeInfo?PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/trial.serviceobjects.com\/GCC\/api.svc\/xml\/GetPostalCodeInfo?PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}<br \/>\n<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>\n<div style=\"display:flex; gap:16px; flex-wrap:wrap; margin:24px 0;\">\n<div style=\"border: 1px solid #d1d5db; border-radius: 8px; padding: 16px; max-width: 320px; background: #f9fafb; flex: 1;\">\n<h3 style=\"margin-top: 0; margin-bottom: 8px; font-size: 1.2em;\">Run This Request in Postman<\/h3>\n<p style=\"margin: 0; line-height: 1.4;\">Test with this postal code:<br \/>\n<a style=\"font-weight: bold; color: #2563eb; text-decoration: none;\" href=\"https:\/\/www.postman.com\/service-objects-api\/service-objects\/example\/41579131-340ce114-52e8-4203-96d5-5757d0b8fed9\" target=\"_blank\" rel=\"noopener\"><br \/>\nT3L 3C5<\/p>\n<p><\/a><\/p>\n<\/div>\n<div style=\"border: 1px solid #d1d5db; border-radius: 8px; padding: 16px; max-width: 320px; background: #f9fafb; flex: 1;\">\n<h3 style=\"margin-top: 0; margin-bottom: 8px; font-size: 1.2em;\">Check out the Integration Code in GitHub<br \/><\/h3>\n<p style=\"margin: 0; line-height: 1.4;\"><a style=\"font-weight: bold; color: #2563eb; text-decoration: none;\" href=\"https:\/\/github.com\/ServiceObjects\/address-geocode-canada\" target=\"_blank\" rel=\"noopener\"><br \/>\nGitHub<br \/>\n<\/a><\/p>\n<\/div>\n<\/div>\n<section aria-labelledby=\"AGCA-GetPostalCodeInfo-GetPostalCodeInfoInputs\">\n<h2 id=\"AGCA-GetPostalCodeInfo-GetPostalCodeInfoInputs\">GetPostalCodeInfo Inputs<\/h2>\n<figure class=\"wp-block-table is-style-table-section\">\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Postal Code<\/td>\n<td>String<\/td>\n<td>The postal code to geocode.<\/td>\n<\/tr>\n<tr>\n<td>License Key<\/td>\n<td>String<\/td>\n<td>Your license key to use the service. Sign up for a free trial key at<br \/>\n<a href=\"https:\/\/www.serviceobjects.com\/address-geocode\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.serviceobjects.com\/address-geocode\/<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<\/section>\n<section aria-labelledby=\"AGCA-GetPostalCodeInfo-GetPostalCodeInfoOutputs\">\n<h2 id=\"AGCA-GetPostalCodeInfo-GetPostalCodeInfoOutputs\">GetPostalCodeInfo Outputs<\/h2>\n<figure class=\"wp-block-table is-style-table-section\">\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Type<\/th>\n<th>Values<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Latitude<\/td>\n<td>String<\/td>\n<td>Number<\/td>\n<td>The latitude of the given postal code plus four.<\/td>\n<\/tr>\n<tr>\n<td>Longitude<\/td>\n<td>String<\/td>\n<td>Number<\/td>\n<td>The longitude of the given postal code plus four.<\/td>\n<\/tr>\n<tr>\n<td>Postal Code<\/td>\n<td>String<\/td>\n<td>String<\/td>\n<td>The postal code of the given input.<\/td>\n<\/tr>\n<tr>\n<td>Time Zone<\/td>\n<td>String<\/td>\n<td>String<\/td>\n<td>The time zone of the given postal code.<\/td>\n<\/tr>\n<tr>\n<td>DST<\/td>\n<td>String<\/td>\n<td>Char<\/td>\n<td>Boolean value determines if location uses daylight savings time.<\/td>\n<\/tr>\n<tr>\n<td>Area Code<\/td>\n<td>String<\/td>\n<td>Number<\/td>\n<td>The area code for the given postal code.<\/td>\n<\/tr>\n<tr>\n<td>City<\/td>\n<td>String<\/td>\n<td>String<\/td>\n<td>The city for the given postal code.<\/td>\n<\/tr>\n<tr>\n<td>City Population<\/td>\n<td>String<\/td>\n<td>Number<\/td>\n<td>The city population for the given postal code.<\/td>\n<\/tr>\n<tr>\n<td>Province<\/td>\n<td>String<\/td>\n<td>String<\/td>\n<td>The province for the given postal code.<\/td>\n<\/tr>\n<tr>\n<td><a href=\"..\/agca-errors\/\" target=\"_blank\" rel=\"noreferrer noopener\">Error<\/a><\/td>\n<td>Error<\/td>\n<td>Varies<\/td>\n<td>Error object indicating why the service could not return a result.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<\/section>\n<section aria-labelledby=\"AGCA-GetPostalCodeInfo-References\">\n<h2 id=\"AGCA-GetPostalCodeInfo-References\">References<\/h2>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs References &nbsp; This operation is almost exactly like GetGeoLocation, but rather than geocoding given a specific address, DOTS Address Geocode \u2013 CA will geocode given a postal code. The coordinates given are an average centroid of a given postal code and often times match precisely to the street location. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1796,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1867","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>AGCA - GetPostalCodeInfo<\/title>\n<meta name=\"description\" content=\"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs References &nbsp; This operation is almost exactly like GetGeoLocation, but rather than\" \/>\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-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AGCA - GetPostalCodeInfo\" \/>\n<meta property=\"og:description\" content=\"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs References &nbsp; This operation is almost exactly like GetGeoLocation, but rather than\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-02T18:10:56+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/\",\"name\":\"AGCA - GetPostalCodeInfo\",\"isPartOf\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2022-11-08T01:08:43+00:00\",\"dateModified\":\"2026-03-02T18:10:56+00:00\",\"description\":\"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs References &nbsp; This operation is almost exactly like GetGeoLocation, but rather than\",\"breadcrumb\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS Address Geocode \u2013\u00a0Canada\u00a0\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AGCA &#8211; Operations\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"AGCA &#8211; GetPostalCodeInfo\"}]},{\"@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":"AGCA - GetPostalCodeInfo","description":"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs References &nbsp; This operation is almost exactly like GetGeoLocation, but rather than","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-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/","og_locale":"en_US","og_type":"article","og_title":"AGCA - GetPostalCodeInfo","og_description":"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs References &nbsp; This operation is almost exactly like GetGeoLocation, but rather than","og_url":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2026-03-02T18:10:56+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/","url":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/","name":"AGCA - GetPostalCodeInfo","isPartOf":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#website"},"datePublished":"2022-11-08T01:08:43+00:00","dateModified":"2026-03-02T18:10:56+00:00","description":"URL Endpoints GetPostalCodeInfo Inputs GetPostalCodeInfo Outputs References &nbsp; This operation is almost exactly like GetGeoLocation, but rather than","breadcrumb":{"@id":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/agca-getpostalcodeinfo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS Address Geocode \u2013\u00a0Canada\u00a0","item":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/"},{"@type":"ListItem","position":3,"name":"AGCA &#8211; Operations","item":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-canada\/agca-operations\/"},{"@type":"ListItem","position":4,"name":"AGCA &#8211; GetPostalCodeInfo"}]},{"@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\/1867","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=1867"}],"version-history":[{"count":14,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/1867\/revisions"}],"predecessor-version":[{"id":12603,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/1867\/revisions\/12603"}],"up":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/1796"}],"wp:attachment":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=1867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}