Countries API - CountriesDB

Documentation

Disable Subdivision Type

This standalone example loads the widget script with ?show_subdivision_type=0to disable subdivision types in subdivision names (e.g., "California" instead of "California (State)").

Script parameters: ?show_subdivision_type=0&prefer_official=1

Note: This parameter only works for Official ISO subdivisions. If your plan includes extended subdivisions,prefer_official=1 is required to use official data. For extended subdivision translations, the type is always included in the translation itself.

Try it: Select "United States" from the country dropdown, then look at the subdivision dropdown to see clean subdivision names like "California" and "Texas" without type indicators.

Live Example

Disable Subdivision Type Demo - CountriesDB