AccuZip CASS

Base URI

https://api.iaccutrace.com
API Methods
POST /servoy-service/rest_ws/ws_address/ws_validate
POST /servoy-service/rest_ws/ws_address/ws_validate
Validate a single address
POST /servoy-service/rest_ws/ws_address/ws_validate

Cass validate a single address

Request body

request input JSON => see example below

string

Responses

200 OK

JSON format

Body
string
Examples
{ "Addr_Result": [ { "dpbc": "166", "DPVfoot_R1": "0", "zipc": "93422", "DPVfoot_BB": "1", "ppnam": "EL CAMINO REAL", "istai": "ca", "post_dir": "", "dlast": "ATASCADERO CA 93422-2500", "county_no": "079", "DPVfoot_RR": "0", "DPVfoot_AA": "1", "elot_num": "0303", "DPVV": "N", "DPVX": "N", "ppre2": "", "retcc": "31", "ppre1": "", "pre_dir": "", "D": "", "E": "", "F": "", "G": "", "msnum": "", "A": "", "B": "", "C": "", "L": "", "M": "", "N": "N", "O": "", "H": "", "I": "", "J": "", "K": "", "DPVA": "Y", "U": "", "LlkRc": "", "T": "", "W": "", "V": "", "Q": "", "P": "", "S": "", "R": "", "pmb": "", "DPVF": "", "iadl1": "3216 el camino real", "Y": "", "X": "", "iadl3": "", "DPVC": "N", "iadl2": "", "Z": "", "DPVfoot_U1": "0", "elot_code": "A", "stelnkInd": "", "DPVfoot_CC": "0", "04": "", "05": "", "00": "", "01": "", "02": "", "03": "", "punit": "", "finance": "050378", "DPVfoot_M1": "0", "DPVfoot_M3": "0", "Footnotes": "N#", "dadl3": "", "sec_code": "", "dadl1": "3216 EL CAMINO REAL", "dadl2": "", "mpnum": "3216", "punit2": "", "addon_low": "2500", "lacs": "", "izipc": "93422", "DPVfoot_N1": "0", "addon": "2500", "rdi": "N", "DPVfoot_G1": "0", "psuf1": "", "psuf2": "", "psnum2": "", "dstaa": "CA", "irecid": "1", "psnum": "", "rec_type": "S", "DPVfoot_F1": "0", "county_name": "SAN LUIS OBISPO", "LlkInd": "", "congress_dist": "24", "sec_low": "", "str_name": "EL CAMINO REAL", "ppst1": "", "state": "06", "municipality": "", "ppst2": "", "pmbnum": "", "DPVfoot_A1": "0", "abcty": "", "DPVfoot_P3": "0", "DPVfoot_P1": "0", "sec_high": "", "prote": "C008", "dctya": "", "ictyi": "atascadero", "addon_high": "2500", "dctys": "ATASCADERO", "suffix": "", "misc": "", "unit": "", "respn": "1", "cris": "C008", "sec_name": "", "iprurb": "", "ppnum": "3216" } ], "license": { "Total_Credits_Remaining": 9987, "Annual_Credits_Remaining": 9987 }, "success": true }

Examples

POST https://api.iaccutrace.com/servoy-service/rest_ws/ws_address/ws_validate HTTP/1.1 

Content-Type: application/json

{
    "API_KEY": "{{api_key}}",
    "Address": {
        "AZSetQuery_iadl1": "3216 EL CAMINO REAL",
        "AZSetQuery_ictyi": "ATASCADERO",
        "AZSetQuery_istai": "ca",
        "AZSetQuery_izipc": "93422"
    }
}

HTTP/1.1 200 OK 
Validate a Batch of addresses
POST /servoy-service/rest_ws/ws_address/ws_validate

Validate batch of addresses. maximum 100 addresses/batch

Request body

Example of input for a batch of 2 addresses. JSON format

string
Examples
{ "API_KEY": "your API Key", "Address": [ { "AZSetQuery_irecid": "1", "AZSetQuery_isec_name": "white house", "AZSetQuery_iadl1": "1600 Pennsylvania Avenue NW", "AZSetQuery_ictyi": "Washington", "AZSetQuery_istai": "dc", "AZSetQuery_izipc": "20500" }, { "AZSetQuery_irecid": "2", "AZSetQuery_iadl1": "3216 EL CAMINO REAL", "AZSetQuery_ictyi": "ATASCADERO", "AZSetQuery_istai": "ca", "AZSetQuery_izipc": "93422" } ] }

