/countries-states-cities-database

🌍 World countries, states, regions, provinces, cities, towns in JSON, SQL, XML, PLIST, YAML, and CSV. All Countries, States, Cities with ISO2, ISO3, Country Code, Phone Code, Capital, Native Language, Timezones, Latitude, Longitude, Region, Subregion, Flag Emoji, and Currency. #countries #states #cities

Primary LanguagePHPOpen Data Commons Open Database License v1.0ODbL-1.0

banner

🌍 Countries States Cities Database

release size

Full Database of city state country available in JSON, SQL, XML, YAML & CSV format. All Countries, States & Cities are Covered & Populated with Different Combinations & Versions.

API 🚀

🎉 Introducing API for Countries States Cities Database.

API Documentation

banner

Available Formats

  • JSON
  • SQL
  • XML
  • YAML
  • CSV

Distribution Files Info

File JSON SQL XML YAML CSV
Countries
States
Cities
Country+States NA NA
Country+Cities NA NA
State+Cities NA NA
Country+State+Cities/World NA

Demo

https://dr5hn.github.io/countries-states-cities-database/

Insights

Total Countries : 250
Total States/Regions/Municipalities : 5,077
Total Cities/Towns/Districts : 150,454

Last Updated On : 22nd May 2023

Next API Database Update

The API database is regularly updated to ensure the latest data is available to users. The next scheduled update is on:

Upcoming API Database Update Date: 1st July 2023

Please note that this date is subject to change based on unforeseen circumstances. Although we strive to adhere to the schedule, there may be instances where the update date is missed. We apologize for any inconvenience caused in such cases.

We appreciate your understanding and patience. Thank you for using the Countries States Cities Database!

License

This Countries States Cities Database is made available under the Open Database License. Any rights in individual contents of the database are licensed under the Database Contents License.

Contributing

👍🎉 First off, thanks for your interest in contributing! 🎉👍

If you want to contribute to the database, please follow the guidelines outlined below:

Contributing Guidelines

  • Fork the repository and clone it to your local machine.
  • Make the necessary changes to the data:
    • To fix cities records, update the sql/world.sql > cities Table.
    • To fix states/regions records, update the sql/world.sql > states Table.
    • To fix countries records, update the sql/world.sql > countries Table.
  • Once you've made the changes, create a pull request with a clear description of the modifications you've made.

Please make sure to review the guidelines before making any contributions. They will help ensure that your contributions align with the project's standards and make the process smoother for everyone involved.

You can find the detailed contribution guidelines here.

As always, thanks to our amazing contributors!

Made with contrib.rocks.

Make the world more Greener 🌴

Contribute towards better earth buy the world a tree

Other Publishings

Find this project on data.world

Follow me at

Github @dr5hn Twitter @dr5hn LinkedIn @dr5hn

🙋‍♂️ Support My Work

Github Sponsorship

ko-fi

Suggestions / Feedbacks

Suggestions & Feedbacks are Most Welcome
gadadarshan[at]gmail[dot]com

Disclaimer

Please note that while every effort has been made to ensure the accuracy and completeness of the Countries States Cities Database, it may still contain errors or omissions. The database is continuously being refined and improved based on user feedback and contributions.

Contributors are encouraged to review the Contribution Guidelines and follow the specified guidelines for updating and correcting data in the database. However, due to the collaborative nature of the project, we cannot guarantee the absolute accuracy or reliability of the information provided.

The Countries States Cities Database is made available under the Open Database License, and any rights in individual contents of the database are licensed under the Database Contents License. Users are responsible for independently verifying the data and using it at their own discretion.

We appreciate the efforts of contributors in identifying and addressing issues in the database, and we encourage users to report any inaccuracies or suggest improvements through creating issues. However, please note that the database may not always reflect the latest geopolitical changes or political status.

It is recommended that users consult official sources and corroborate the data from the Countries States Cities Database with other reliable references for critical applications or decision-making processes.

By accessing and using the Countries States Cities Database, users acknowledge and agree to the aforementioned disclaimer and the terms of the Open Database License and the Database Contents License.

That's all Folks. Enjoy.