[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114207":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":15,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":36,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},114207,"countries-states-cities-database","dr5hn\u002Fcountries-states-cities-database","dr5hn","🌍 Discover our global repository of countries, states, and cities!  🏙️ Get comprehensive data in JSON, SQL, PSQL, SQLSERVER, MONGODB, SQLITE, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities","http:\u002F\u002Fcountrystatecity.in\u002F",null,"Python",10055,3061,105,6,0,30,38,26,100.8,"Open Data Commons Open Database License v1.0",false,"master",true,[26,27,28,29,30,31,32,33,34,35],"cities","countries","country","csv","geographical-data","psql","regions","state","states","world","2026-11-23 10:11:18","2026-11-23 17:29:56","\u003Cdiv align=\"center\">\n\n![banner](.github\u002Fimages\u002Fbanner.png)\n\n# Countries States Cities Database\n\nA comprehensive, community-maintained dataset of **countries, states, counties, cities, and postcodes** — published in 12 formats and free under the [Open Database License](LICENSE) **(attribution required)**.\n\n[![License: ODbL-1.0](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-ODbL--1.0-brightgreen.svg?style=flat-square)](LICENSE)\n[![GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fdr5hn\u002Fcountries-states-cities-database.svg?style=flat-square)](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountries-states-cities-database\u002Fstargazers)\n![release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fdr5hn\u002Fcountries-states-cities-database?style=flat-square)\n[![NPM](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@countrystatecity\u002Fcountries.svg?style=flat-square&label=npm)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@countrystatecity\u002Fcountries)\n[![PyPI](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fcountrystatecity-countries.svg?style=flat-square&label=pypi)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fcountrystatecity-countries\u002F)\n\n\u003C\u002Fdiv>\n\nTotal Regions : 6 \u003Cbr>\nTotal Sub Regions : 22 \u003Cbr>\nTotal Countries : 250 \u003Cbr>\nTotal States\u002FRegions\u002FMunicipalities : 5,299 \u003Cbr>\nTotal Cities\u002FTowns\u002FDistricts : 153,765 \u003Cbr>\nTotal Postcodes : 728556 (117 countries) \u003Cbr>\nTotal Timezones : 427 (100% IANA coverage) \u003Cbr>\nLast Updated On: November 14, 2026\n\n---\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fmakemysitelive.com\u002F?utm_source=csc-db&utm_medium=banner&utm_campaign=readme\" target=\"_blank\">\u003Cimg src=\".github\u002Fimages\u002Fmakemysitelive-banner.png\" alt=\"Build & Launch Websites Faster with MakeMySiteLive\" width=\"49%\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fremotegig.in\u002F?utm_source=csc-db&utm_medium=banner&utm_campaign=readme\" target=\"_blank\">\u003Cimg src=\".github\u002Fimages\u002Fremotegig-banner.png\" alt=\"Finding a remote job? Go check remotegig.in\" width=\"49%\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## Recommended for production\n\nThe two managed products below are the fastest path to shipping. They're actively maintained, billed for sustainability, and back the rest of the ecosystem.\n\n### REST API — `api.countrystatecity.in`\n\nQuery countries, states, cities, and postcodes from any language. Free tier for prototyping; paid tiers for production.\n\n```bash\ncurl https:\u002F\u002Fapi.countrystatecity.in\u002Fv1\u002Fcountries\u002FIN\u002Fstates\u002FMH\u002Fcities \\\n  -H \"X-CSCAPI-KEY: $YOUR_API_KEY\"\n```\n\nPython applications can use the official sync and async client:\n\n```bash\npip install countrystatecity-api\nexport CSC_API_KEY=\"YOUR_API_KEY\"\n```\n\n```python\nfrom countrystatecity import CountryStateCity\n\nwith CountryStateCity() as client:\n    states = client.get_states_of_country(\"IN\")\n    print([state[\"name\"] for state in states[:3]])\n```\n\n[**Get a free API key →**](https:\u002F\u002Fapp.countrystatecity.in\u002F?utm_source=github&utm_medium=repository&utm_campaign=python_packages&utm_content=upstream_readme) ·\n[Compare plans](https:\u002F\u002Fcountrystatecity.in\u002Fpricing\u002F?utm_source=github&utm_medium=repository&utm_campaign=python_packages&utm_content=upstream_readme) ·\n[Documentation](https:\u002F\u002Fdocs.countrystatecity.in\u002Fapi\u002Fintroduction?utm_source=github&utm_medium=repository&utm_campaign=python_packages&utm_content=upstream_readme) ·\n[Interactive playground](https:\u002F\u002Fplayground.countrystatecity.in\u002F) ·\n[OpenAPI spec](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcsc-swagger) ·\n[Status](https:\u002F\u002Fstatus.countrystatecity.in\u002F)\n\n### Export Tool — `export.countrystatecity.in`\n\nBuild tailored datasets in your browser — pick country, region, format, and field selection, then download.\n\n[**Launch the Export Tool →**](https:\u002F\u002Fexport.countrystatecity.in\u002F)\n\n---\n\n## Other ways to use the data\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>NPM (JavaScript \u002F TypeScript)\u003C\u002Fstrong>\u003C\u002Fsummary>\n\n| Package | GitHub | NPM |\n|---------|--------|-----|\n| `@countrystatecity\u002Fcountries` | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-npm\u002Ftree\u002Fmain\u002Fpackages\u002Fcountries) | [npmjs.com](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@countrystatecity\u002Fcountries) |\n| `@countrystatecity\u002Fcountries-browser` | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-npm\u002Ftree\u002Fmain\u002Fpackages\u002Fcountries-browser) | [npmjs.com](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@countrystatecity\u002Fcountries-browser) |\n| `@countrystatecity\u002Fcurrencies` | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-npm\u002Ftree\u002Fmain\u002Fpackages\u002Fcurrencies) | [npmjs.com](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@countrystatecity\u002Fcurrencies) |\n| `@countrystatecity\u002Ftimezones` | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-npm\u002Ftree\u002Fmain\u002Fpackages\u002Ftimezones) | [npmjs.com](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@countrystatecity\u002Ftimezones) |\n| `@countrystatecity\u002Ftranslations` | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-npm\u002Ftree\u002Fmain\u002Fpackages\u002Ftranslations) | [npmjs.com](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@countrystatecity\u002Ftranslations) |\n| `@countrystatecity\u002Fcli` | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-npm\u002Ftree\u002Fmain\u002Fpackages\u002Fcli) | [npmjs.com](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@countrystatecity\u002Fcli) |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>PyPI (Python)\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nUse `countrystatecity-api` for live, managed data. The suffixed packages are versioned offline snapshots.\n\n| Package | Use | GitHub | PyPI |\n|---------|-----|--------|------|\n| `countrystatecity-api` | Live REST API client | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-pypi\u002Ftree\u002Fmain\u002Fpython\u002Fpackages\u002Fapi) | [pypi.org](https:\u002F\u002Fpypi.org\u002Fproject\u002Fcountrystatecity-api\u002F) |\n| `countrystatecity-countries` | Offline snapshot | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-pypi\u002Ftree\u002Fmain\u002Fpython\u002Fpackages\u002Fcountries) | [pypi.org](https:\u002F\u002Fpypi.org\u002Fproject\u002Fcountrystatecity-countries\u002F) |\n| `countrystatecity-timezones` | Offline snapshot | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-pypi\u002Ftree\u002Fmain\u002Fpython\u002Fpackages\u002Ftimezones) | [pypi.org](https:\u002F\u002Fpypi.org\u002Fproject\u002Fcountrystatecity-timezones\u002F) |\n| `countrystatecity-currencies` | Offline snapshot | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-pypi\u002Ftree\u002Fmain\u002Fpython\u002Fpackages\u002Fcurrencies) | [pypi.org](https:\u002F\u002Fpypi.org\u002Fproject\u002Fcountrystatecity-currencies\u002F) |\n| `countrystatecity-translations` | Offline snapshot | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-pypi\u002Ftree\u002Fmain\u002Fpython\u002Fpackages\u002Ftranslations) | [pypi.org](https:\u002F\u002Fpypi.org\u002Fproject\u002Fcountrystatecity-translations\u002F) |\n| `countrystatecity-phonecodes` | Offline snapshot | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-pypi\u002Ftree\u002Fmain\u002Fpython\u002Fpackages\u002Fphonecodes) | [pypi.org](https:\u002F\u002Fpypi.org\u002Fproject\u002Fcountrystatecity-phonecodes\u002F) |\n| `countrystatecity-regions` | Offline snapshot | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-pypi\u002Ftree\u002Fmain\u002Fpython\u002Fpackages\u002Fregions) | [pypi.org](https:\u002F\u002Fpypi.org\u002Fproject\u002Fcountrystatecity-regions\u002F) |\n| `countrystatecity-postal-codes` | Offline snapshot | [GitHub](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountrystatecity-pypi\u002Ftree\u002Fmain\u002Fpython\u002Fpackages\u002Fpostal_codes) | [pypi.org](https:\u002F\u002Fpypi.org\u002Fproject\u002Fcountrystatecity-postal-codes\u002F) |\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Direct download (gzipped exports)\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nCountries, states, counties, cities, and postcodes are separate datasets. Counties contain official intermediate\nadministrative units; cities can link to them through a nullable `county_id`. See\n[the county field shape and link rules](contributions\u002Fcounties\u002FREADME.md).\n\nEvery format ships as a `.gz` asset on each [GitHub Release](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountries-states-cities-database\u002Freleases).\n\n```bash\ncurl -LO https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountries-states-cities-database\u002Freleases\u002Flatest\u002Fdownload\u002Fjson-cities.json.gz\ngunzip json-cities.json.gz\ncurl -LO https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountries-states-cities-database\u002Freleases\u002Flatest\u002Fdownload\u002Fjson-counties.json.gz\ngunzip json-counties.json.gz\n```\n\nSmaller reference files (countries, states, counties, schema) live in the repo. Use `git clone --depth 1` for a fast clone.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Other packages and platforms\u003C\u002Fstrong>\u003C\u002Fsummary>\n\n- [Database browser](https:\u002F\u002Fdemo.countrystatecity.in\u002F) — query and explore live data\n- [Encyclopedia](https:\u002F\u002Fcountrystatecity.org\u002F) — country profiles and insights\n- [Community Manager](https:\u002F\u002Fmanager.countrystatecity.in\u002F) — submit corrections via web UI\n- [CLI](https:\u002F\u002Fcli.countrystatecity.in\u002F) — terminal access\n- [Kaggle](https:\u002F\u002Fwww.kaggle.com\u002Fdatasets\u002Fdarshangada\u002Fcountries-states-cities-database\u002Fdata) · [Data.world](https:\u002F\u002Fdata.world\u002Fdr5hn\u002Fcountry-state-city)\n\n\u003C\u002Fdetails>\n\n---\n\n## What's in the data\n\n- **250** countries · **5,329** states \u002F regions · **14,058** counties · **153,513** cities · **840k+** postcodes across 125 countries\n- **19 languages** of country and state names plus native script\n- **100% IANA timezone coverage** for cities\n- **Validated foreign keys** on every contribution\n- **Formats:** JSON, MySQL, PostgreSQL, SQLite, SQL Server, MongoDB, XML, YAML, CSV, GeoJSON, [TOON](https:\u002F\u002Fgithub.com\u002Ftoon-format\u002Ftoon) (LLM-optimised, ~40% fewer tokens than JSON), Parquet (columnar, analytics-ready)\n\n| Format | Export time | Size | Compressed |\n|---|---:|---:|---:|\n| CSV | 1s | 40 MB | 9 MB |\n| MongoDB dump | 1s | 30 MB | 20 MB |\n| MySQL SQL | 3s | 86 MB | 22 MB |\n| JSON | 4s | 271 MB | 18 MB |\n| TOON | 5s | 23 MB | 20 MB |\n| Parquet | 7s | 31 MB | 27 MB |\n| GeoJSON | 8s | 208 MB | 24 MB |\n| XML | 9s | 91 MB | 15 MB |\n| YAML | 17s | 68 MB | — |\n| SQLite | 45s | 89 MB | — |\n\n---\n\n## Contributing\n\nThe easiest way is the [Community Manager](https:\u002F\u002Fmanager.countrystatecity.in\u002F) — submit corrections through a web UI with end-to-end tracking.\n\nTo edit JSON directly:\n\n1. Fork and clone (`git clone --depth 1`).\n2. Edit files under `contributions\u002Fcities\u002F`, `contributions\u002Fstates\u002F`, `contributions\u002Fcountries\u002F`, `contributions\u002Fcounties\u002F`, or `contributions\u002Fpostcodes\u002F`.\n3. **Required** for new cities: `name`, `state_id`, `state_code`, `country_id`, `country_code`, `latitude`, `longitude`. **Optional**: `timezone`, `wikiDataId`, `native`.\n4. **Omit** `id`, `created_at`, `updated_at`, `flag` — auto-managed on import.\n5. Open a pull request with a clear data source. If it removes, repurposes or restores ids, include its reviewed\n   [ledger events keyed by `event_pr`](migrations\u002FREADME.md#a-data-pr-carries-its-own-events) in that same PR.\n   The `Ledger migrations` check validates the merge preview; all ids must be final at that preview.\n\n```json\n{\n  \"name\": \"San Francisco\",\n  \"state_id\": 1416,\n  \"state_code\": \"CA\",\n  \"country_id\": 233,\n  \"country_code\": \"US\",\n  \"latitude\": \"37.77493\",\n  \"longitude\": \"-122.41942\",\n  \"timezone\": \"America\u002FLos_Angeles\",\n  \"wikiDataId\": \"Q62\"\n}\n```\n\n[Contributions guide](contributions\u002FREADME.md) ·\n[Contribution guidelines](.github\u002FCONTRIBUTING.md) ·\n[Multi-level territories policy](MULTI_LEVEL_TERRITORIES.md) ·\n[Data versioning](DATA_VERSIONING.md) ·\n[Disputed and special territories](DISPUTED_AND_SPECIAL_TERRITORIES.md) ·\n[Administrative structure policy](ADMINISTRATIVE_STRUCTURE.md) ·\n[The `cities.type` field](TYPE_FIELD.md)\n\n> Don't edit the auto-generated directories (`json\u002F`, `csv\u002F`, `xml\u002F`, `yml\u002F`, `sql\u002F`, etc.). They're rebuilt from MySQL on every release.\n\n---\n\n## License and attribution\n\nLicensed under the [Open Database License (ODbL v1.0)](LICENSE). Commercial use, modification, and redistribution all permitted. **Attribution is required**, and derivatives must be shared under the same license.\n\n```\nData by Countries States Cities Database\nhttps:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountries-states-cities-database | ODbL v1.0\n```\n\nSome records also carry names or points copied from open sources that ask for credit: [GeoNames](https:\u002F\u002Fwww.geonames.org\u002F)\n([CC BY 4.0](https:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby\u002F4.0\u002F)), © [OpenStreetMap contributors](https:\u002F\u002Fwww.openstreetmap.org\u002Fcopyright)\n(ODbL 1.0) and [Wikidata](https:\u002F\u002Fwww.wikidata.org\u002Fwiki\u002FWikidata:Licensing) (CC0). Points are selected per record and\nrounded to eight decimals; the per-record source ledgers are in [.github\u002Ffixes-docs\u002Fledgers\u002F](.github\u002Ffixes-docs\u002Fledgers\u002F).\nOfficial registers matched to records (categories, codes and unit names) also ask for credit:\n- [Statistical Office of the Slovak Republic](https:\u002F\u002Fslovak.statistics.sk\u002Fwps\u002Fportal\u002Fext\u002Faboutus\u002Fwebpage\u002Fterms\u002F), register of spatial units REGPJ (CC BY 4.0)\n- [Geodetska uprava Republike Slovenije](https:\u002F\u002Fwww.e-prostor.gov.si\u002Fdostopi\u002Fjavni-dostop\u002F) (GURS), register of spatial units RPE, 13 October 2026 (CC BY 4.0)\n- [Maa- ja Ruumiamet](https:\u002F\u002Fgeoportaal.maaamet.ee\u002Fest\u002FRuumiandmed\u002FHaldus-ja-asustusjaotus-p119.html), administrative and settlement division, 2 September 2026 (public data terms)\n- [Central Statistics Office](https:\u002F\u002Fwww.cso.ie\u002Fen\u002Faboutus\u002Fwhoweare\u002Fcopyrightpolicy\u002F) and Tailte Éireann, Census 2022 built-up areas (CC BY 4.0)\n- [Stats NZ](https:\u002F\u002Fwww.stats.govt.nz\u002Fabout-us\u002Fcopyright\u002F), territorial authorities and urban-rural areas 2026 (CC BY 4.0): this work is based on Stats NZ data licensed for reuse under CC BY 4.0\n- Ville de Luxembourg, quartiers on [data.public.lu](https:\u002F\u002Fdata.public.lu\u002F) (CC BY 4.0)\n- [Ministry for Development of Communities and Territories of Ukraine](https:\u002F\u002Fmindev.gov.ua\u002F), Codifier of administrative-territorial units and territories of territorial communities (KATOTTG), 7 July 2026 (CC BY 4.0): names and codes matched to records; CSC romanised the names under Cabinet of Ministers Resolution 55 (2010)\n- [Statistics South Africa](https:\u002F\u002Fwww.statssa.gov.za\u002F), Census 2011 main places, distributed by UCT Libraries: main-place codes and classes matched to records; the mapping to `type` is CSC's\n\nCountry names in some languages follow [Unicode CLDR](https:\u002F\u002Fcldr.unicode.org\u002F) 48.2: Copyright © 2015-2024 Unicode, Inc., under the [Unicode License v3](.github\u002Flicenses\u002FUnicode-3.0.txt), whose notice must travel with copies.\n\nSource credits and notices for 63 sources are in [.github\u002Flicenses\u002FSOURCES.txt](.github\u002Flicenses\u002FSOURCES.txt); export releases attach it with the other notices. The register also identifies 233 sources whose redistribution basis remains under review. Keep the applicable credits and notices when redistributing the data.\n\n---\n\n## Support\n\nIf this project saves you time, please consider supporting its continued maintenance.\n\n[![Sponsor on GitHub](https:\u002F\u002Fraw.githubusercontent.com\u002Fdr5hn\u002Fdr5hn\u002Fmain\u002F.github\u002Fresources\u002Fgithub_sponsor_btn.svg)](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fdr5hn)\n[![Buy a coffee](https:\u002F\u002Fwww.ko-fi.com\u002Fimg\u002Fgithubbutton_sm.svg)](https:\u002F\u002Fko-fi.com\u002Fdr5hn)\n\nYou can also [plant a tree](https:\u002F\u002Fecologi.com\u002Fdarshangada?r=60f2a36e67efcb18f734ffb8) on behalf of the project.\n\n**Reach out:** gadadarshan [at] gmail [dot] com\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdr5hn\u002F\">\u003Cimg alt=\"GitHub @dr5hn\" src=\"https:\u002F\u002Fimg.shields.io\u002Fstatic\u002Fv1?logo=github&message=GitHub&color=black&style=flat-square&label=\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fdr5hn\u002F\">\u003Cimg alt=\"Twitter @dr5hn\" src=\"https:\u002F\u002Fimg.shields.io\u002Fstatic\u002Fv1?logo=twitter&message=Twitter&color=black&style=flat-square&label=\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fdr5hn\u002F\">\u003Cimg alt=\"LinkedIn @dr5hn\" src=\"https:\u002F\u002Fimg.shields.io\u002Fstatic\u002Fv1?logo=linkedin&message=LinkedIn&color=black&style=flat-square&label=\" \u002F>\u003C\u002Fa>\n\n### Sponsors\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fcdn.jsdelivr.net\u002Fgh\u002Fdr5hn\u002Fstatic\u002Fsponsors.svg\">\n    \u003Cimg src='https:\u002F\u002Fcdn.jsdelivr.net\u002Fgh\u002Fdr5hn\u002Fstatic\u002Fsponsors.svg'\u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n## Disclaimer\n\nCommunity-maintained data may contain errors or lag behind geopolitical changes. Verify critical data with official sources. [Report issues](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountries-states-cities-database\u002Fissues).\n\n---\n\n\u003Cdiv align=\"center\">\n\n![Repo Activity](https:\u002F\u002Frepobeats.axiom.co\u002Fapi\u002Fembed\u002F635051d1a8be17610a967b7b07b65c0148f13654.svg)\n\n**Thanks to our [contributors](https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountries-states-cities-database\u002Fgraphs\u002Fcontributors).**\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdr5hn\u002Fcountries-states-cities-database\u002Fgraphs\u002Fcontributors\">\n  \u003Cimg src=\"https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=dr5hn\u002Fcountries-states-cities-database&anon=1\" \u002F>\n\u003C\u002Fa>\n\n\u003C\u002Fdiv>\n","这是一个全球行政区划数据集，提供国家、州\u002F省、城市及邮编的标准化结构化数据。支持JSON、CSV、SQL等多种格式导出，包含ISO2\u002FISO3代码、首都、时区（覆盖全部IANA时区）、本地语言等字段，并通过REST API和Python\u002FNode.js客户端提供便捷查询能力。数据由社区维护，遵循ODbL开源协议（需署名），适用于地址表单自动补全、地理信息筛选、多语言本地化、国际业务系统开发等需要权威地理层级数据的场景。",2,"2026-11-24 04:47:55","high_star"]