Smarty

How Do I Determine if a Suite or Apartment Number Is Valid?

Question

If someone enters an invalid apartment, will that be explained in the data returned? For instance: if a building has apartments with letters A-K, and someone enters in an address with "apt #5," will your system indicate that something is wrong?

Answer

First, a little background on how and when the USPS stores apartment information. Think of an apartment building like a business. You have the lobby and then you have additional internal addresses (the apartments). The building, with the lobby, doesn't change but the apartments will certainly change tenants, and even two apartments might remodel to combine to make one larger apartment. That's all fine, but how does the USPS handle that?

Because their goal is to deliver mail as quickly as possible without errors, they want to keep a list of as many internal addresses as possible. However, it is up to the building owners to submit any changes to the internal addresses. So, for the most part, the USPS knows what apartments exist within an apartment building. They even keep track of which ones are vacant and when the vacant status changes. The system does work pretty well. However, it is not a perfect system, and there are many variables to consider. The final choice is up to the building owner. Sometimes building owners make changes without informing the USPS.

To check an address now, you can try entering it into our system.

Example: The top floor of an apartment building burns down and they decide to clean it up but not to rebuild it. It may take months (or even years) before they remember to inform the USPS about that those apartments no longer exist.

Some apartments operate more like a nice hotel, meaning that all mail is received at the lobby. Thus, they don't submit apartment number information to the USPS. Certainly their tenants will give out the apartment number as their mailing address but the mail will all be delivered to the lobby. In cases like that, the USPS sees that building as only one address. It will be listed in the database as a "highrise" but will not have internal address data.

So, most highrises (and other such buildings) do submit their internal address data to the USPS, but as you can see, there are alternate cases.

The best way to check exactly what our output will be for a given case is to just try it out on our website.

There are three fields (all related) that you'll want to look at to determine the internal address status: dpv_match_code, dpv_footnotes, and footnotes.

Examples:

If you enter an address with a valid apartment number, you get this:

  • dpv_match_code = Y (Confirmed; entire address was DPV confirmed deliverable.)
  • dpv_footnotes = AABB (ZIP+4 matched; city/state/zip + Street are all valid. Confirmed entire address; address is valid)

(A dpv_match_code of "Y" means that the address is valid including the apartment/suite information. A dpv_footnote of "AABB" means that the address, as entered, is an exact match within the USPS database of valid addresses.)


If you enter an address with an invalid apartment number, you get this:

  • dpv_match_code = S (Confirmed By Dropping Secondary; address was DPV confirmed by dropping some or all of the secondary info (apartment, suite, etc).)
  • dpv_footnotes = AACC (ZIP+4 matched; city/state/zip + Street are all valid. Confirmed address by dropping secondary (apartment, suite, etc.) information)
  • footnotes = S# (The secondary information (apartment, suite, etc.) does not match that on the national ZIP+4 file. The secondary information, although present on the input address, was not valid in the range found on the national ZIP+4 file.)

(A dpv_match_code of "S" means that we were unable to verify the address WITH the secondary number (suite or apartment info) and so it reverted back to the default address without the secondary number. A dpv_footnoteof "CC" means that we had to drop the secondary information in order to get a match. The apartment number may have been incorrect OR the USPS doesn't store the apartment numbers for that address in their database.)


If you enter an address with a missing apartment number (when it should have an apartment number), you get this:

  • dpv_match_code = D (Confirmed - Missing Secondary Info; The address was DPV confirmed, but it is missing secondary information (apartment, suite, etc).
  • dpv_footnotes = N1 (Confirmed with missing secondary information; address is valid but it also needs a secondary number—apartment, suite, etc.)
  • footnotes = H# (ZIP+4 information indicates that this address is a building. The address as submitted does not contain a secondary (apartment, suite, etc.) number. Smarty recommends that the customer check the accuracy of the submitted address and add the missing secondary number to ensure the correct Delivery Point Barcode (DPBC).

A dpv_match_code of "D" means that the system knows that there should be additional secondary information (suite or apartment) but even lacking that secondary data we were still able to verify the default location. A dpv_footnote of "N1" means that there should be secondary information but it is missing so in order to get a match, the default address was used.


You will need to interpret those results and generate an appropriate response for your customer (depending on your needs), perhaps indicating that an apartment number is probably missing (since it is listed as probably having an apartment number). Remember, however, that each apartment building has a valid lobby address AND apartment addresses. To say that an address in a highrise is invalid just because it doesn't have an apartment number would not be completely precise because the lobby is valid as well. Just keep that in mind.

Ready to get started?