{"id":1923,"date":"2022-11-08T05:38:07","date_gmt":"2022-11-08T05:38:07","guid":{"rendered":"https:\/\/serviceobjects.wpaladdin.com\/?post_type=serviceobjects&#038;p=1923"},"modified":"2025-08-19T04:46:12","modified_gmt":"2025-08-19T11:46:12","slug":"agus-getdistance","status":"publish","type":"page","link":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/","title":{"rendered":"AGUS &#8211; GetDistance"},"content":{"rendered":"<nav aria-label=\"GetDistance Navigation\">\n<ul class=\"is-style-bullets-list\">\n<li><a href=\"#AGUS-GetDistance-URLEndpoints\">URL Endpoints<\/a><\/li>\n<li><a href=\"#AGUS-GetDistance-GetDistanceInputs\">GetDistance Inputs<\/a><\/li>\n<li><a href=\"#AGUS-GetDistance-GetDistanceOutputs\">GetDistance Outputs<\/a><\/li>\n<li><a href=\"#AGUS-GetDistance-References\">References<\/a><\/li>\n<\/ul>\n<\/nav>\n<p>&nbsp;<\/p>\n<section aria-labelledby=\"AGUS-GetDistance-Intro\">\n<article aria-label=\"Distance Description\">\n<p id=\"AGUS-GetDistance-Intro\">This operation returns an estimate on the number of miles, kilometers and feet between two sets of coordinates.<\/p>\n<p>&nbsp;<\/p>\n<\/article>\n<\/section>\n<section aria-labelledby=\"AGUS-GetDistance-URLEndpoints\">\n<h2 id=\"AGUS-GetDistance-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\/GCR\/api.svc\/json\/GetDistance?FromLatitude={FROMLATITUDE}&amp;FromLongitude={FROMLONGITUDE}&amp;ToLatitude={TOLATITUDE}&amp;ToLongitude={TOLONGITUDE}&amp;LicenseKey={LICENSEKEY}\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/trial.serviceobjects.com\/GCR\/api.svc\/json\/GetDistance?FromLatitude={FROMLATITUDE}&amp;FromLongitude={FROMLONGITUDE}&amp;ToLatitude={TOLATITUDE}&amp;ToLongitude={TOLONGITUDE}&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\/GCR\/api.svc\/xml\/GetDistance?FromLatitude={FROMLATITUDE}&amp;FromLongitude={FROMLONGITUDE}&amp;ToLatitude={TOLATITUDE}&amp;ToLongitude={TOLONGITUDE}&amp;LicenseKey={LICENSEKEY}\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/trial.serviceobjects.com\/GCR\/api.svc\/xml\/GetDistance?FromLatitude={FROMLATITUDE}&amp;FromLongitude={FROMLONGITUDE}&amp;ToLatitude={TOLATITUDE}&amp;ToLongitude={TOLONGITUDE}&amp;LicenseKey={LICENSEKEY}<br \/>\n<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<\/section>\n<section aria-labelledby=\"AGUS-GetDistance-GetDistanceInputs\">\n<h2 id=\"AGUS-GetDistance-GetDistanceInputs\">GetDistance 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>FromLatitude<\/td>\n<td>String<\/td>\n<td>The latitude for location A.<\/td>\n<\/tr>\n<tr>\n<td>FromLongitude<\/td>\n<td>String<\/td>\n<td>The longitude for location A.<\/td>\n<\/tr>\n<tr>\n<td>ToLatitude<\/td>\n<td>String<\/td>\n<td>The latitude for location B.<\/td>\n<\/tr>\n<tr>\n<td>ToLongitude<\/td>\n<td>String<\/td>\n<td>The longitude for location B.<\/td>\n<\/tr>\n<tr>\n<td>LicenseKey<\/td>\n<td>String<\/td>\n<td>Your license key to use the service.<br \/>\nSign 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<p>&nbsp;<\/p>\n<\/section>\n<section aria-labelledby=\"AGUS-GetDistance-GetDistanceOutputs\">\n<h2 id=\"AGUS-GetDistance-GetDistanceOutputs\">GetDistance 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>Value<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>MilesBetween<\/td>\n<td>String<\/td>\n<td>Decimal Number<\/td>\n<td>An estimate on the number of miles between the two coordinate locations.<\/td>\n<\/tr>\n<tr>\n<td>KilometersBetween<\/td>\n<td>String<\/td>\n<td>Decimal Number<\/td>\n<td>An estimate on the number of kilometers between the two coordinate locations.<\/td>\n<\/tr>\n<tr>\n<td>FeetBetween<\/td>\n<td>String<\/td>\n<td>Number<\/td>\n<td>An estimate on the number of feet between the two coordinate locations.<\/td>\n<\/tr>\n<tr>\n<td><a href=\"\/docs\/dots-address-geocode-us\/agus-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. See \u201cErrors\u201d below for more information.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><figcaption class=\"wp-element-caption\">*Miles and kilometers are rounded to the third decimal position.<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<\/section>\n<section aria-labelledby=\"AGUS-GetDistance-References\">\n<h2 id=\"AGUS-GetDistance-References\">References<\/h2>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>URL Endpoints GetDistance Inputs GetDistance Outputs References &nbsp; This operation returns an estimate on the number of miles, kilometers and feet between two sets of coordinates. &nbsp; URL Endpoints JSON: https:\/\/trial.serviceobjects.com\/GCR\/api.svc\/json\/GetDistance?FromLatitude={FROMLATITUDE}&amp;FromLongitude={FROMLONGITUDE}&amp;ToLatitude={TOLATITUDE}&amp;ToLongitude={TOLONGITUDE}&amp;LicenseKey={LICENSEKEY} XML: https:\/\/trial.serviceobjects.com\/GCR\/api.svc\/xml\/GetDistance?FromLatitude={FROMLATITUDE}&amp;FromLongitude={FROMLONGITUDE}&amp;ToLatitude={TOLATITUDE}&amp;ToLongitude={TOLONGITUDE}&amp;LicenseKey={LICENSEKEY} &nbsp; GetDistance Inputs Name Type Description FromLatitude String The latitude for location A. FromLongitude String The longitude for location A. ToLatitude String [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":1914,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1923","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>AGUS - GetDistance<\/title>\n<meta name=\"description\" content=\"URL Endpoints GetDistance Inputs GetDistance Outputs References &nbsp; This operation returns an estimate on the number of miles, kilometers and feet\" \/>\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-us\/agus-operations\/agus-getdistance\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AGUS - GetDistance\" \/>\n<meta property=\"og:description\" content=\"URL Endpoints GetDistance Inputs GetDistance Outputs References &nbsp; This operation returns an estimate on the number of miles, kilometers and feet\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/\" \/>\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-19T11:46:12+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-address-geocode-us\/agus-operations\/agus-getdistance\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/\",\"name\":\"AGUS - GetDistance\",\"isPartOf\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2022-11-08T05:38:07+00:00\",\"dateModified\":\"2025-08-19T11:46:12+00:00\",\"description\":\"URL Endpoints GetDistance Inputs GetDistance Outputs References &nbsp; This operation returns an estimate on the number of miles, kilometers and feet\",\"breadcrumb\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS Address Geocode \u2013 US\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AGUS &#8211; Operations\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"AGUS &#8211; GetDistance\"}]},{\"@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":"AGUS - GetDistance","description":"URL Endpoints GetDistance Inputs GetDistance Outputs References &nbsp; This operation returns an estimate on the number of miles, kilometers and feet","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-us\/agus-operations\/agus-getdistance\/","og_locale":"en_US","og_type":"article","og_title":"AGUS - GetDistance","og_description":"URL Endpoints GetDistance Inputs GetDistance Outputs References &nbsp; This operation returns an estimate on the number of miles, kilometers and feet","og_url":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2025-08-19T11:46:12+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-address-geocode-us\/agus-operations\/agus-getdistance\/","url":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/","name":"AGUS - GetDistance","isPartOf":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#website"},"datePublished":"2022-11-08T05:38:07+00:00","dateModified":"2025-08-19T11:46:12+00:00","description":"URL Endpoints GetDistance Inputs GetDistance Outputs References &nbsp; This operation returns an estimate on the number of miles, kilometers and feet","breadcrumb":{"@id":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/agus-getdistance\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS Address Geocode \u2013 US","item":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/"},{"@type":"ListItem","position":3,"name":"AGUS &#8211; Operations","item":"https:\/\/www.serviceobjects.com\/docs\/dots-address-geocode-us\/agus-operations\/"},{"@type":"ListItem","position":4,"name":"AGUS &#8211; GetDistance"}]},{"@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\/1923","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=1923"}],"version-history":[{"count":19,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/1923\/revisions"}],"predecessor-version":[{"id":11049,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/1923\/revisions\/11049"}],"up":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/1914"}],"wp:attachment":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=1923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}