Countries API - CountriesDB

United States

ISO 3166-1 country codes and official ISO 3166-2 subdivisions for United States. Use them in forms, validation, and CountriesDB integrations.

About United States codes

Need United States (US) for a checkout form, shipping zone, or backend validation? This page summarizes the ISO 3166-1 country codes and official subdivisions developers use with CountriesDB.

This guide lists 57 official ISO 3166-2 subdivisions for United States. These are the same codes CountriesDB serves through widgets and the Backend Data API.

For production, use the CountriesDB country/subdivision widget or fetch United States from the Data API and validate codes server-side instead of copying values from this page.

ISO codes

  • Alpha-2US
  • Alpha-3USA
  • Numeric840
  • Independenttrue
  • StatusOfficially assigned

Official subdivisions (57)

Official ISO 3166-2 codes for United States. Use these values in region/state selects and server-side validation, not informal or marketing region names.

CodeNameType
US-ALAlabamastate
US-AKAlaskastate
US-ASAmerican Samoaoutlying area
US-AZArizonastate
US-ARArkansasstate
US-CACaliforniastate
US-COColoradostate
US-CTConnecticutstate
US-DEDelawarestate
US-DCDistrict of Columbiadistrict
US-FLFloridastate
US-GAGeorgiastate
US-GUGuamoutlying area
US-HIHawaiistate
US-IDIdahostate
US-ILIllinoisstate
US-INIndianastate
US-IAIowastate
US-KSKansasstate
US-KYKentuckystate
US-LALouisianastate
US-MEMainestate
US-MDMarylandstate
US-MAMassachusettsstate
US-MIMichiganstate
US-MNMinnesotastate
US-MSMississippistate
US-MOMissouristate
US-MTMontanastate
US-NENebraskastate
US-NVNevadastate
US-NHNew Hampshirestate
US-NJNew Jerseystate
US-NMNew Mexicostate
US-NYNew Yorkstate
US-NCNorth Carolinastate
US-NDNorth Dakotastate
US-MPNorthern Mariana Islandsoutlying area
US-OHOhiostate
US-OKOklahomastate
US-OROregonstate
US-PAPennsylvaniastate
US-PRPuerto Ricooutlying area
US-RIRhode Islandstate
US-SCSouth Carolinastate
US-SDSouth Dakotastate
US-TNTennesseestate
US-TXTexasstate
US-UMUnited States Minor Outlying Islandsoutlying area
US-UTUtahstate
US-VTVermontstate
US-VIVirgin Islands, U.S.outlying area
US-VAVirginiastate
US-WAWashingtonstate
US-WVWest Virginiastate
US-WIWisconsinstate
US-WYWyomingstate

Frequently asked questions

What is the ISO 3166-1 code for United States?
United States uses ISO 3166-1 alpha-2 US, alpha-3 USA, and numeric 840. These codes show up in forms, shipping, banking, and APIs.
How many official ISO 3166-2 subdivisions does United States have?
CountriesDB lists 57 official ISO 3166-2 subdivisions for United States (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
How do I use United States country and subdivision data in a form?
Use the CountriesDB widget or Data API to fill country and subdivision selects for United States, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.

Use United States in your app

Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for United States (US) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.