[Bug]: Counties should be returned separately from cities

Author: scoobs-mystery-bytesCreated Nov 25, 2025Updated May 23, 2026
Labelsbugdata-correction

Issue Type

Other

Location (if applicable)

City

What's wrong?

When retrieving the city information from the states, it appears the data also includes every county that the city is in as well. Instead of providing a clean list of cities, the data mixes in the county for the cities as well.

A county is to a state like a state is to the nation. They are just sub-divisions of the state with their own level of government that creates legislation and what not for a smaller area. They were created so that all state land is in a county.

What should it be?

If I am pulling back cities from states, I should not be also getting counties. That should be a separate endpoint in my honest opinion. This makes the data a bit messy when you are just looking for the cities that are in a state while not wanting to know which county that city sits in.

Hierarchy is Country --> State --> County --> City ( at least for the United States of America)

Source (optional)

https://learningenglish.voanews.com/a/city-district-county-town-what-are-the-differences-/5893801.html

Source: dr5hn/countries-states-cities-database