Responses

200 OK

Example of response for a batch of 2 addresses. JSON format

Body
string
Examples
{ "Addr_Result": [ { "dpbc": "992", "DPVfoot_R1": "0", "zipc": "20500", "DPVfoot_BB": "0", "ppnam": "PENNSYLVANIA", "istai": "dc", "post_dir": "NW", "dlast": "WASHINGTON DC 20500-0003", "county_no": "001", "DPVfoot_RR": "0", "DPVfoot_AA": "1", "elot_num": "0003", "DPVV": "N", "DPVX": "N", "ppre2": "", "retcc": "32", "ppre1": "", "pre_dir": "", "D": "", "E": "", "F": "", "G": "", "msnum": "", "A": "", "B": "", "C": "", "L": "", "M": "", "N": "N", "O": "", "H": "H", "I": "", "J": "", "K": "", "DPVA": "D", "U": "", "LlkRc": "", "T": "", "W": "", "V": "", "Q": "", "P": "", "S": "", "R": "", "pmb": "", "DPVF": "", "iadl1": "1600 Pennsylvania Avenue NW", "Y": "", "X": "", "iadl3": "", "DPVC": "N", "iadl2": "", "Z": "", "DPVfoot_U1": "0", "elot_code": "A", "stelnkInd": "", "DPVfoot_CC": "0", "04": "", "05": "", "00": "", "01": "", "02": "", "03": "", "punit": "", "finance": "105000", "DPVfoot_M1": "0", "DPVfoot_M3": "0", "Footnotes": "H#N#", "dadl3": "", "sec_code": "", "dadl1": "1600 PENNSYLVANIA AVE NW", "dadl2": "", "mpnum": "1600", "punit2": "", "addon_low": "0003", "lacs": "", "izipc": "20500", "DPVfoot_N1": "1", "addon": "0003", "rdi": "Y", "DPVfoot_G1": "0", "psuf1": "AVE", "psuf2": "", "psnum2": "", "dstaa": "DC", "irecid": "1", "psnum": "", "rec_type": "H", "DPVfoot_F1": "0", "county_name": "DISTRICT OF COLUMBIA", "LlkInd": "", "congress_dist": "A", "sec_low": "", "str_name": "PENNSYLVANIA", "ppst1": "NW", "state": "11", "municipality": "", "ppst2": "", "pmbnum": "", "DPVfoot_A1": "0", "abcty": "", "DPVfoot_P3": "0", "DPVfoot_P1": "0", "sec_high": "", "prote": "C000", "dctya": "WASHINGTON", "ictyi": "Washington", "addon_high": "0003", "dctys": "WASHINGTON", "suffix": "AVE", "misc": "", "unit": "", "respn": "3", "cris": "C000", "sec_name": "WHITE HOUSE", "iprurb": "", "ppnum": "1600" }, { "dpbc": "166", "DPVfoot_R1": "0", "zipc": "93422", "DPVfoot_BB": "1", "ppnam": "EL CAMINO REAL", "istai": "ca", "post_dir": "", "dlast": "ATASCADERO CA 93422-2500", "county_no": "079", "DPVfoot_RR": "0", "DPVfoot_AA": "1", "elot_num": "0303", "DPVV": "N", "DPVX": "N", "ppre2": "", "retcc": "31", "ppre1": "", "pre_dir": "", "D": "", "E": "", "F": "", "G": "", "msnum": "", "A": "", "B": "", "C": "", "L": "", "M": "", "N": "N", "O": "", "H": "", "I": "", "J": "", "K": "", "DPVA": "Y", "U": "", "LlkRc": "", "T": "", "W": "", "V": "", "Q": "", "P": "", "S": "", "R": "", "pmb": "", "DPVF": "", "iadl1": "3216 EL CAMINO REAL", "Y": "", "X": "", "iadl3": "", "DPVC": "N", "iadl2": "", "Z": "", "DPVfoot_U1": "0", "elot_code": "A", "stelnkInd": "", "DPVfoot_CC": "0", "04": "", "05": "", "00": "", "01": "", "02": "", "03": "", "punit": "", "finance": "050378", "DPVfoot_M1": "0", "DPVfoot_M3": "0", "Footnotes": "N#", "dadl3": "", "sec_code": "", "dadl1": "3216 EL CAMINO REAL", "dadl2": "", "mpnum": "3216", "punit2": "", "addon_low": "2500", "lacs": "", "izipc": "93422", "DPVfoot_N1": "0", "addon": "2500", "rdi": "N", "DPVfoot_G1": "0", "psuf1": "", "psuf2": "", "psnum2": "", "dstaa": "CA", "irecid": "2", "psnum": "", "rec_type": "S", "DPVfoot_F1": "0", "county_name": "SAN LUIS OBISPO", "LlkInd": "", "congress_dist": "24", "sec_low": "", "str_name": "EL CAMINO REAL", "ppst1": "", "state": "06", "municipality": "", "ppst2": "", "pmbnum": "", "DPVfoot_A1": "0", "abcty": "", "DPVfoot_P3": "0", "DPVfoot_P1": "0", "sec_high": "", "prote": "C008", "dctya": "", "ictyi": "ATASCADERO", "addon_high": "2500", "dctys": "ATASCADERO", "suffix": "", "misc": "", "unit": "", "respn": "1", "cris": "C008", "sec_name": "", "iprurb": "", "ppnum": "3216" } ], "license": { "Total_Credits_Remaining": 9986, "Annual_Credits_Remaining": 9986 }, "success": true }
CASS RESTful API JSON Object Value Descriptions:

