{"id":10845,"date":"2025-05-19T14:32:49","date_gmt":"2025-05-19T22:41:22","guid":{"rendered":"https:\/\/www.serviceobjects.com\/docs\/?page_id=10845"},"modified":"2025-10-23T17:56:34","modified_gmt":"2025-10-24T00:56:34","slug":"av3-findaddresslines","status":"publish","type":"page","link":"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/","title":{"rendered":"AV3 &#8211; FindAddressLines"},"content":{"rendered":"<section>\n<nav aria-label=\"Documentation links\">&nbsp;<\/p>\n<ul>\n<li><a href=\"#AV3-FindAddressLines-URLEndpoints\">URL Endpoints<\/a><\/li>\n<li><a href=\"#AV3-FindAddressLines-FindAddressLinesInputs\">FindAddressLines Inputs<\/a><\/li>\n<li><a href=\"#AV3-FindAddressLines-FindAddressLinesOutputs\">FindAddressLines Outputs<\/a><\/li>\n<\/ul>\n<\/nav>\n<div style=\"height:32px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<article>\n<p>\n      This operation organizes really bad address data that is broken up into multiple arbitrary address fields. This function will sort up to six possible address lines and return what it thinks are the most probable candidates for the USPS Address1 and possibly Address2. For example, people\u2019s names in the Address1 line mixed with actual street address lines.\n    <\/p>\n<\/article>\n<section aria-labelledby=\"endpoints\">\n<h2 id=\"AV3-FindAddressLines-URLEndpoints\">URL Endpoints<\/h2>\n<ul class=\"wp-block-list is-style-no-bullets-indented-list\">\n<li><strong>JSON<\/strong>\n<ul>\n<li><a href=\"https:\/\/trial.serviceobjects.com\/AV3\/api.svc\/FindAddressLinesJson?Address1={ADDRESS1}&amp;Address2={ADDRESS2}&amp;Address3={ADDRESS3}&amp;Address4={ADDRESS4}&amp;Address5={ADDRESS5}&amp;Address6={ADDRESS6}&amp;City={CITY}&amp;State={STATE}&amp;PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}\">https:\/\/trial.serviceobjects.com\/AV3\/api.svc\/FindAddressLinesJson?Address1={ADDRESS1}&amp;Address2={ADDRESS2}&amp;Address3={ADDRESS3}&amp;Address4={ADDRESS4}&amp;Address5={ADDRESS5}&amp;Address6={ADDRESS6}&amp;City={CITY}&amp;State={STATE}&amp;PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}<\/a>\n          <\/li>\n<\/ul>\n<\/li>\n<li><strong>XML<\/strong>\n<ul>\n<li><a href=\"https:\/\/trial.serviceobjects.com\/AV3\/api.svc\/FindAddressLines?Address1={ADDRESS1}&amp;Address2={ADDRESS2}&amp;Address3={ADDRESS3}&amp;Address4={ADDRESS4}&amp;Address5={ADDRESS5}&amp;Address6={ADDRESS6}&amp;City={CITY}&amp;State={STATE}&amp;PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}\">https:\/\/trial.serviceobjects.com\/AV3\/api.svc\/FindAddressLines?Address1={ADDRESS1}&amp;Address2={ADDRESS2}&amp;Address3={ADDRESS3}&amp;Address4={ADDRESS4}&amp;Address5={ADDRESS5}&amp;Address6={ADDRESS6}&amp;City={CITY}&amp;State={STATE}&amp;PostalCode={POSTALCODE}&amp;LicenseKey={LICENSEKEY}<\/a>\n          <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/section>\n<section aria-labelledby=\"inputs\">\n<h2 id=\"AV3-FindAddressLines-FindAddressLinesInputs\">FindAddressLines 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>Address1<\/td>\n<td>String<\/td>\n<td>Address line of the address to validate. For example, &#8220;123 Main Street&#8221;.<\/td>\n<\/tr>\n<tr>\n<td>Address2<\/td>\n<td>String<\/td>\n<td>This line is for address information that does not contribute to DPV coding an address. For example &#8220;C\/O John Smith&#8221; does not help validate the address, but is still useful in delivery.<\/td>\n<\/tr>\n<tr>\n<td>Address3<\/td>\n<td>String<\/td>\n<td>Additional address info that might belong in Address1 or Address2.<\/td>\n<\/tr>\n<tr>\n<td>Address4<\/td>\n<td>String<\/td>\n<td>Additional address info that might belong in Address1 or Address2.<\/td>\n<\/tr>\n<tr>\n<td>Address5<\/td>\n<td>String<\/td>\n<td>Additional address info that might belong in Address1 or Address2.<\/td>\n<\/tr>\n<tr>\n<td>Address6<\/td>\n<td>String<\/td>\n<td>Additional address info that might belong in Address1 or Address2.<\/td>\n<\/tr>\n<tr>\n<td>City<\/td>\n<td>String<\/td>\n<td>The city to validate. E.g., &#8220;New York&#8221;. Required if Zip code is not provided.<\/td>\n<\/tr>\n<tr>\n<td>State<\/td>\n<td>String<\/td>\n<td>The state (e.g., &#8220;NY&#8221;). Full names also accepted. Required if Zip not provided.<\/td>\n<\/tr>\n<tr>\n<td>PostalCode<\/td>\n<td>String<\/td>\n<td>The zip code. Required if City and State not provided.<\/td>\n<\/tr>\n<tr>\n<td>LicenseKey*<\/td>\n<td>String<\/td>\n<td>\n              Your license key. Sign up for a free trial at <a href=\"https:\/\/www.serviceobjects.com\/address-validation\/\" target=\"_blank\" rel=\"noopener noreferrer\">serviceobjects.com\/address-validation<\/a>\n            <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<\/section>\n<section aria-labelledby=\"outputs\">\n<h2 id=\"AV3-FindAddressLines-FindAddressLinesOutputs\">FindAddressLines Outputs<\/h2>\n<p><em>AddressLinesResponse<\/em><\/p>\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>Address<\/td>\n<td>Address[]<\/td>\n<td>Varies<\/td>\n<td>The corrected address candidates.<\/td>\n<\/tr>\n<tr>\n<td>Error<\/td>\n<td>Error<\/td>\n<td>Varies<\/td>\n<td>Error object indicating why the result was not returned. See <a href=\"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-errors\/\">Errors<\/a> for more information.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p><em>Address<\/em><\/p>\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>BestAddress1<\/td>\n<td>String<\/td>\n<td>Varies<\/td>\n<td>The most probable address line 1.<\/td>\n<\/tr>\n<tr>\n<td>BestAddress2<\/td>\n<td>String<\/td>\n<td>Varies<\/td>\n<td>The most probable address line 2.<\/td>\n<\/tr>\n<tr>\n<td>City<\/td>\n<td>String<\/td>\n<td>Varies<\/td>\n<td>The city name.<\/td>\n<\/tr>\n<tr>\n<td>State<\/td>\n<td>String<\/td>\n<td>Varies<\/td>\n<td>The state name.<\/td>\n<\/tr>\n<tr>\n<td>Zip<\/td>\n<td>String<\/td>\n<td>Varies<\/td>\n<td>The zip code.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<\/section>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; URL Endpoints FindAddressLines Inputs FindAddressLines Outputs This operation organizes really bad address data that is broken up into multiple arbitrary address fields. This function will sort up to six possible address lines and return what it thinks are the most probable candidates for the USPS Address1 and possibly Address2. For example, people\u2019s names in [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"parent":10835,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-10845","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>AV3 - FindAddressLines<\/title>\n<meta name=\"description\" content=\"&nbsp; URL Endpoints FindAddressLines Inputs FindAddressLines Outputs This operation organizes really bad address data that is broken up into multiple\" \/>\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-validation-us-3\/av3-operations\/av3-findaddresslines\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AV3 - FindAddressLines\" \/>\n<meta property=\"og:description\" content=\"&nbsp; URL Endpoints FindAddressLines Inputs FindAddressLines Outputs This operation organizes really bad address data that is broken up into multiple\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-24T00:56:34+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-validation-us-3\/av3-operations\/av3-findaddresslines\/\",\"url\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/\",\"name\":\"AV3 - FindAddressLines\",\"isPartOf\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2025-05-19T22:41:22+00:00\",\"dateModified\":\"2025-10-24T00:56:34+00:00\",\"description\":\"&nbsp; URL Endpoints FindAddressLines Inputs FindAddressLines Outputs This operation organizes really bad address data that is broken up into multiple\",\"breadcrumb\":{\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS Address Validation &#8211; US 3\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AV3 &#8211; Operations\",\"item\":\"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"AV3 &#8211; FindAddressLines\"}]},{\"@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":"AV3 - FindAddressLines","description":"&nbsp; URL Endpoints FindAddressLines Inputs FindAddressLines Outputs This operation organizes really bad address data that is broken up into multiple","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-validation-us-3\/av3-operations\/av3-findaddresslines\/","og_locale":"en_US","og_type":"article","og_title":"AV3 - FindAddressLines","og_description":"&nbsp; URL Endpoints FindAddressLines Inputs FindAddressLines Outputs This operation organizes really bad address data that is broken up into multiple","og_url":"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2025-10-24T00:56:34+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-validation-us-3\/av3-operations\/av3-findaddresslines\/","url":"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/","name":"AV3 - FindAddressLines","isPartOf":{"@id":"https:\/\/www.serviceobjects.com\/docs\/#website"},"datePublished":"2025-05-19T22:41:22+00:00","dateModified":"2025-10-24T00:56:34+00:00","description":"&nbsp; URL Endpoints FindAddressLines Inputs FindAddressLines Outputs This operation organizes really bad address data that is broken up into multiple","breadcrumb":{"@id":"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/av3-findaddresslines\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS Address Validation &#8211; US 3","item":"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/"},{"@type":"ListItem","position":3,"name":"AV3 &#8211; Operations","item":"https:\/\/www.serviceobjects.com\/docs\/dots-address-validation-us-3\/av3-operations\/"},{"@type":"ListItem","position":4,"name":"AV3 &#8211; FindAddressLines"}]},{"@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\/10845","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\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=10845"}],"version-history":[{"count":10,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/10845\/revisions"}],"predecessor-version":[{"id":12453,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/10845\/revisions\/12453"}],"up":[{"embeddable":true,"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/10835"}],"wp:attachment":[{"href":"https:\/\/www.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=10845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}