UNPKG

geo-data-api

Version:

Generate a static JSON API for geographic data including countries, states, and cities that can be hosted on any CDN. Transform geographic datasets into a small, cacheable, CDN-ready API with search capabilities.

1 lines 496 B
{"data":{"id":2441,"name":"Powys","country_id":232,"country_code":"GB","country_name":"United Kingdom","iso2":"POW","iso3166_2":"GB-POW","fips_code":"Y8","type":"unitary authority","level":"2","parent_id":"2338","latitude":52.3271499,"longitude":-3.3553352,"timezone":"Europe/London"},"meta":{"type":"state","count":1,"generated_at":"2025-09-12T11:07:05.943Z","api_version":"v1","country_name":"United Kingdom","country_iso2":"GB","country_iso3":"GBR","has_coordinates":true,"has_timezone":true}}