{"id":4373,"date":"2026-11-12T19:32:03","date_gmt":"2026-11-12T19:32:03","guid":{"rendered":"https:\/\/developers.maplink.global\/?p=4373"},"modified":"2026-11-17T13:07:22","modified_gmt":"2026-11-17T13:07:22","slug":"address-analyzer-examples","status":"publish","type":"post","link":"https:\/\/developers.maplink.global\/en\/address-analyzer-examples\/","title":{"rendered":"Examples"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li><a href=\"#exemplo-1\">Example 1 \u2013 Address with a correction suggestion<\/a><\/li>\n\n\n\n<li><a href=\"#exemplo-2\">Example 2 \u2013 Address without a correction suggestion<\/a><\/li>\n\n\n\n<li><a href=\"#exemplo-3\">Example 3 \u2013 Address with several typing problems<\/a><\/li>\n\n\n\n<li><a href=\"#exemplo-4\">Example 4 \u2013 Complement sent in the number parameter<\/a><\/li>\n\n\n\n<li><a href=\"#exemplo-5\">Example 5 \u2013 Address without a number (s\/n)<\/a><\/li>\n\n\n\n<li><a href=\"#exemplo-6\">Example 6 \u2013 City that does not match the ZIP code<\/a><\/li>\n\n\n\n<li><a href=\"#exemplo-7\">Example 7 \u2013 Non-existent ZIP code<\/a><\/li>\n<\/ul>\n\n\n\n<h3 id=\"exemplo-1\" class=\"wp-block-heading\">Example 1 \u2013 Address with a correction suggestion<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, the address is sent in the <code>label<\/code> format, with an abbreviated street type, the ZIP code with a hyphen and the city without accents.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Request<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"label\": \"av paulista 1578 museu,,bela vista,01310-200,sao paulo,SP\"\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The response brings the suggested official spelling for the street, district and city, with the number and complement split. The returned status is <code>CORRECTED<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"Avenida Paulista\",\n  \"number\": \"1578\",\n  \"complement\": \"museu\",\n  \"district\": \"Bela Vista\",\n  \"zipcode\": \"01310200\",\n  \"city\": \"S\u00e3o Paulo\",\n  \"state\": \"SP\",\n  \"status\": \"CORRECTED\",\n  \"matchScore\": 100.0,\n  \"label\": \"Avenida Paulista, 1578, Bela Vista, 01310200, S\u00e3o Paulo, SP\"\n}<\/pre>\n\n\n\n<h3 id=\"exemplo-2\" class=\"wp-block-heading\">Example 2 \u2013 Address without a correction suggestion<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, the address is sent in the structured format and the street does not match the ZIP code provided.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Request<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"rua das acacias 45\",\n  \"number\": \"\",\n  \"zipcode\": \"01310200\",\n  \"district\": \"bela vista\",\n  \"city\": \"S\u00e3o Paulo\",\n  \"state\": \"SP\"\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The number was split from the street, but there is no correction suggestion. The returned status is <code>NORMALIZED<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"rua das acacias\",\n  \"number\": \"45\",\n  \"complement\": \"\",\n  \"district\": \"bela vista\",\n  \"zipcode\": \"01310200\",\n  \"city\": \"S\u00e3o Paulo\",\n  \"state\": \"SP\",\n  \"status\": \"NORMALIZED\",\n  \"matchScore\": 18.75,\n  \"label\": \"rua das acacias, 45, bela vista, 01310200, S\u00e3o Paulo, SP\"\n}<\/pre>\n\n\n\n<h3 id=\"exemplo-3\" class=\"wp-block-heading\">Example 3 \u2013 Address with several typing problems<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, the address sent in the <code>label<\/code> format has the street type abbreviated with a period, a typo in the street name, the number attached to the &#8220;n\u00ba&#8221; marker, the complement separated by a hyphen, the ZIP code with a hyphen and the district and city without accents.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Request<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"label\": \"R. da Cantarera n\u00ba306 - box 12,,centro,01024-000,sao paulo,SP\"\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The API corrects the street name, splits the number and the complement and returns the official spelling of the district and city. The returned status is <code>CORRECTED<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"Rua da Cantareira\",\n  \"number\": \"306\",\n  \"complement\": \"box 12\",\n  \"district\": \"Centro\",\n  \"zipcode\": \"01024000\",\n  \"city\": \"S\u00e3o Paulo\",\n  \"state\": \"SP\",\n  \"status\": \"CORRECTED\",\n  \"matchScore\": 94.74,\n  \"label\": \"Rua da Cantareira, 306, Centro, 01024000, S\u00e3o Paulo, SP\"\n}<\/pre>\n\n\n\n<h3 id=\"exemplo-4\" class=\"wp-block-heading\">Example 4 \u2013 Complement sent in the number parameter<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, the address is sent in the structured format and the <code>number<\/code> parameter contains the number followed by the complement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Request<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"av paulista\",\n  \"number\": \"1578 museu masp\",\n  \"zipcode\": \"01310200\",\n  \"district\": \"bela vista\",\n  \"city\": \"sao paulo\",\n  \"state\": \"SP\"\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The text after the number is returned in <code>complement<\/code>, and <code>number<\/code> keeps only the number. The returned status is <code>CORRECTED<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"Avenida Paulista\",\n  \"number\": \"1578\",\n  \"complement\": \"museu masp\",\n  \"district\": \"Bela Vista\",\n  \"zipcode\": \"01310200\",\n  \"city\": \"S\u00e3o Paulo\",\n  \"state\": \"SP\",\n  \"status\": \"CORRECTED\",\n  \"matchScore\": 100.0,\n  \"label\": \"Avenida Paulista, 1578, Bela Vista, 01310200, S\u00e3o Paulo, SP\"\n}<\/pre>\n\n\n\n<h3 id=\"exemplo-5\" class=\"wp-block-heading\">Example 5 \u2013 Address without a number (s\/n)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, the address sent in the <code>label<\/code> format indicates that the property has no number (&#8220;s\/n&#8221;) and includes a reference after the street.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Request<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"label\": \"rua augusta s\/n esquina com al santos,,consolacao,01305-000,sao paulo,SP\"\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>number<\/code> is returned empty and the reference is returned in <code>complement<\/code>. The returned status is <code>CORRECTED<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"Rua Augusta\",\n  \"number\": \"\",\n  \"complement\": \"esquina com al santos\",\n  \"district\": \"Consola\u00e7\u00e3o\",\n  \"zipcode\": \"01305000\",\n  \"city\": \"S\u00e3o Paulo\",\n  \"state\": \"SP\",\n  \"status\": \"CORRECTED\",\n  \"matchScore\": 100.0,\n  \"label\": \"Rua Augusta, , Consola\u00e7\u00e3o, 01305000, S\u00e3o Paulo, SP\"\n}<\/pre>\n\n\n\n<h3 id=\"exemplo-6\" class=\"wp-block-heading\">Example 6 \u2013 City that does not match the ZIP code<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, the address is sent in the structured format with a S\u00e3o Paulo ZIP code, but with the city and state of Rio de Janeiro.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Request<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"av paulista 1578\",\n  \"number\": \"\",\n  \"zipcode\": \"01310-200\",\n  \"district\": \"bela vista\",\n  \"city\": \"rio de janeiro\",\n  \"state\": \"RJ\"\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since the city does not match the ZIP code provided, there is no correction suggestion: the address is only standardized, with the number split from the street. The returned status is <code>NORMALIZED<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"avenida paulista\",\n  \"number\": \"1578\",\n  \"complement\": \"\",\n  \"district\": \"bela vista\",\n  \"zipcode\": \"01310200\",\n  \"city\": \"rio de janeiro\",\n  \"state\": \"RJ\",\n  \"status\": \"NORMALIZED\",\n  \"matchScore\": 0.0,\n  \"label\": \"avenida paulista, 1578, bela vista, 01310200, rio de janeiro, RJ\"\n}<\/pre>\n\n\n\n<h3 id=\"exemplo-7\" class=\"wp-block-heading\">Example 7 \u2013 Non-existent ZIP code<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, the address is sent in the structured format with a ZIP code that does not exist.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Request<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"rua das flores 120 apto 32\",\n  \"number\": \"\",\n  \"zipcode\": \"99999-999\",\n  \"district\": \"centro\",\n  \"city\": \"sao paulo\",\n  \"state\": \"SP\"\n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Response<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since the ZIP code was not found, there is no correction suggestion. The number and the complement are split from the street and the returned status is <code>NORMALIZED<\/code>.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"road\": \"rua das flores\",\n  \"number\": \"120\",\n  \"complement\": \"apto 32\",\n  \"district\": \"centro\",\n  \"zipcode\": \"99999999\",\n  \"city\": \"sao paulo\",\n  \"state\": \"SP\",\n  \"status\": \"NORMALIZED\",\n  \"matchScore\": 0.0,\n  \"label\": \"rua das flores, 120, centro, 99999999, sao paulo, SP\"\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Example 1 \u2013 Address with a correction suggestion In this example, the address is sent in the label format, with an abbreviated street type, the ZIP code with a hyphen and the city without accents. Request Response The response brings the suggested official spelling for the street, district and city, with the number and complement [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[175,33],"tags":[],"class_list":["post-4373","post","type-post","status-publish","format-standard","hentry","category-address-analyzer-en","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/4373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/comments?post=4373"}],"version-history":[{"count":4,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/4373\/revisions"}],"predecessor-version":[{"id":4497,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/4373\/revisions\/4497"}],"wp:attachment":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/media?parent=4373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/categories?post=4373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/tags?post=4373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}