Countries API - CountriesDB

Indonesia

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

About Indonesia codes

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

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

ISO codes

  • Alpha-2ID
  • Alpha-3IDN
  • Numeric360
  • Independenttrue
  • StatusOfficially assigned

Official subdivisions (45)

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

CodeNameType
ID-ACAcehprovince
ID-BABaliprovince
ID-BTBantenprovince
ID-BEBengkuluprovince
ID-GOGorontaloprovince
ID-JKJakarta Rayacapital district
ID-JAJambiprovince
ID-JWJawageographical unit
ID-JBJawa Baratprovince
ID-JTJawa Tengahprovince
ID-JIJawa Timurprovince
ID-KAKalimantangeographical unit
ID-KBKalimantan Baratprovince
ID-KSKalimantan Selatanprovince
ID-KTKalimantan Tengahprovince
ID-KIKalimantan Timurprovince
ID-KUKalimantan Utaraprovince
ID-BBKepulauan Bangka Belitungprovince
ID-KRKepulauan Riauprovince
ID-LALampungprovince
ID-MLMalukugeographical unit
ID-MAMalukuprovince
ID-MUMaluku Utaraprovince
ID-NUNusa Tenggarageographical unit
ID-NBNusa Tenggara Baratprovince
ID-NTNusa Tenggara Timurprovince
ID-PAPapuaprovince
ID-PPPapuageographical unit
ID-PBPapua Baratprovince
ID-PDPapua Barat Dayaprovince
ID-PEPapua Pegununganprovince
ID-PSPapua Selatanprovince
ID-PTPapua Tengahprovince
ID-RIRiauprovince
ID-SLSulawesigeographical unit
ID-SRSulawesi Baratprovince
ID-SNSulawesi Selatanprovince
ID-STSulawesi Tengahprovince
ID-SGSulawesi Tenggaraprovince
ID-SASulawesi Utaraprovince
ID-SMSumaterageographical unit
ID-SBSumatera Baratprovince
ID-SSSumatera Selatanprovince
ID-SUSumatera Utaraprovince
ID-YOYogyakartaspecial region

Frequently asked questions

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

Use Indonesia in your app

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