JSON Object = DESCRIPTION

0 = Reserved For Future Use

1 = Reserved For Future Use

2 = Reserved For Future Use

3 = Reserved For Future Use

4 = Reserved For Future Use

5 = Unofficial Po Name

A = Zip Corrected

ABCTY = Standardized City Abbreviation

ADDON = ZIP+4 Addon Code

ADDON_HIGH = ADD On High

ADDON_LOW = ADD On Low

B = City/State Corrected

C = Invalid City/State/Zip

CONGRESS_DIST = Congressional District

COUNTY_NO = Fips County Code

COUNTY_NO = County Number

CRIS = Carrier Route

D = No Zip Assigned

DADL1 = Standardized Delivery Address

DADL2 = Standardized Firm Name

DADL3 = Standardized 2ND Delivery Addr

DCTYA = Standardized City

DCTYS = Main Post Office City

DLAST = Standardized City/State/Zip

DLAST = Last Line City/State Key

DPBC = Delivery Point Bar Code

DPVA = DPV Confirmation Indicator Note: The DPV Confirmation Indicator is the primary method used by the USPS to determine whether an address was considered deliverable or undeliverable.

Y = Address was DPV confirmed for both primary and (if present) secondary numbers.

D = Address was DPV confirmed for the primary number only, and Secondary number information was missing.

S = Address was DPV confirmed for the primary number only, and Secondary number information was present but unconfirmed.

N = Both Primary and (if present) Secondary number information failed to DPV Confirm.

Blank = Address not presented to hash table.

DPVC DPV CMRA Indicator Note: CMRA Indicates a private business that acts as a mail-receiving agent for specific clients. Y = Address was found in CMRA table.

N = Address was not found in CMRA table.

Blank = Address not presented to hash table.

DPVF DPV False Positive Indicator

Note: This is a flag to determine whether a mailing list is being generated or created during validation. Creating a mailing list through DPV certification is not allowed by the USPS. Y = Address was found in False Positive table.

N = Address was not found in False Positive table.

Blank = Address not presented to hash table.

DPVFOOT_A1 ZIP4 did not match - 1=MATCH; 0=NO Match

DPVFOOT_AA ZIP4 matched - 1=MATCH; 0=NO Match

DPVFOOT_BB Confirmed entire address - 1=MATCH; 0=NO Match

DPVFOOT_CC** Confirmed address by dropping secondary info - 1=MATCH; 0=NO Match

DPVFOOT_F1 Military Match - 1=MATCH; 0=NO Match

