United States — Country Data API

ISO-2: US ISO-3: USA Americas USD — US Dollar

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

Get all states

Cities

All cities and localities in United States

Get all cities

Zip / Postal Codes

Complete postal code dataset for United States

Get zip codes

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=US

Authorization: Bearer YOUR_API_KEY

cURL example

curl "https://api.countrydataapi.com/v1/states/by-country?country=US"   -H "Authorization: Bearer YOUR_KEY"

Access United States Data via API

Integrate United States geographic data into your application today. Countries, states, cities, and zip codes in one API.