Countries API - CountriesDB

Eritrea

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

About Eritrea codes

Need Eritrea (ER) 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 6 official ISO 3166-2 subdivisions for Eritrea. These are the same codes CountriesDB serves through widgets and the Backend Data API.

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

ISO codes

  • Alpha-2ER
  • Alpha-3ERI
  • Numeric232
  • Independenttrue
  • StatusOfficially assigned

Official subdivisions (6)

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

CodeNameType
ER-MAAl Awsaţregion
ER-DUAl Janūbīregion
ER-ANAnsabāregion
ER-DKJanūbī al Baḩrī al Aḩmarregion
ER-GBQāsh-Barkahregion
ER-SKShimālī al Baḩrī al Aḩmarregion

Frequently asked questions

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

Use Eritrea in your app

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