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 474 B
{"data":{"id":3477,"name":"Nayarit","country_id":142,"country_code":"MX","country_name":"Mexico","iso2":"NAY","iso3166_2":"MX-NAY","fips_code":"18","type":"state","level":null,"parent_id":null,"latitude":22.0000001,"longitude":-105.0000001,"timezone":"America/Mazatlan"},"meta":{"type":"state","count":1,"generated_at":"2025-09-12T11:07:04.406Z","api_version":"v1","country_name":"Mexico","country_iso2":"MX","country_iso3":"MEX","has_coordinates":true,"has_timezone":true}}