Maryland State Data — United States (US)

Code: MD Country: US Capital: Annapolis Pop: 6.2 million

Maryland (MD) is a state of United States (US) with capital Annapolis. Get Maryland cities, zip codes and geographic data via the Country Data API REST endpoints. Query by country code 'US' and state code 'MD'. Free to start, JSON, plans from $9.99/mo.

Get Maryland cities and zip codes via API

Use the United States country code US and the state code MD to query Maryland-specific geographic data.

Cities in Maryland

All cities and localities in Maryland, United States

Get cities

Zip / Postal Codes in Maryland

Complete postal code dataset for Maryland

Get zip codes

All states of United States

List every state/province in United States

See all states

API Request Example

Fetch cities in Maryland (MD) via the REST API.

Cities by state

GET https://api.countrydataapi.com/v1/cities/by-state?country=US&state=MD

Authorization: Bearer YOUR_API_KEY

cURL example

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

Cities in Maryland

Access Maryland cities & zip codes via API

Integrate Maryland (United States) geographic data into your application. One API for all countries, states, cities and zip codes.