United States — Country Data API
The United States provides a complete dataset including 50 states, thousands of cities, and over 40,000 zip codes. Access US geographic data through the CountryDataAPI countries endpoint using ISO code 'US'.
Country overview
Capital
Washington, D.C.
Currency
USD
US Dollar
Languages
English
Timezone
UTC-5 to UTC-12
What data is available for United States?
The following geographic datasets are available for United States via the REST API.
States & Provinces
All administrative subdivisions for United States
Cities
All cities and localities in United States
Zip / Postal Codes
Complete postal code dataset for United States
API Request Example
Fetch United States data using the ISO code US as the query parameter.
Get country by code
GET https://api.countrydataapi.com/v1/countries/by-code?code=USAuthorization: Bearer YOUR_API_KEY
cURL example
curl "https://api.countrydataapi.com/v1/states/by-country?country=US" -H "Authorization: Bearer YOUR_KEY"More Countries in Americas
Access United States Data via API
Integrate United States geographic data into your application today. Countries, states, cities, and zip codes in one API.

