Standard Address
A single address.
Every address is returned in this shape, whatever dataset it came from. US and non-US addresses share the same fields, so an integration reads one format only.
datasetidentifies where the address came from. Fields a dataset does not carry are returned as an empty string ("")nativecarries the raw dataset record, exactly as the dataset supplies it. Retrieve Address returns it for every dataset exceptusps, whose address already is the USPS record
The example below is a US address from the USPS dataset. An address from any other dataset has the same fields, and its native record carries that dataset's raw fields.
Example Record
Every row links to the field's definition on this page.
{"id": "usps_V124884241|1040||0001","dataset": "usps","country": "United States","country_iso": "USA","country_iso_2": "US","language": "en","primary_number": "1040","secondary_number": "","plus_4_code": "0001","line_1": "1040 Waverly Ave","line_2": "","last_line": "Holtsville NY 00501-0001","zip_code": "00501","zip_plus_4_code": "00501-0001","update_key_number": "V124884241","record_type_code": "S","carrier_route_id": "C000","street_pre_directional_abbreviation": "","street_name": "Waverly","street_suffix_abbreviation": "Ave","street_post_directional_abbreviation": "","building_or_firm_name": "","address_secondary_abbreviation": "","base_alternate_code": "B","lacs_status_indicator": "","government_building_indicator": "","state_abbreviation": "NY","state": "New York","municipality_city_state_key": "","urbanization_city_state_key": "","preferred_last_line_city_state_key": "V13916","county": "Suffolk","city": "Holtsville","city_abbreviation": "","preferred_city": "Holtsville","city_state_name_facility_code": "P","zip_classification_code": "U","city_state_mailing_name_indicator": "Y","carrier_route_rate_sortation": "C","finance_number": 353910,"congressional_district_number": 2,"county_number": 103}Key Elements
The fields most integrations read.
Address lines
Two lines and a last line identify a delivery point. line_1 is never empty.
line_1string- First Address Line
The primary delivery line (usually the street address) of the address.
line_2string- Second Address Line
Secondary delivery line of the address. Typically populated if the first line is the firm or building name.
last_linestring- Last Line
Final line of the address, comprising city, state or region and postal code.
City, state and ZIP
citystring- City Name
City or town name used for mailing; appears in the last line of the address.
statestring- State
Full name of the state, province or region.
state_abbreviationstring- State Abbreviation
Abbreviated name of the state, province or region. For US addresses this is the 2 character state, territory or armed forces designation ("AA", "AE" or "AP" for APO/FPO/DPO).
zip_codestring- ZIP Code
Postal code identifying the delivery area. For US addresses this is the 5 digit ZIP Code.
zip_plus_4_codestring- ZIP + 4 Code
Nine-digit code that identifies a small geographic delivery area serviceable by a single carrier; appears in the last line of the address on a mail piece. USPS addresses only.
Country
countrystring- Country
Full country names (ISO 3166)
Enum248 possible values
- "United Kingdom"
- "England"
- "Scotland"
- "Wales"
- "Northern Ireland"
- "Isle of Man"
- "Jersey"
- "Guernsey"
- "Channel Islands"
- "Guam"
- "United States"
- "Puerto Rico"
- "Ireland"
- "Vatican City"
- "France"
- "Greenland"
- "Netherlands"
- "Luxembourg"
- "Austria"
- "Gibraltar"
- "Liechtenstein"
- "Finland"
- "Iceland"
- "Switzerland"
- "Portugal"
- "Belgium"
- "Monaco"
- "Italy"
- "Faroe Islands"
- "Norway"
- "Denmark"
- "San Marino"
- "Malta"
- "Andorra"
- "Sweden"
- "Germany"
- "Spain"
- "Svalbard and Jan Mayen"
- "Bahamas"
- "Belize"
- "Bermuda"
- "Canada"
- "Costa Rica"
- "Cayman Islands"
- "Dominican Republic"
- "Guatemala"
- "Honduras"
- "Haiti"
- "Jamaica"
- "Mexico"
- "Nicaragua"
- "Panama"
- "El Salvador"
- "British Virgin Islands"
- "Australia"
- "Cocos (Keeling) Islands"
- "Christmas Island"
- "Fiji"
- "New Caledonia"
- "Norfolk Island"
- "New Zealand"
- "French Polynesia"
- "Tonga"
- "Vanuatu"
- "Aruba"
- "Argentina"
- "Saint Barthélemy"
- "Bolivia"
- "Brazil"
- "Barbados"
- "Chile"
- "Colombia"
- "Curaçao"
- "Dominica"
- "Ecuador"
- "Guadeloupe"
- "Grenada"
- "French Guiana"
- "Guyana"
- "Saint Martin (French part)"
- "Martinique"
- "Peru"
- "Paraguay"
- "Suriname"
- "Trinidad and Tobago"
- "Uruguay"
- "Venezuela"
- "Taiwan"
- "Brunei Darussalam"
- "Indonesia"
- "Cambodia"
- "Myanmar"
- "Malaysia"
- "Philippines"
- "Singapore"
- "Thailand"
- "Timor-Leste"
- "Vietnam"
- "Albania"
- "Armenia"
- "Azerbaijan"
- "Bulgaria"
- "Bosnia and Herzegovina"
- "Belarus"
- "Cyprus"
- "Czech Republic"
- "Estonia"
- "Georgia"
- "Greece"
- "Croatia"
- "Hungary"
- "Kazakhstan"
- "Kyrgyzstan"
- "Kosovo"
- "Lithuania"
- "Latvia"
- "Moldova"
- "North Macedonia"
- "Montenegro"
- "Poland"
- "Romania"
- "Russia"
- "Serbia"
- "Slovakia"
- "Slovenia"
- "Turkey"
- "Ukraine"
- "Uzbekistan"
- "Hong Kong"
- "Bangladesh"
- "India"
- "Sri Lanka"
- "Macau"
- "Angola"
- "United Arab Emirates"
- "Burkina Faso"
- "Bahrain"
- "Botswana"
- "Cameroon"
- "Egypt"
- "Ghana"
- "Israel"
- "Jordan"
- "Kenya"
- "Kuwait"
- "Lebanon"
- "Lesotho"
- "Morocco"
- "Mozambique"
- "Mauritius"
- "Mayotte"
- "Namibia"
- "Nigeria"
- "Oman"
- "Qatar"
- "Réunion"
- "Saudi Arabia"
- "Senegal"
- "Eswatini"
- "Tunisia"
- "South Africa"
- "Zambia"
- "Zimbabwe"
- "China"
- "Japan"
- "South Korea"
- "Laos"
- "Mongolia"
- "Papua New Guinea"
- "North Korea"
- "Solomon Islands"
- "Tajikistan"
- "Turkmenistan"
- "Bhutan"
- "British Indian Ocean Territory"
- "Maldives"
- "Nepal"
- "Pakistan"
- "Afghanistan"
- "Burundi"
- "Benin"
- "Central African Republic"
- "Côte d'Ivoire"
- "Democratic Republic of the Congo"
- "Republic of the Congo"
- "Comoros"
- "Cape Verde"
- "Djibouti"
- "Algeria"
- "Eritrea"
- "Western Sahara"
- "Ethiopia"
- "Gabon"
- "Guinea"
- "Gambia"
- "Guinea-Bissau"
- "Equatorial Guinea"
- "Iran"
- "Iraq"
- "Liberia"
- "Libya"
- "Madagascar"
- "Mali"
- "Mauritania"
- "Malawi"
- "Niger"
- "Rwanda"
- "Saint Helena"
- "Sierra Leone"
- "Somalia"
- "South Sudan"
- "São Tomé and Príncipe"
- "Seychelles"
- "Chad"
- "Togo"
- "Tanzania"
- "Uganda"
- "Sudan"
- "Syria"
- "Yemen"
- "Cuba"
- "Saint Pierre and Miquelon"
- "Turks and Caicos Islands"
- "Cook Islands"
- "Kiribati"
- "Niue"
- "Nauru"
- "Pitcairn Islands"
- "Tokelau"
- "Tuvalu"
- "Wallis and Futuna"
- "Samoa"
- "Anguilla"
- "Antigua and Barbuda"
- "Bonaire, Sint Eustatius and Saba"
- "Falkland Islands (Malvinas)"
- "Saint Kitts and Nevis"
- "Saint Lucia"
- "Montserrat"
- "South Georgia and the South Sandwich Islands"
- "Sint Maarten (Dutch part)"
- "Saint Vincent and the Grenadines"
- "American Samoa"
- "Federated States of Micronesia"
- "Marshall Islands"
- "Northern Mariana Islands"
- "Palau"
- "United States Virgin Islands"
country_isostring- ISO Country Code (3)
3 letter country code (ISO 3166-1)
Enum243 possible values
- "GBR"
- "IMN"
- "JEY"
- "GGY"
- "USA"
- "PRI"
- "GUM"
- "IRL"
- "VAT"
- "FRA"
- "GRL"
- "NLD"
- "LUX"
- "AUT"
- "GIB"
- "LIE"
- "FIN"
- "ISL"
- "CHE"
- "PRT"
- "BEL"
- "MCO"
- "ITA"
- "FRO"
- "NOR"
- "DNK"
- "SMR"
- "MLT"
- "AND"
- "SWE"
- "DEU"
- "ESP"
- "SJM"
- "BRN"
- "IDN"
- "KHM"
- "MMR"
- "MYS"
- "PHL"
- "SGP"
- "THA"
- "TLS"
- "VNM"
- "ALB"
- "ARM"
- "AZE"
- "BGR"
- "BIH"
- "BLR"
- "CYP"
- "CZE"
- "EST"
- "GEO"
- "GRC"
- "HRV"
- "HUN"
- "KAZ"
- "KGZ"
- "LTU"
- "LVA"
- "MDA"
- "MKD"
- "MNE"
- "POL"
- "ROU"
- "RUS"
- "SRB"
- "SVK"
- "SVN"
- "TUR"
- "UKR"
- "UZB"
- "XKX"
- "HKG"
- "BGD"
- "IND"
- "LKA"
- "MAC"
- "AGO"
- "ARE"
- "BFA"
- "BHR"
- "BWA"
- "CMR"
- "EGY"
- "GHA"
- "ISR"
- "JOR"
- "KEN"
- "KWT"
- "LBN"
- "LSO"
- "MAR"
- "MOZ"
- "MUS"
- "MYT"
- "NAM"
- "NGA"
- "OMN"
- "QAT"
- "REU"
- "SAU"
- "SEN"
- "SWZ"
- "TUN"
- "ZAF"
- "ZMB"
- "ZWE"
- "BHS"
- "BLZ"
- "BMU"
- "CAN"
- "CRI"
- "CYM"
- "DOM"
- "GTM"
- "HND"
- "HTI"
- "JAM"
- "MEX"
- "NIC"
- "PAN"
- "SLV"
- "VGB"
- "AUS"
- "CCK"
- "CXR"
- "FJI"
- "NCL"
- "NFK"
- "NZL"
- "PYF"
- "TON"
- "VUT"
- "ABW"
- "ARG"
- "BLM"
- "BOL"
- "BRA"
- "BRB"
- "CHL"
- "COL"
- "CUW"
- "DMA"
- "ECU"
- "GLP"
- "GUF"
- "GUY"
- "MAF"
- "MTQ"
- "PER"
- "PRY"
- "SUR"
- "TTO"
- "URY"
- "VEN"
- "TWN"
- "CHN"
- "JPN"
- "KOR"
- "LAO"
- "MNG"
- "PNG"
- "PRK"
- "SLB"
- "TJK"
- "TKM"
- "BTN"
- "IOT"
- "MDV"
- "NPL"
- "PAK"
- "AFG"
- "BDI"
- "BEN"
- "CAF"
- "CIV"
- "COD"
- "COG"
- "COM"
- "CPV"
- "DJI"
- "DZA"
- "ERI"
- "ESH"
- "ETH"
- "GAB"
- "GIN"
- "GMB"
- "GNB"
- "GNQ"
- "IRN"
- "IRQ"
- "LBR"
- "LBY"
- "MDG"
- "MLI"
- "MRT"
- "MWI"
- "NER"
- "RWA"
- "SHN"
- "SLE"
- "SOM"
- "SSD"
- "STP"
- "SYC"
- "TCD"
- "TGO"
- "TZA"
- "UGA"
- "SDN"
- "SYR"
- "YEM"
- "CUB"
- "SPM"
- "TCA"
- "COK"
- "KIR"
- "NIU"
- "NRU"
- "PCN"
- "TKL"
- "TUV"
- "WLF"
- "WSM"
- "AIA"
- "ATG"
- "BES"
- "FLK"
- "GRD"
- "KNA"
- "LCA"
- "MSR"
- "SGS"
- "SXM"
- "VCT"
- "ASM"
- "FSM"
- "MHL"
- "MNP"
- "PLW"
- "VIR"
country_iso_2string- ISO Country Code (2)
2 letter country code (ISO 3166-1)
Enum243 possible values
- "GB"
- "IM"
- "JE"
- "GG"
- "US"
- "PR"
- "GU"
- "IE"
- "VA"
- "FR"
- "GL"
- "NL"
- "LU"
- "AT"
- "GI"
- "LI"
- "FI"
- "IS"
- "CH"
- "PT"
- "BE"
- "MC"
- "IT"
- "FO"
- "NO"
- "DK"
- "SM"
- "MT"
- "AD"
- "SE"
- "DE"
- "ES"
- "SJ"
- "BS"
- "BZ"
- "BM"
- "CA"
- "CR"
- "KY"
- "DO"
- "GT"
- "HN"
- "HT"
- "JM"
- "MX"
- "NI"
- "PA"
- "SV"
- "VG"
- "AU"
- "CC"
- "CX"
- "FJ"
- "NC"
- "NF"
- "NZ"
- "PF"
- "TO"
- "VU"
- "AW"
- "AR"
- "BL"
- "BO"
- "BR"
- "BB"
- "CL"
- "CO"
- "CW"
- "DM"
- "EC"
- "GP"
- "GD"
- "GF"
- "GY"
- "MF"
- "MQ"
- "PE"
- "PY"
- "SR"
- "TT"
- "UY"
- "VE"
- "TW"
- "BN"
- "ID"
- "KH"
- "MM"
- "MY"
- "PH"
- "SG"
- "TH"
- "TL"
- "VN"
- "AL"
- "AM"
- "AZ"
- "BG"
- "BA"
- "BY"
- "CY"
- "CZ"
- "EE"
- "GE"
- "GR"
- "HR"
- "HU"
- "KZ"
- "KG"
- "XK"
- "LT"
- "LV"
- "MD"
- "MK"
- "ME"
- "PL"
- "RO"
- "RU"
- "RS"
- "SK"
- "SI"
- "TR"
- "UA"
- "UZ"
- "HK"
- "BD"
- "IN"
- "LK"
- "MO"
- "AO"
- "AE"
- "BF"
- "BH"
- "BW"
- "CM"
- "EG"
- "GH"
- "IL"
- "JO"
- "KE"
- "KW"
- "LB"
- "LS"
- "MA"
- "MZ"
- "MU"
- "YT"
- "NA"
- "NG"
- "OM"
- "QA"
- "RE"
- "SA"
- "SN"
- "SZ"
- "TN"
- "ZA"
- "ZM"
- "ZW"
- "CN"
- "JP"
- "KR"
- "LA"
- "MN"
- "PG"
- "KP"
- "SB"
- "TJ"
- "TM"
- "BT"
- "IO"
- "MV"
- "NP"
- "PK"
- "AF"
- "BI"
- "BJ"
- "CF"
- "CI"
- "CD"
- "CG"
- "KM"
- "CV"
- "DJ"
- "DZ"
- "ER"
- "EH"
- "ET"
- "GA"
- "GN"
- "GM"
- "GW"
- "GQ"
- "IR"
- "IQ"
- "LR"
- "LY"
- "MG"
- "ML"
- "MR"
- "MW"
- "NE"
- "RW"
- "SH"
- "SL"
- "SO"
- "SS"
- "ST"
- "SC"
- "TD"
- "TG"
- "TZ"
- "UG"
- "SD"
- "SY"
- "YE"
- "CU"
- "PM"
- "TC"
- "CK"
- "KI"
- "NU"
- "NR"
- "PN"
- "TK"
- "TV"
- "WF"
- "WS"
- "AI"
- "AG"
- "BQ"
- "FK"
- "KN"
- "LC"
- "MS"
- "GS"
- "SX"
- "VC"
- "AS"
- "FM"
- "MH"
- "MP"
- "PW"
- "VI"
languagestring- Language
Language represented by 2 letter ISO Code (639-1)
Enum64 possible values
- "en"
- "ar"
- "as"
- "az"
- "be"
- "bg"
- "bn"
- "bs"
- "ca"
- "cs"
- "cy"
- "da"
- "de"
- "el"
- "es"
- "et"
- "eu"
- "fi"
- "fo"
- "fr"
- "ga"
- "gl"
- "gn"
- "he"
- "hi"
- "hr"
- "hu"
- "hy"
- "id"
- "is"
- "it"
- "ja"
- "ka"
- "kk"
- "km"
- "kn"
- "ko"
- "lt"
- "lv"
- "mk"
- "mn"
- "ms"
- "mt"
- "my"
- "nl"
- "no"
- "pl"
- "pt"
- "rm"
- "ro"
- "ru"
- "sk"
- "sl"
- "sq"
- "sr"
- "sv"
- "ta"
- "th"
- "tr"
- "uk"
- "uz"
- "vi"
- "wa"
- "zh"
Identifiers
id is unique across every dataset and is what a search result carries. dataset says which dataset the address came from.
idstring- Address Identifier
Global unique internally generated identifier for an address
datasetstring- Dataset
Indicates the provenance of an address.
Enum33 possible values
- "paf"
- "pafw"
- "pafa"
- "mr"
- "nyb"
- "usps"
- "ecaf"
- "ecad"
- "ab"
- "abp"
- "herewe"
- "heret"
- "heresa"
- "hereo"
- "herena"
- "heremeas"
- "heremea"
- "herem"
- "herei"
- "herehk"
- "hereee"
- "hereap"
- "gnaf"
- "kadaster"
- "kartverket"
- "sdfi"
- "cannar"
- "fodbosa"
- "mois"
- "upujp"
- "bev"
- "ban"
- "swt"
Native record
nativeobject- Native Record
The raw dataset record backing an address, exactly as the dataset supplies it. One schema per dataset;
dataseton the record says which.
USPS Elements
The remaining fields carry the USPS breakdown of the address. They are empty for addresses outside the United States.
Premise
primary_numberstring- Primary Number
Building, house, rural route, contract box or PO Box number. The numeric or alphanumeric component of an address preceding the street name.
secondary_numberstring- Secondary Number
Number of the sub unit, apartment, suite etc.
address_secondary_abbreviationstring- Address Secondary Abbreviation
A descriptive code identifying the type of secondary range held in the secondary number field, e.g. apartment, suite or trailer.
building_or_firm_namestring- Building or Firm Name
The name of a company, building, apartment complex, shopping center, or other distinguishing secondary address information.
government_building_indicatorstring- Government Building Indicator
An alphabetic value identifying the type of government agency at the delivery point and/or whether a firm is the only delivery at an address.
- A = City government building, alternates only
- B = Federal government building, alternates only
- C = State government building, alternates only
- D = Firm only, base and alternates
- E = City government building and firm only, alternates only
- F = Federal government building and firm only, alternates only
- G = State government building and firm only, alternates only
Enum- ""
- "A"
- "B"
- "C"
- "D"
- "E"
- "F"
- "G"
Street
street_namestring- Street Name
The official name of the street as assigned by the local governing authority. Contains the street name only, without directionals (EAST, WEST, etc.) or suffixes (ST, DR, BLVD, etc.). May also contain literals such as PO BOX, GENERAL DELIVERY, USS, PSC or UNIT.
street_pre_directional_abbreviationstring- Street Pre-Directional Abbreviation
A geographic direction that precedes the street name.
street_suffix_abbreviationstring- Street Suffix Abbreviation
Standard abbreviation for the trailing designator in a street address.
street_post_directional_abbreviationstring- Street Post Directional Abbreviation
A geographic direction that follows the street name.
City and ZIP detail
plus_4_codestring- Plus 4 Code
4 digit ZIP add-on code. USPS addresses only.
zip_classification_codestring- ZIP Classification Code
Describes the type of ZIP area a 5-digit ZIP Code serves, e.g. a single educational institution, post office boxes only, or a single address with unusually high mail volume.
- M = Military ZIP Code
- P = ZIP Code having only Post Office Boxes
- U = Unique ZIP Code (ZIP assigned to a single organization)
- Blank = Standard ZIP with many addresses assigned to it
Enum- ""
- "M"
- "P"
- "U"
city_abbreviationstring- City State Name Abbreviation
A standard 13-character abbreviation for a city/state name. Only used for names longer than 13 characters with a city state mailing name indicator of "Y"; blank otherwise.
preferred_citystring- Preferred Last Line City State Name
The default preferred or alternate preferred last-line name for a ZIP Code.
preferred_last_line_city_state_keystring- Preferred Last Line City State Key
An index to the USPS City State product record that provides the preferred last-line name for this address range.
municipality_city_state_keystring- Municipality City State Key
Municipality City State Key. Currently blank.
urbanization_city_state_keystring- Urbanization City State Key
An index to the USPS City State file that provides the urbanization name for this delivery range.
city_state_name_facility_codestring- City State Name Facility Code
The type of locale identified in the city/state name. The facility may be a USPS facility, such as a post office, station or branch, or a non-postal place name.
- B = Branch
- C = Community post office (CPO)
- N = Non-postal community name, former USPS facility, or place name
- P = Post Office
- S = Station
- U = Urbanization
Enum- "B"
- "C"
- "N"
- "P"
- "S"
- "U"
- "Y"
- ""
city_state_mailing_name_indicatorstring- City State Mailing Name Indicator
Specifies whether the city state name can be used as the last line of an address on a mail piece.
- Y = City/state name is a USPS-approved mailing name
- N = City/state name is not approved for mailing purposes
County and delivery
countystring- County Name
Name of the county, parish or equivalent administrative area. Blank for APO/FPO/DPO addresses.
county_numberstring | number- County Number
The Federal Information Processing Standard (FIPS) code assigned to a given county or parish within a state. In Alaska it identifies a region within the state. Blank for APO/FPO/DPO addresses whose record type is "S", "H" or "F".
congressional_district_numberstring | number- Congressional District Number
A standard value identifying a geographic area within the United States served by a member of the U.S. House of Representatives. Blank for APO/FPO/DPO addresses. If there is only one member of Congress within a state, the code will be "AL" (at large).
finance_numberstring | number- Finance Number
A code assigned to USPS facilities (primarily Post Offices) to collect cost and statistical data and compile revenue and expense data.
carrier_route_idstring- Carrier Route ID
A 4 character ID identifying the USPS postal route for the address. The first character indicates the route type:
- "B" indicates PO Box
- "H" indicates highway
- "C" indicates city
- "G" indicates general
- "R" indicates rural
carrier_route_rate_sortationstring- Carrier Route Rate Sortation and Merged 5-Digit Indicator
Identifies where automation Carrier Route rates are available and where the commingling of automation and non-automation mail, including Enhanced Carrier Routes and 5-digit presort, on the same pallet or in the same container is allowed.
base_alternate_codestring- Base Alternate Code
Code specifying whether the backing USPS record is a base (preferred) or alternate record.
Base records ("B") can represent a range of addresses or an individual address, such as a firm record. Alternate records ("A") are individual delivery points. Base records are generally preferred over alternate records.
Government deliveries are only listed on alternate records, with the appropriate government building indicator set.
Enum- "A"
- "B"
- ""
lacs_status_indicatorstring- LACS Status Indicator
The Locatable Address Conversion Service (LACS) indicator marks USPS records converted to the LACS system, which lets mailers convert a rural route address to a city-style address so emergency services can locate it.
- L = LACS address: the old (usually rural-route) address that has been converted
- Blank = Not applicable
Enum- ""
- "L"
record_type_codestring- Record Type Code
An alphabetic value identifying the type of USPS record backing the address.
- G = General delivery
- H = High-rise
- F = Firm
- S = Street
- P = PO Box
- R = Rural route/contract
- M = Multi-carrier
Enum- "G"
- "H"
- "F"
- "S"
- "P"
- "R"
- "M"
- ""
update_key_numberstring- Update Key Number
Key that uniquely identifies the source dataset record. For USPS this is the Update Key Number: a database segment code (V1, V2, W1, W2, X1, X2, Y1, Y2, Z1 or Z2) followed by eight alphanumeric characters. It is fixed for the life of the record and is not used in address matching.
Where addresses come from
Every address carries dataset and country_iso. Supported Countries lists which dataset serves each country and how fine its coverage is; each dataset page documents the native record.