DPVFOOT_G1 General Delivery Match - 1=MATCH; 0=NO Match

DPVFOOT_M1 Primary number missing from address - 1=MATCH; 0=NO Match

DPVFOOT_M3 Could not confirm address - 1=MATCH; 0=NO Match

DPVFOOT_N1 Confirmed a highrise or box type address w/o secondary info - 1=MATCH; 0=NO Match

DPVFOOT_P1 Box type address missing box number - 1=MATCH; 0=NO Match

DPVFOOT_P3 Box number invalid - 1=MATCH; 0=NO Match

DPVFOOT_R1 Confirmed a highrise or box type address w/o secondary info - 1=MATCH; 0=NO Match

DPVFOOT_RR Confirmed address - 1=MATCH; 0=NO Match

DPVFOOT_U1 Unique ZIP Code record - 1=MATCH; 0=NO Match

DPVV Vacant Indicator Note: A delivery point was active in the past, but is currently vacant (in most cases, unoccupied over 90 days) and not receiving delivery.

Y = Address was found in VACANT table.

N = Address was not found in VACANT table.

Blank = Address not presented to hash table.

DPVX DSF2 No Stats Indicator (New) Note: Indicates the address is not receiving delivery, and the address is not counted as a possible delivery. These addresses are not receiving delivery because A) delivery has not been established; B) customer receives mail as a part of a drop; or C) the address is no longer a possible delivery because the carrier destroys or returns all of the mail.

Y = Address was found in NOSTATS table.

N = Address was not found in NOSTATS table.

Blank = Address not presented to hash table.

DSTAA Main Post Office State

DSTAA Standardized State

E Zip Assigned For Mult Response

ELOT_CODE Elot Ascending/Descending Flag

ELOT_NUM Elot Number

F No Zip Available

FINANCE Finance Code

FOOTNOTES Footnote String

G Part Of Firm Moved To Address

H Secondary Number Missing

I Insufficient/Incorrect Data

IADL1 Input Delivery Address

IADL2 Input Firm Name

IADL3 Input Second Address Line

ICTYI Input City

IPRURB Input Urbanization Name

IRECID Input Record ID

ISTAI Input State

IZIPC Input ZIP+4 Code

J Dual Input

K Multi Caused By Cardinal Rule

L Del Addr Component Add/Del/Chg

LLKRC Lacs Link Return Code

LACS Lacs Converted Status

LLKIND Lacs Link Indicator

M Street Name Spelling Changed

MISC Reserved For Future Use

MPNUM Matched Primary Number

MSNUM Matched Secondary Number

MUNICIPALITY Municip. City/State Key (not Filled)

N Delivery Addr Was Standardized

O Low +4 Tie-Breaker (multi-Response)

P Better Delivery Address Exists

PMB PMB Unit Designator

PMBNUM PMB Number

POST_DIR Post-Direction Abbrev

PPNAM Primary Name

PPNUM Primary Number

PPRE1 First or Left Pre-Direction

PPRE2 Second or Right Pre-Direction

PPST1 First or Left Post-Direction

PPST2 Second or Right Post-Direction

PRE_DIR Pre-Direction Abbrev

PROTE Rural Route Number

PSNUM Secondary Number

PSNUM2 Matched Secondary Number

PSUF1 First or Left Suffix

PSUF2 Second or Right Suffix

PUNIT Secondary Number Unit

PUNIT2 Secondary Number Unit

Q Unique Zipcode

R No Match Due To Ews

REC_TYPE Record Type

RESPN Number Of Returned Responses

RETCC Return Code

S Invalid Secondary Number

SEC_CODE Secondary Even Odd Code

SEC_HIGH Secondary High Range

SEC_LOW Secondary Low Range

SEC_NAME BLDG or Firm Name

STATE State Abbreviation (not Filled)

STELNKIND Stelnk Footnote

STR_NAME Street Name

SUFFIX Suffix Abbrev

T Multiple Caused By Magnet Rule

U Unofficial Po Name

UNIT Secondary Abbreviation

V Unverifiable City/State

W Small Town Default

X Unique Zip Code Generated

Y Military Match

Z Zip Move Match

ZIPC 5-DIGIT Zip Code