{"id":85118,"date":"2023-01-13T16:21:48","date_gmt":"2023-01-13T16:21:48","guid":{"rendered":"https:\/\/businessyield.com\/?p=85118"},"modified":"2023-01-13T16:21:50","modified_gmt":"2023-01-13T16:21:50","slug":"features-of-the-distance-matrix-api","status":"publish","type":"post","link":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/","title":{"rendered":"Features of the Distance Matrix API","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"

Let’s start<\/p>

It is unlikely needs to be proved today the fact that such a software product as a distance matrix that solves almost any transport problem is not only extremely in demand but often necessary.\u00a0 Accordingly, the demand for various services that have such software in their arsenal is increasing. And here we would like to emphasize that it is the distance matrix ai<\/a> of the service that proves its exceptional usefulness, especially in those areas of human activity that are somehow related to transport, logistics, routing, navigation, etc.<\/p>

Scope of the Distance Matrix API<\/span><\/h2>

It is not necessary to go far for examples to see that many situations in everyday life are successfully resolved thanks to the distance matrix. Here are just a few examples, but not limited to them. Calculating the distance between two or more coordinate points, developing routes between places, calculating the time to cover the planned distances, planning business and personal trips by various modes of transport and even on foot – all this and much more requirements is easily covered by the functionality of the Distance Matrix API (DMA API). Why the API interface is added to the distance matrix is obvious and should not lead to misunderstanding. <\/p>

The API interface acts as a kind of software intermediary that connects your program with other programs that are useful to you. Returning to the functional features of the DMA API, it is impossible not to mention that any planning with its help takes into account the objectively existing traffic situation. Despite the seeming insignificance, this indicator is very important, especially for business trips, as it allows you to foresee convenient travel times at the planning stage, as well as combine different modes of transport to overcome problematic parts of the route.<\/p>

Briefly About Requests and Responses<\/h2>

So what is the essence of the process by which users can realize their plans and tasks related primarily to transport and movement? The essence is elementary and lies in the activation of the communication chain “request-response.”<\/p>

Let’s start with a request. When in ordinary life, we want to get to someplace and ask for directions from people passing by, we give the address or name of the object we are looking for or the hallmarks of the place we need. In the case of the DMA API, the situation is similar; only we communicate with the service, not through verbal communication, but make a request in the form of an HTTP or HTTPS protocol. Just like when communicating with a person, the request for the DM API must contain the input information necessary to process the request. <\/p>

First of all, these are the starting and finishing points of the route (in the amount of one or more). The format for indicating the location of these places can be either in the form of textual identification familiar to us or in the form of numerical designations of the geographical grid (coordinates). Since the service has a geocoder in its arsenal, the process of transforming one type of address into another is carried out quickly and without problems. The second necessary component of the request is a kind of user’s autograph or, in other words, the API key. <\/p>

Like any key in everyday life, the API key serves as a confirmation of the owner’s identity, a guarantor of the security of his data, and the ability to track the entire activity history and adjust it depending on the goals and capabilities. Both the location identification and the API key are indispensable attributes of the request. There are other optional but desirable parameters. To find out what these parameters are, visit our website, study the necessary documents and easily fill out your requests.<\/p>

Now let’s discuss the response of the service to the sent request. The response is formed in a relatively simple configuration, which is represented by JavaScript Object Notation, or JSON for short. Such a configuration is convenient and simple, both for writing and for reading, and is equally acceptable for use by both a computer and a person. So, a JSON response, just like a request, contains a certain number of elements. <\/p>

Obviously, that set of information on the addresses or coordinates that were requested by the user will be an indispensable element. In addition, the response will reflect both the distances and the duration of the movement in time in accordance with the requested information. <\/p>

There is another interesting parameter in the response – this is the so-called field of status codes. And if you see the \u201cOK\u201d indicator in this field, then your request is accepted as correct, and a correct answer is also generated for it. If, for a number of reasons, the request is invalidated, then instead of the \u201cOK\u201d entry, you will see a different entry indicating the incorrectness of the request. For more information, you need to visit the documents page on our website.<\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"Let’s start It is unlikely needs to be proved today the fact that such a software product as…\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":79,"featured_media":85121,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[4308],"tags":[],"class_list":{"0":"post-85118","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-technology"},"jetpack_publicize_connections":[],"yoast_head":"\nFeatures of the Distance Matrix API<\/title>\n<meta name=\"description\" content=\"The API interface acts as a kind of software intermediary that connects your program with other programs that are useful to you.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Features of the Distance Matrix API\" \/>\n<meta property=\"og:description\" content=\"The API interface acts as a kind of software intermediary that connects your program with other programs that are useful to you.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/\" \/>\n<meta property=\"og:site_name\" content=\"BusinessYield\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-13T16:21:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-13T16:21:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"250\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Augusta Obiukwu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Augusta Obiukwu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/\"},\"author\":{\"name\":\"Augusta Obiukwu\",\"@id\":\"https:\/\/businessyield.com\/#\/schema\/person\/e1d96a0ed40784ec1730ba3f72ce427f\"},\"headline\":\"Features of the Distance Matrix API\",\"datePublished\":\"2023-01-13T16:21:48+00:00\",\"dateModified\":\"2023-01-13T16:21:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/\"},\"wordCount\":834,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/businessyield.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg\",\"articleSection\":[\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/\",\"url\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/\",\"name\":\"Features of the Distance Matrix API\",\"isPartOf\":{\"@id\":\"https:\/\/businessyield.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg\",\"datePublished\":\"2023-01-13T16:21:48+00:00\",\"dateModified\":\"2023-01-13T16:21:50+00:00\",\"description\":\"The API interface acts as a kind of software intermediary that connects your program with other programs that are useful to you.\",\"breadcrumb\":{\"@id\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#primaryimage\",\"url\":\"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg\",\"contentUrl\":\"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg\",\"width\":500,\"height\":250,\"caption\":\"Photo Credit: Rapid API\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/businessyield.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Features of the Distance Matrix API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/businessyield.com\/#website\",\"url\":\"https:\/\/businessyield.com\/\",\"name\":\"BusinessYield\",\"description\":\"Helping You grow your business\",\"publisher\":{\"@id\":\"https:\/\/businessyield.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/businessyield.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/businessyield.com\/#organization\",\"name\":\"BusinessYield\",\"url\":\"https:\/\/businessyield.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/businessyield.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/businessyield.com\/wp-content\/uploads\/2018\/02\/cropped-busicon.png\",\"contentUrl\":\"https:\/\/businessyield.com\/wp-content\/uploads\/2018\/02\/cropped-busicon.png\",\"width\":512,\"height\":512,\"caption\":\"BusinessYield\"},\"image\":{\"@id\":\"https:\/\/businessyield.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/businessyield.com\/#\/schema\/person\/e1d96a0ed40784ec1730ba3f72ce427f\",\"name\":\"Augusta Obiukwu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/businessyield.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2cb6ec7f4c8c75342a1d1dda84d0fafe?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2cb6ec7f4c8c75342a1d1dda84d0fafe?s=96&d=mm&r=g\",\"caption\":\"Augusta Obiukwu\"},\"url\":\"https:\/\/businessyield.com\/author\/augusta-obiukwu\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Features of the Distance Matrix API","description":"The API interface acts as a kind of software intermediary that connects your program with other programs that are useful to you.","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:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/","og_locale":"en_US","og_type":"article","og_title":"Features of the Distance Matrix API","og_description":"The API interface acts as a kind of software intermediary that connects your program with other programs that are useful to you.","og_url":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/","og_site_name":"BusinessYield","article_published_time":"2023-01-13T16:21:48+00:00","article_modified_time":"2023-01-13T16:21:50+00:00","og_image":[{"width":500,"height":250,"url":"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg","type":"image\/jpeg"}],"author":"Augusta Obiukwu","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Augusta Obiukwu","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#article","isPartOf":{"@id":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/"},"author":{"name":"Augusta Obiukwu","@id":"https:\/\/businessyield.com\/#\/schema\/person\/e1d96a0ed40784ec1730ba3f72ce427f"},"headline":"Features of the Distance Matrix API","datePublished":"2023-01-13T16:21:48+00:00","dateModified":"2023-01-13T16:21:50+00:00","mainEntityOfPage":{"@id":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/"},"wordCount":834,"commentCount":0,"publisher":{"@id":"https:\/\/businessyield.com\/#organization"},"image":{"@id":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#primaryimage"},"thumbnailUrl":"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg","articleSection":["Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/","url":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/","name":"Features of the Distance Matrix API","isPartOf":{"@id":"https:\/\/businessyield.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#primaryimage"},"image":{"@id":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#primaryimage"},"thumbnailUrl":"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg","datePublished":"2023-01-13T16:21:48+00:00","dateModified":"2023-01-13T16:21:50+00:00","description":"The API interface acts as a kind of software intermediary that connects your program with other programs that are useful to you.","breadcrumb":{"@id":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#primaryimage","url":"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg","contentUrl":"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg","width":500,"height":250,"caption":"Photo Credit: Rapid API"},{"@type":"BreadcrumbList","@id":"https:\/\/businessyield.com\/technology\/features-of-the-distance-matrix-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/businessyield.com\/"},{"@type":"ListItem","position":2,"name":"Features of the Distance Matrix API"}]},{"@type":"WebSite","@id":"https:\/\/businessyield.com\/#website","url":"https:\/\/businessyield.com\/","name":"BusinessYield","description":"Helping You grow your business","publisher":{"@id":"https:\/\/businessyield.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/businessyield.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/businessyield.com\/#organization","name":"BusinessYield","url":"https:\/\/businessyield.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/businessyield.com\/#\/schema\/logo\/image\/","url":"https:\/\/businessyield.com\/wp-content\/uploads\/2018\/02\/cropped-busicon.png","contentUrl":"https:\/\/businessyield.com\/wp-content\/uploads\/2018\/02\/cropped-busicon.png","width":512,"height":512,"caption":"BusinessYield"},"image":{"@id":"https:\/\/businessyield.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/businessyield.com\/#\/schema\/person\/e1d96a0ed40784ec1730ba3f72ce427f","name":"Augusta Obiukwu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/businessyield.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2cb6ec7f4c8c75342a1d1dda84d0fafe?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2cb6ec7f4c8c75342a1d1dda84d0fafe?s=96&d=mm&r=g","caption":"Augusta Obiukwu"},"url":"https:\/\/businessyield.com\/author\/augusta-obiukwu\/"}]}},"modified_by":"Favour Ubani","jetpack_featured_media_url":"https:\/\/businessyield.com\/wp-content\/uploads\/2023\/01\/Features-of-the-Distance-Matrix-API-1.jpg","jetpack_shortlink":"https:\/\/wp.me\/p9I54N-m8S","jetpack_sharing_enabled":true,"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/posts\/85118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/users\/79"}],"replies":[{"embeddable":true,"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/comments?post=85118"}],"version-history":[{"count":2,"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/posts\/85118\/revisions"}],"predecessor-version":[{"id":85125,"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/posts\/85118\/revisions\/85125"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/media\/85121"}],"wp:attachment":[{"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/media?parent=85118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/categories?post=85118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/businessyield.com\/wp-json\/wp\/v2\/tags?post=85118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}