🇺🇸United States (US)
ISO 3166 country code - North America / Northern America
Alpha-2US
Alpha-3USA
Numeric840
Currency
$ USD - US Dollar
Code Example
import { country } from '@koshmoney/countries';
// Look up United States by alpha-2 code
const us = country.getCountry('US');
// => { name: 'United States', alpha2: 'US', alpha3: 'USA', numeric: '840' }
// Look up by alpha-3 code
country.getCountryByAlpha3('USA');
// Look up by numeric code
country.getCountryByNumeric('840');Subdivisions (57)
| Code | Name | Type |
|---|---|---|
| US-AK | Alaska | State |
| US-AL | Alabama | State |
| US-AR | Arkansas | State |
| US-AS | American Samoa | Outlying area |
| US-AZ | Arizona | State |
...and 52 more. View all 57 subdivisions →
FAQ
- What is the ISO code for United States?
- United States has three ISO 3166-1 codes: Alpha-2 "US", Alpha-3 "USA", and Numeric "840".
- How many subdivisions does United States have?
- United States has 57 subdivisions defined in ISO 3166-2, including Alaska, Alabama, Arkansas, and more.
- How to look up United States in JavaScript?
- Install @koshmoney/countries via npm, then use country.getCountry('US') to get all ISO codes, or subdivision.getByCountry('US') for subdivisions.
Use United States data in your project
Get ISO codes, subdivisions, currency, and more with a single npm package.
npm install @koshmoney/countries