# 🌐 API de Información Geográfica
## Resumen
**API de Información Geográfica** es una potente y confiable API RESTful que proporciona una extensa geo-data sobre más de 249 países y territorios. Ofrece a los desarrolladores la capacidad de recuperar información geográfica, política y cultural detallada y actualizada para su uso en aplicaciones que van desde logística hasta viajes, comercio y educación.
---
## 🚀 Características
- 🌍 Nombres de países, capitales, códigos telefónicos, banderas
- 💱 Códigos y símbolos de moneda
- 🏙️ Estados y ciudades
- 📍 Consultas de códigos postales y ubicaciones
- 🌐 Soporte de emoji de bandera para países
---
### Países Soportados para Datos de Código Postal
Argelia, Andorra, Argentina, Armenia, Australia, Austria, Azerbaiyán, Bangladesh, Bielorrusia, Bélgica, Brasil, Bulgaria, Canadá, Chile, Colombia, República Checa, Francia, Alemania, Guatemala, Haití, Hungría, Islandia, India, Italia, México, Moldavia, Marruecos, Filipinas, Polonia, Rumania, Rusia, San Marino, Serbia, Singapur, Eslovaquia, Eslovenia, España, Sri Lanka, Suecia, Suiza, Tailandia, Reino Unido, Estados Unidos, Uruguay.
## 📌 Puntos Finales de la API
Todos los puntos finales utilizan el método **GET**.
### 1. `ListaDePaises`
- **Endpoint**: `/CountriesList`
- **Descripción**: Recupera una lista completa de todos los países con datos disponibles.
---
### 2. `CapitalPorPais`
- **Endpoint**: `/CapitalByCountry`
- **Parámetro de Consulta**:
- `country`: Nombre del país (por ejemplo, `Francia`)
- **Descripción**: Devuelve la ciudad capital del país especificado.
---
### 3. `CodigoTelefonicoPorPais`
- **Endpoint**: `/PhoneCodeByCountry`
- **Parámetro de Consulta**:
- `country`: Nombre del país (por ejemplo, `India`)
- **Descripción**: Devuelve el código telefónico internacional del país especificado.
---
### 4. `MonedaPorPais`
- **Endpoint**: `/CurrencyByCountry`
- **Parámetro de Consulta**:
- `country`: Nombre del país
- **Descripción**: Devuelve el código y símbolo de la moneda del país especificado.
---
### 5. `EmojiBanderaPorPais`
- **Endpoint**: `/emojiFlagByCountry`
- **Parámetro de Consulta**:
- `country`: Nombre del país
- **Descripción**: Devuelve la representación emoji de la bandera del país.
---
### 6. `estadosPorPais`
- **Endpoint**: `/statesByCountry`
- **Parámetro de Consulta**:
- `country`: Nombre del país
- **Descripción**: Devuelve una lista de estados o provincias en el país dado.
---
### 7. `ciudadesPorEstado`
- **Endpoint**: `/citiesByState`
- **Parámetros de Consulta**:
- `state`: Nombre del estado
- **Descripción**: Devuelve ciudades dentro del estado y país dado.
---
### 8. `UbicacionPorCiudad`
- **Endpoint**: `/LocationByCity`
- **Parámetros de Consulta**:
- `city`: Nombre de la ciudad
- **Descripción**: Devuelve detalles de ubicación (como lat/lon) para una ciudad dada.
---
### 9. `CodigoPostalPorCiudad`
- **Endpoint**: `/ZipCodeByCity`
- **Parámetros de Consulta**:
- `city`: Nombre de la ciudad
- **Descripción**: Devuelve códigos postales asociados con una ciudad dada.
---
Lista de Países
[
{
"countryID": "1",
"countryName": "Afghanistan",
"CountryCode": "AF",
"numericCode": "004",
"nativeName": "\u0627\u0641\u063a\u0627\u0646\u0633\u062a\u0627\u0646",
"Region": "Asia",
"SubRegion": "Southern Asia"
},
{
"countryID": "2",
"countryName": "Aland Islands",
"CountryCode": "AX",
"numericCode": "248",
"nativeName": "\u00c5land",
"Region": "Europe",
"SubRegion": "Northern Europe"
},
{
"countryID": "3",
"countryName": "Albania",
"CountryCode": "AL",
"numericCode": "008",
"nativeName": "Shqip\u00ebria",
"Region": "Europe",
"SubRegion": "Southern Europe"
},
{
"countryID": "4",
"countryName": "Algeria",
"CountryCode": "DZ",
"numericCode": "012",
"nativeName": "\u0627\u0644\u062c\u0632\u0627\u0626\u0631",
"Region": "Africa",
"SubRegion": "Northern Africa"
},
{
"countryID": "5",
"countryName": "American Samoa",
"CountryCode": "AS",
"numericCode": "016",
"nativeName": "American Samoa",
"Region": "Oceania",
"SubRegion": "Polynesia"
},
{
"countryID": "6",
"countryName": "Andorra",
"CountryCode": "AD",
"numericCode": "020",
"nativeName": "Andorra",
"Region": "Europe",
"SubRegion": "Southern Europe"
},
{
"countryID": "7",
"countryName": "Angola",
"CountryCode": "AO",
"numericCode": "024",
"nativeName": "Angola",
"Region": "Africa",
"SubRegion": "Middle Africa"
},
{
"countryID": "8",
"countryName": "Anguilla",
"CountryCode": "AI",
"numericCode": "660",
"nativeName": "Anguilla",
"Region": "Americas",
"SubRegion": "Caribbean"
},
{
"countryID": "9",
"countryName": "Antarctica",
"CountryCode": "AQ",
"numericCode": "010",
"nativeName": "Antarctica",
"Region": "Antarctica",
"SubRegion": "Antarctica"
},
{
"countryID": "10",
"countryName": "Antigua And Barbuda",
"CountryCode": "AG",
"numericCode": "028",
"nativeName": "Antigua and Barbuda",
"Region": "Americas",
"SubRegion": "Caribbean"
},
{
"countryID": "11",
"countryName": "Argentina",
"CountryCode": "AR",
"numericCode": "032",
"nativeName": "Argentina",
"Region": "Americas",
"SubRegion": "South America"
},
{
"countryID": "12",
"countryName": "Armenia",
"CountryCode": "AM",
"numericCode": "051",
"nativeName": "\u0540\u0561\u0575\u0561\u057d\u057f\u0561\u0576",
"Region": "Asia",
"SubRegion": "Western Asia"
},
{
"countryID": "13",
"countryName": "Aruba",
"CountryCode": "AW",
"numericCode": "533",
"nativeName": "Aruba",
"Region": "Americas",
"SubRegion": "Caribbean"
},
{
"countryID": "14",
"countryName": "Australia",
"CountryCode": "AU",
"numericCode": "036",
"nativeName": "Australia",
"Region": "Oceania",
"SubRegion": "Australia and New Zealand"
},
{
"countryID": "15",
"countryName": "Austria",
"CountryCode": "AT",
"numericCode": "040",
"nativeName": "\u00d6sterreich",
"Region": "Europe",
"SubRegion": "Western Europe"
},
{
"countryID": "16",
"countryName": "Azerbaijan",
"CountryCode": "AZ",
"numericCode": "031",
"nativeName": "Az\u0259rbaycan",
"Region": "Asia",
"SubRegion": "Western Asia"
},
{
"countryID": "17",
"countryName": "Bahamas The",
"CountryCode": "BS",
"numericCode": "044",
"nativeName": "Bahamas",
"Region": "Americas",
"SubRegion": "Caribbean"
},
{
"countryID": "18",
"countryName": "Bahrain",
"CountryCode": "BH",
"numericCode": "048",
"nativeName": "\u200f\u0627\u0644\u0628\u062d\u0631\u064a\u0646",
"Region": "Asia",
"SubRegion": "Western Asia"
},
{
"countryID": "19",
"countryName": "Bangladesh",
"CountryCode": "BD",
"numericCode": "050",
"nativeName": "Bangladesh",
"Region": "Asia",
"SubRegion": "Southern Asia"
},
{
"countryID": "20",
"countryName": "Barbados",
"CountryCode": "BB",
"numericCode": "052",
"nativeName": "Barbados",
"Region": "Americas",
"SubRegion": "Caribbean"
},
{
"countryID": "21",
"countryName": "Belarus",
"CountryCode": "BY",
"numericCode": "112",
"nativeName": "\u0411\u0435\u043b\u0430\u0440\u0443\u0301\u0441\u044c",
"Region": "Europe",
"SubRegion": "Eastern Europe"
},
{
"countryID": "22",
"countryName": "Belgium",
"CountryCode": "BE",
"numericCode": "056",
"nativeName": "Belgi\u00eb",
"Region": "Europe",
"SubRegion": "Western Europe"
},
{
"countryID": "23",
"countryName": "Belize",
"CountryCode": "BZ",
"numericCode": "084",
"nativeName": "Belize",
"Region": "Americas",
"SubRegion": "Central America"
},
{
"countryID": "24",
"countryName": "Benin",
"CountryCode": "BJ",
"numericCode": "204",
"nativeName": "B\u00e9nin",
"Region": "Africa",
"SubRegion": "Western Africa"
},
{
"countryID": "25",
"countryName": "Bermuda",
"CountryCode": "BM",
"numericCode": "060",
"nativeName": "Bermuda",
"Region": "Americas",
"SubRegion": "Northern America"
},
{
"countryID": "26",
"countryName": "Bhutan",
"CountryCode": "BT",
"numericCode": "064",
"nativeName": "\u02bcbrug-yul",
"Region": "Asia",
"SubRegion": "Southern Asia"
},
{
"countryID": "27",
"countryName": "Bolivia",
"CountryCode": "BO",
"numericCode": "068",
"nativeName": "Bolivia",
"Region": "Americas",
"SubRegion": "South America"
},
{
"countryID": "28",
"countryName": "Bonaire, Sint Eustatius and Saba",
"CountryCode": "BQ",
"numericCode": "535",
"nativeName": "Caribisch Nederland",
"Region": "Americas",
"SubRegion": "Caribbean"
},
{
"countryID": "29",
"countryName": "Bosnia and Herzegovina",
"CountryCode": "BA",
"numericCode": "070",
"nativeName": "Bosna i Hercegovina",
"Region": "Europe",
"SubRegion": "Southern Europe"
},
{
"countryID": "30",
"countryName": "Botswana",
"CountryCode": "BW",
"numericCode": "072",
"nativeName": "Botswana",
"Region": "Africa",
"SubRegion": "Southern Africa"
},
{
"countryID": "31",
"countryName": "Bouvet Island",
"CountryCode": "BV",
"numericCode": "074",
"nativeName": "Bouvet\u00f8ya",
"Region": "Antarctica",
"SubRegion": "South Atlantic Ocean"
},
{
"countryID": "32",
"countryName": "Brazil",
"CountryCode": "BR",
"numericCode": "076",
"nativeName": "Brasil",
"Region": "Americas",
"SubRegion": "South America"
},
{
"countryID": "33",
"countryName": "British Indian Ocean Territory",
"CountryCode": "IO",
"numericCode": "086",
"nativeName": "British Indian Ocean Territory",
"Region": "Africa",
"SubRegion": "Eastern Africa"
},
{
"countryID": "34",
"countryName": "Brunei",
"CountryCode": "BN",
"numericCode": "096",
"nativeName": "Negara Brunei Darussalam",
"Region": "Asia",
"SubRegion": "South-Eastern Asia"
},
{
"countryID": "35",
"countryName": "Bulgaria",
"CountryCode": "BG",
"numericCode": "100",
"nativeName": "\u0411\u044a\u043b\u0433\u0430\u0440\u0438\u044f",
"Region": "Europe",
"SubRegion": "Eastern Europe"
},
{
"countryID": "36",
"countryName": "Burkina Faso",
"CountryCode": "BF",
"numericCode": "854",
"nativeName": "Burkina Faso",
"Region": "Africa",
"SubRegion": "Western Africa"
},
{
"countryID": "37",
"countryName": "Burundi",
"CountryCode": "BI",
"numericCode": "108",
"nativeName": "Burundi",
"Region": "Africa",
"SubRegion": "Eastern Africa"
},
{
"countryID": "38",
"countryName": "Cambodia",
"CountryCode": "KH",
"numericCode": "116",
"nativeName": "K\u00e2mp\u016dch\u00e9a",
"Region": "Asia",
"SubRegion": "South-Eastern Asia"
},
{
"countryID": "39",
"countryName": "Cameroon",
"CountryCode": "CM",
"numericCode": "120",
"nativeName": "Cameroon",
"Region": "Africa",
"SubRegion": "Middle Africa"
},
{
"countryID": "40",
"countryName": "Canada",
"CountryCode": "CA",
"numericCode": "124",
"nativeName": "Canada",
"Region": "Americas",
"SubRegion": "Northern America"
},
{
"countryID": "41",
"countryName": "Cape Verde",
"CountryCode": "CV",
"numericCode": "132",
"nativeName": "Cabo Verde",
"Region": "Africa"},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/10778/geo+information+api/20422/countries+list' --header 'Authorization: Bearer YOUR_API_KEY'
Obtener la capital del país
Capital por país - Características del Endpoint
| Objeto | Descripción |
|---|---|
country |
[Requerido] |
[
{
"countryName": "United States",
"CountryCode": "US",
"Capital": "Washington"
}
]
curl --location --request GET 'https://zylalabs.com/api/10778/geo+information+api/20423/capital+by+country?country=us' --header 'Authorization: Bearer YOUR_API_KEY'
Obtener código de teléfono por país
Código telefónico por país - Características del Endpoint
| Objeto | Descripción |
|---|---|
country |
[Requerido] |
[
{
"CountryName": "United States",
"CountryCode": "US",
"PhoneCode": "+1"
}
]
curl --location --request GET 'https://zylalabs.com/api/10778/geo+information+api/20424/phone+code+by+country?country=us' --header 'Authorization: Bearer YOUR_API_KEY'
Obtener divisa por país
Moneda por país - Características del Endpoint
| Objeto | Descripción |
|---|---|
country |
[Requerido] |
[
{
"CountryName": "United States",
"CountryCode": "US",
"Currency": "USD",
"CurrencySymbol": "$"
}
]
curl --location --request GET 'https://zylalabs.com/api/10778/geo+information+api/20425/currency+by+country?country=us' --header 'Authorization: Bearer YOUR_API_KEY'
Obtén la bandera emoji por país
Emoji bandera por país - Características del Endpoint
| Objeto | Descripción |
|---|---|
country |
[Requerido] |
[
{
"CountryName": "United States",
"CountryCode": "US",
"emojiU": "U+1F1FA U+1F1F8"
}
]
curl --location --request GET 'https://zylalabs.com/api/10778/geo+information+api/20426/emoji+flag+by+country?country=us' --header 'Authorization: Bearer YOUR_API_KEY'
Obtener estados por país
Estados Por País - Características del Endpoint
| Objeto | Descripción |
|---|---|
country |
[Requerido] |
[
{
"StateName": "Alabama",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "32.3182314",
"longitude": "-86.902298"
},
{
"StateName": "Alaska",
"StateCode": "AK",
"CountryCode": "US",
"latitude": "64.2008413",
"longitude": "-149.4936733"
},
{
"StateName": "American Samoa",
"StateCode": "AS",
"CountryCode": "US",
"latitude": "-14.270972",
"longitude": "-170.132217"
},
{
"StateName": "Arizona",
"StateCode": "AZ",
"CountryCode": "US",
"latitude": "34.0489281",
"longitude": "-111.0937311"
},
{
"StateName": "Arkansas",
"StateCode": "AR",
"CountryCode": "US",
"latitude": "35.20105",
"longitude": "-91.8318334"
},
{
"StateName": "Baker Island",
"StateCode": "UM-81",
"CountryCode": "US",
"latitude": "0.1936266",
"longitude": "-176.476908"
},
{
"StateName": "California",
"StateCode": "CA",
"CountryCode": "US",
"latitude": "36.778261",
"longitude": "-119.4179324"
},
{
"StateName": "Colorado",
"StateCode": "CO",
"CountryCode": "US",
"latitude": "39.5500507",
"longitude": "-105.7820674"
},
{
"StateName": "Connecticut",
"StateCode": "CT",
"CountryCode": "US",
"latitude": "41.6032207",
"longitude": "-73.087749"
},
{
"StateName": "Delaware",
"StateCode": "DE",
"CountryCode": "US",
"latitude": "38.9108325",
"longitude": "-75.5276699"
},
{
"StateName": "District of Columbia",
"StateCode": "DC",
"CountryCode": "US",
"latitude": "38.9071923",
"longitude": "-77.0368707"
},
{
"StateName": "Florida",
"StateCode": "FL",
"CountryCode": "US",
"latitude": "27.6648274",
"longitude": "-81.5157535"
},
{
"StateName": "Georgia",
"StateCode": "GA",
"CountryCode": "US",
"latitude": "32.1656221",
"longitude": "-82.9000751"
},
{
"StateName": "Guam",
"StateCode": "GU",
"CountryCode": "US",
"latitude": "13.444304",
"longitude": "144.793731"
},
{
"StateName": "Hawaii",
"StateCode": "HI",
"CountryCode": "US",
"latitude": "19.8967662",
"longitude": "-155.5827818"
},
{
"StateName": "Howland Island",
"StateCode": "UM-84",
"CountryCode": "US",
"latitude": "0.8113219",
"longitude": "-176.6182736"
},
{
"StateName": "Idaho",
"StateCode": "ID",
"CountryCode": "US",
"latitude": "44.0682019",
"longitude": "-114.7420408"
},
{
"StateName": "Illinois",
"StateCode": "IL",
"CountryCode": "US",
"latitude": "40.6331249",
"longitude": "-89.3985283"
},
{
"StateName": "Indiana",
"StateCode": "IN",
"CountryCode": "US",
"latitude": "40.2671941",
"longitude": "-86.1349019"
},
{
"StateName": "Iowa",
"StateCode": "IA",
"CountryCode": "US",
"latitude": "41.8780025",
"longitude": "-93.097702"
},
{
"StateName": "Jarvis Island",
"StateCode": "UM-86",
"CountryCode": "US",
"latitude": "-0.3743503",
"longitude": "-159.9967206"
},
{
"StateName": "Johnston Atoll",
"StateCode": "UM-67",
"CountryCode": "US",
"latitude": "16.7295035",
"longitude": "-169.5336477"
},
{
"StateName": "Kansas",
"StateCode": "KS",
"CountryCode": "US",
"latitude": "39.011902",
"longitude": "-98.4842465"
},
{
"StateName": "Kentucky",
"StateCode": "KY",
"CountryCode": "US",
"latitude": "37.8393332",
"longitude": "-84.2700179"
},
{
"StateName": "Kingman Reef",
"StateCode": "UM-89",
"CountryCode": "US",
"latitude": "6.383333",
"longitude": "-162.416667"
},
{
"StateName": "Louisiana",
"StateCode": "LA",
"CountryCode": "US",
"latitude": "30.9842977",
"longitude": "-91.9623327"
},
{
"StateName": "Maine",
"StateCode": "ME",
"CountryCode": "US",
"latitude": "45.253783",
"longitude": "-69.4454689"
},
{
"StateName": "Maryland",
"StateCode": "MD",
"CountryCode": "US",
"latitude": "39.0457549",
"longitude": "-76.6412712"
},
{
"StateName": "Massachusetts",
"StateCode": "MA",
"CountryCode": "US",
"latitude": "42.4072107",
"longitude": "-71.3824374"
},
{
"StateName": "Michigan",
"StateCode": "MI",
"CountryCode": "US",
"latitude": "44.3148443",
"longitude": "-85.6023643"
},
{
"StateName": "Midway Atoll",
"StateCode": "UM-71",
"CountryCode": "US",
"latitude": "28.2072168",
"longitude": "-177.3734926"
},
{
"StateName": "Minnesota",
"StateCode": "MN",
"CountryCode": "US",
"latitude": "46.729553",
"longitude": "-94.6858998"
},
{
"StateName": "Mississippi",
"StateCode": "MS",
"CountryCode": "US",
"latitude": "32.3546679",
"longitude": "-89.3985283"
},
{
"StateName": "Missouri",
"StateCode": "MO",
"CountryCode": "US",
"latitude": "37.9642529",
"longitude": "-91.8318334"
},
{
"StateName": "Montana",
"StateCode": "MT",
"CountryCode": "US",
"latitude": "46.8796822",
"longitude": "-110.3625658"
},
{
"StateName": "Navassa Island",
"StateCode": "UM-76",
"CountryCode": "US",
"latitude": "18.4100689",
"longitude": "-75.0114612"
},
{
"StateName": "Nebraska",
"StateCode": "NE",
"CountryCode": "US",
"latitude": "41.4925374",
"longitude": "-99.9018131"
},
{
"StateName": "Nevada",
"StateCode": "NV",
"CountryCode": "US",
"latitude": "38.8026097",
"longitude": "-116.419389"
},
{
"StateName": "New Hampshire",
"StateCode": "NH",
"CountryCode": "US",
"latitude": "43.1938516",
"longitude": "-71.5723953"
},
{
"StateName": "New Jersey",
"StateCode": "NJ",
"CountryCode": "US",
"latitude": "40.0583238",
"longitude": "-74.4056612"
},
{
"StateName": "New Mexico",
"StateCode": "NM",
"CountryCode": "US",
"latitude": "34.5199402",
"longitude": "-105.8700901"
},
{
"StateName": "New York",
"StateCode": "NY",
"CountryCode": "US",
"latitude": "40.7127753",
"longitude": "-74.0059728"
},
{
"StateName": "North Carolina",
"StateCode": "NC",
"CountryCode": "US",
"latitude": "35.7595731",
"longitude": "-79.0192997"
},
{
"StateName": "North Dakota",
"StateCode": "ND",
"CountryCode": "US",
"latitude": "47.5514926",
"longitude": "-101.0020119"
},
{
"StateName": "Northern Mariana Islands",
"StateCode": "MP",
"CountryCode": "US",
"latitude": "15.0979",
"longitude": "145.6739"
},
{
"StateName": "Ohio",
"StateCode": "OH",
"CountryCode": "US",
"latitude": "40.4172871",
"longitude": "-82.907123"
},
{
"StateName": "Oklahoma",
"StateCode": "OK",
"CountryCode": "US",
"latitude": "35.4675602",
"longitude": "-97.5164276"
},
{
"StateName": "Oregon",
"StateCode": "OR",
"CountryCode": "US",
"latitude": "43.8041334",
"longitude": "-120.5542012"
},
{
"StateName": "Palmyra Atoll",
"StateCode": "UM-95",
"CountryCode": "US",
"latitude": "5.8885026",
"longitude": "-162.0786656"
},
{
"StateName": "Pennsylvania",
"StateCode": "PA",
"CountryCode": "US",
"latitude": "41.2033216",
"longitude": "-77.1945247"
},
{
"StateName": "Puerto Rico",
"StateCode": "PR",
"CountryCode": "US",
"latitude": "18.220833",
"longitude": "-66.590149"
},
{
"StateName": "Rhode Island",
"StateCode": "RI",
"CountryCode": "US",
"latitude": "41.5800945",
"longitude": "-71.4774291"
},
{
"StateName": "South Carolina",
"StateCode": "SC",
"CountryCode": "US",
"latitude": "33.836081",
"longitude": "-81.1637245"
},
{
"StateName": "South Dakota",
"StateCode": "SD",
"CountryCode": "US",
"latitude": "43.9695148",
"longitude": "-99.9018131"
},
{
"StateName": "Tennessee",
"StateCode": "TN",
"CountryCode": "US",
"latitude": "35.5174913",
"longitude": "-86.5804473"
},
{
"StateName": "Texas",
"StateCode": "TX",
"CountryCode": "US",
"latitude": "31.9685988",
"longitude": "-99.9018131"
},
{
"StateName": "United States Minor Outlying Islands",
"StateCode": "UM",
"CountryCode": "US",
"latitude": "19.2823192",
"longitude": "166.647047"
},
{
"StateName": "United States Virgin Islands",
"StateCode": "VI",
"CountryCode": "US"},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/10778/geo+information+api/20427/states+by+country?country=us' --header 'Authorization: Bearer YOUR_API_KEY'
Get Cities by State.
Cities By State - Características del Endpoint
| Objeto | Descripción |
|---|---|
state |
[Requerido] |
[
{
"CityName": "Abbeville",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.57184000",
"longitude": "-85.25049000"
},
{
"CityName": "Adamsville",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.60094000",
"longitude": "-86.95611000"
},
{
"CityName": "Alabaster",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.24428000",
"longitude": "-86.81638000"
},
{
"CityName": "Albertville",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.26783000",
"longitude": "-86.20878000"
},
{
"CityName": "Alexander City",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "32.94401000",
"longitude": "-85.95385000"
},
{
"CityName": "Alexandria",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.77399000",
"longitude": "-85.88552000"
},
{
"CityName": "Aliceville",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.12957000",
"longitude": "-88.15142000"
},
{
"CityName": "Andalusia",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.30808000",
"longitude": "-86.48243000"
},
{
"CityName": "Anniston",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.65983000",
"longitude": "-85.83163000"
},
{
"CityName": "Arab",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.31815000",
"longitude": "-86.49582000"
},
{
"CityName": "Argo",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.68778000",
"longitude": "-86.50051000"
},
{
"CityName": "Ashford",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.18296000",
"longitude": "-85.23632000"
},
{
"CityName": "Ashland",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.27373000",
"longitude": "-85.83607000"
},
{
"CityName": "Ashville",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.83704000",
"longitude": "-86.25442000"
},
{
"CityName": "Athens",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.80243000",
"longitude": "-86.97219000"
},
{
"CityName": "Atmore",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.02379000",
"longitude": "-87.49387000"
},
{
"CityName": "Attalla",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.02176000",
"longitude": "-86.08859000"
},
{
"CityName": "Auburn",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "32.60986000",
"longitude": "-85.48078000"
},
{
"CityName": "Autauga County",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "32.53492000",
"longitude": "-86.64276000"
},
{
"CityName": "Baldwin County",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "30.66097000",
"longitude": "-87.74984000"
},
{
"CityName": "Ballplay",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.05871000",
"longitude": "-85.80802000"
},
{
"CityName": "Barbour County",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.86960000",
"longitude": "-85.39320000"
},
{
"CityName": "Bay Minette",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "30.88296000",
"longitude": "-87.77305000"
},
{
"CityName": "Bayou La Batre",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "30.40352000",
"longitude": "-88.24852000"
},
{
"CityName": "Bear Creek",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.27482000",
"longitude": "-87.70058000"
},
{
"CityName": "Berry",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.65983000",
"longitude": "-87.60001000"
},
{
"CityName": "Bessemer",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.40178000",
"longitude": "-86.95444000"
},
{
"CityName": "Bibb County",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "32.99864000",
"longitude": "-87.12644000"
},
{
"CityName": "Birmingham",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.52066000",
"longitude": "-86.80249000"
},
{
"CityName": "Blount County",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.98087000",
"longitude": "-86.56737000"
},
{
"CityName": "Blountsville",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.08149000",
"longitude": "-86.59110000"
},
{
"CityName": "Blue Ridge",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "32.49264000",
"longitude": "-86.19052000"
},
{
"CityName": "Boaz",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.20065000",
"longitude": "-86.16637000"
},
{
"CityName": "Brent",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "32.93735000",
"longitude": "-87.16472000"
},
{
"CityName": "Brewton",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.10518000",
"longitude": "-87.07219000"
},
{
"CityName": "Bridgeport",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.94758000",
"longitude": "-85.71442000"
},
{
"CityName": "Brighton",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.43428000",
"longitude": "-86.94721000"
},
{
"CityName": "Brook Highland",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.43566000",
"longitude": "-86.67388000"
},
{
"CityName": "Brookside",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.63788000",
"longitude": "-86.91666000"
},
{
"CityName": "Brookwood",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.25567000",
"longitude": "-87.32083000"
},
{
"CityName": "Brundidge",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.72016000",
"longitude": "-85.81606000"
},
{
"CityName": "Bullock County",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "32.10055000",
"longitude": "-85.71570000"
},
{
"CityName": "Butler",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "32.08959000",
"longitude": "-88.22197000"
},
{
"CityName": "Butler County",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.75243000",
"longitude": "-86.68029000"
},
{
"CityName": "Bynum",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.61316000",
"longitude": "-85.96108000"
},
{
"CityName": "Cahaba Heights",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.46400000",
"longitude": "-86.73193000"
},
{
"CityName": "Calera",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.10290000",
"longitude": "-86.75360000"
},
{
"CityName": "Calhoun County",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.77143000",
"longitude": "-85.82603000"
},
{
"CityName": "Camden",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.99098000",
"longitude": "-87.29055000"
},
{
"CityName": "Carbon Hill",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.89177000",
"longitude": "-87.52612000"
},
{
"CityName": "Carlisle-Rockledge",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.11445000",
"longitude": "-86.12407000"
},
{
"CityName": "Carrollton",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.26169000",
"longitude": "-88.09503000"
},
{
"CityName": "Cedar Bluff",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.22009000",
"longitude": "-85.60774000"
},
{
"CityName": "Center Point",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.64566000",
"longitude": "-86.68360000"
},
{
"CityName": "Centre",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "34.15204000",
"longitude": "-85.67885000"
},
{
"CityName": "Centreville",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "32.94620000",
"longitude": "-87.11669000"
},
{
"CityName": "Chalkville",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "33.65316000",
"longitude": "-86.64777000"
},
{
"CityName": "Chambers County",
"StateCode": "AL",
"CountryCode": "US"},{"_note":"Response truncated for documentation purposes"}]
curl --location --request GET 'https://zylalabs.com/api/10778/geo+information+api/20428/cities+by+state?state=alabama' --header 'Authorization: Bearer YOUR_API_KEY'
Obtener ubicación (lat y lng) por ciudad
Ubicación por ciudad - Características del Endpoint
| Objeto | Descripción |
|---|---|
city |
[Requerido] |
[
{
"CityName": "Alabama",
"StateCode": "NY",
"CountryCode": "US",
"latitude": "43.09645000",
"longitude": "-78.39086000"
}
]
curl --location --request GET 'https://zylalabs.com/api/10778/geo+information+api/20429/location+by+city?city=alabama' --header 'Authorization: Bearer YOUR_API_KEY'
| Encabezado | Descripción |
|---|---|
Autorización
|
[Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito. |
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.408ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
467ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
172ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
227ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
130ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.017ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
381ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
1.541ms
Nivel de Servicio:
90%
Tiempo de Respuesta:
629ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
819ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.587ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.377ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
5.402ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.466ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.862ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.728ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
3.840ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
4.364ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
2.735ms
Nivel de Servicio:
100%
Tiempo de Respuesta:
5.162ms