# 🌐 API de Consulta de Dados Geográficos
## Visão Geral
**API de Consulta de Dados Geográficos** é uma API RESTful poderosa e confiável que fornece dados geográficos extensivos sobre mais de 249 países e territórios. Ela oferece aos desenvolvedores a capacidade de recuperar informações geográficas, políticas e culturais detalhadas e atualizadas para uso em aplicativos que vão desde logística até viagens, comércio e educação.
---
## 🚀 Recursos
- 🌍 Nomes de países, capitais, códigos telefônicos, bandeiras
- 💱 Códigos e símbolos de moeda
- 🏙️ Estados e cidades
- 📍 Consultas de código postal e localização
- 🌐 Suporte a bandeiras emoji para países
---
### Países Suportados para Dados de Código Postal
Algeria, Andorra, Argentina, Armênia, Austrália, Áustria, Azerbaijão, Bangladesh, Bielorrússia, Bélgica, Brasil, Bulgária, Canadá, Chile, Colômbia, República Checa, França, Alemanha, Guatemala, Haiti, Hungria, Islândia, Índia, Itália, México, Moldávia, Marrocos, Filipinas, Polônia, Romênia, Rússia, San Marino, Sérvia, Cingapura, Eslováquia, Eslovênia, Espanha, Sri Lanka, Suécia, Suíça, Tailândia, Reino Unido, Estados Unidos, Uruguai.
## 📌 Endpoints da API
Todos os endpoints usam o método **GET**.
### 1. `ListaDePaíses`
- **Endpoint**: `/ListaDePaíses`
- **Descrição**: Recupera uma lista completa de todos os países com dados disponíveis.
---
### 2. `CapitalPorPaís`
- **Endpoint**: `/CapitalPorPaís`
- **Parâmetro de Consulta**:
- `país`: Nome do país (ex: `França`)
- **Descrição**: Retorna a capital da cidade do país especificado.
---
### 3. `CódigoDeTelefonePorPaís`
- **Endpoint**: `/CódigoDeTelefonePorPaís`
- **Parâmetro de Consulta**:
- `país`: Nome do país (ex: `Índia`)
- **Descrição**: Retorna o código de telefone internacional do país especificado.
---
### 4. `MoedaPorPaís`
- **Endpoint**: `/MoedaPorPaís`
- **Parâmetro de Consulta**:
- `país`: Nome do país
- **Descrição**: Retorna o código e símbolo da moeda do país especificado.
---
### 5. `bandeiraEmojiPorPaís`
- **Endpoint**: `/bandeiraEmojiPorPaís`
- **Parâmetro de Consulta**:
- `país`: Nome do país
- **Descrição**: Retorna a representação emoji da bandeira do país.
---
### 6. `estadosPorPaís`
- **Endpoint**: `/estadosPorPaís`
- **Parâmetro de Consulta**:
- `país`: Nome do país
- **Descrição**: Retorna uma lista de estados ou províncias no país especificado.
---
### 7. `cidadesPorEstado`
- **Endpoint**: `/cidadesPorEstado`
- **Parâmetros de Consulta**:
- `estado`: Nome do estado
- **Descrição**: Retorna cidades dentro do estado e país especificados.
---
### 8. `LocalizaçãoPorCidade`
- **Endpoint**: `/LocalizaçãoPorCidade`
- **Parâmetros de Consulta**:
- `cidade`: Nome da cidade
- **Descrição**: Retorna detalhes de localização (como lat/lon) para uma cidade específica.
---
### 9. `CódigoPostalPorCidade`
- **Endpoint**: `/CódigoPostalPorCidade`
- **Parâmetros de Consulta**:
- `cidade`: Nome da cidade
- **Descrição**: Retorna códigos postais associados a uma cidade específica.
---
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/10777/geo+data+lookup+api/20413/countries+list' --header 'Authorization: Bearer YOUR_API_KEY'
Obter a capital do país
Capital Por País - Recursos do endpoint
| Objeto | Descrição |
|---|---|
country |
[Obrigatório] |
[
{
"countryName": "United States",
"CountryCode": "US",
"Capital": "Washington"
}
]
curl --location --request GET 'https://zylalabs.com/api/10777/geo+data+lookup+api/20414/capital+by+country?country=us' --header 'Authorization: Bearer YOUR_API_KEY'
Obter Código de Telefone por País
Código de telefone por país - Recursos do endpoint
| Objeto | Descrição |
|---|---|
country |
[Obrigatório] |
[
{
"CountryName": "United States",
"CountryCode": "US",
"PhoneCode": "+1"
}
]
curl --location --request GET 'https://zylalabs.com/api/10777/geo+data+lookup+api/20415/phone+code+by+country?country=us' --header 'Authorization: Bearer YOUR_API_KEY'
Obter Moeda Por País
Moeda por País - Recursos do endpoint
| Objeto | Descrição |
|---|---|
country |
[Obrigatório] |
[
{
"CountryName": "United States",
"CountryCode": "US",
"Currency": "USD",
"CurrencySymbol": "$"
}
]
curl --location --request GET 'https://zylalabs.com/api/10777/geo+data+lookup+api/20416/currency+by+country?country=us' --header 'Authorization: Bearer YOUR_API_KEY'
Obter Emoji de Bandeira por País
Emoji de Bandeira Por País - Recursos do endpoint
| Objeto | Descrição |
|---|---|
country |
[Obrigatório] |
[
{
"CountryName": "United States",
"CountryCode": "US",
"emojiU": "U+1F1FA U+1F1F8"
}
]
curl --location --request GET 'https://zylalabs.com/api/10777/geo+data+lookup+api/20417/emoji+flag+by+country?country=us' --header 'Authorization: Bearer YOUR_API_KEY'
Get States by Country
States By Country - Recursos do endpoint
| Objeto | Descrição |
|---|---|
country |
[Obrigatório] |
[
{
"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/10777/geo+data+lookup+api/20418/states+by+country?country=us' --header 'Authorization: Bearer YOUR_API_KEY'
Obter Cidades por Estado
Cidades por Estado - Recursos do endpoint
| Objeto | Descrição |
|---|---|
state |
[Obrigatório] |
[
{
"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/10777/geo+data+lookup+api/20419/cities+by+state?state=alabama' --header 'Authorization: Bearer YOUR_API_KEY'
Obter Localização (lat e lng) Por Cidade
Localização por cidade - Recursos do endpoint
| Objeto | Descrição |
|---|---|
city |
[Obrigatório] |
[
{
"CityName": "Abbeville",
"StateCode": "HDF",
"CountryCode": "FR",
"latitude": "50.10521000",
"longitude": "1.83547000"
},
{
"CityName": "Abbeville",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.57184000",
"longitude": "-85.25049000"
},
{
"CityName": "Abbeville",
"StateCode": "GA",
"CountryCode": "US",
"latitude": "31.99212000",
"longitude": "-83.30682000"
},
{
"CityName": "Abbeville",
"StateCode": "LA",
"CountryCode": "US",
"latitude": "29.97465000",
"longitude": "-92.13429000"
},
{
"CityName": "Abbeville",
"StateCode": "SC",
"CountryCode": "US",
"latitude": "34.17817000",
"longitude": "-82.37901000"
},
{
"CityName": "Abbeville County",
"StateCode": "SC",
"CountryCode": "US",
"latitude": "34.22257000",
"longitude": "-82.45871000"
}
]
curl --location --request GET 'https://zylalabs.com/api/10777/geo+data+lookup+api/20420/location+by+city?city=Abbeville' --header 'Authorization: Bearer YOUR_API_KEY'
Obter Código Postal Por Cidade
Código Postal Por Cidade - Recursos do endpoint
| Objeto | Descrição |
|---|---|
city |
[Obrigatório] |
[
{
"CityName": "Abbeville",
"StateCode": "HDF",
"CountryCode": "FR",
"latitude": "50.10521000",
"longitude": "1.83547000",
"zip": null
},
{
"CityName": "Abbeville",
"StateCode": "AL",
"CountryCode": "US",
"latitude": "31.57184000",
"longitude": "-85.25049000",
"zip": [
"38601",
"31001",
"36310",
"70510",
"70511",
"29620",
"24382",
"29638",
"29659",
"29628",
"29639"
]
},
{
"CityName": "Abbeville",
"StateCode": "GA",
"CountryCode": "US",
"latitude": "31.99212000",
"longitude": "-83.30682000",
"zip": null
},
{
"CityName": "Abbeville",
"StateCode": "LA",
"CountryCode": "US",
"latitude": "29.97465000",
"longitude": "-92.13429000",
"zip": null
},
{
"CityName": "Abbeville",
"StateCode": "SC",
"CountryCode": "US",
"latitude": "34.17817000",
"longitude": "-82.37901000",
"zip": null
},
{
"CityName": "Abbeville County",
"StateCode": "SC",
"CountryCode": "US",
"latitude": "34.22257000",
"longitude": "-82.45871000",
"zip": null
}
]
curl --location --request GET 'https://zylalabs.com/api/10777/geo+data+lookup+api/20421/zip+code+by+city?city=Abbeville' --header 'Authorization: Bearer YOUR_API_KEY'
| Cabeçalho | Descrição |
|---|---|
Authorization
|
[Obrigatório] Deve ser Bearer access_key. Veja "Sua chave de acesso à API" acima quando você estiver inscrito. |
Sem compromisso de longo prazo. Faça upgrade, downgrade ou cancele a qualquer momento. O teste gratuito inclui até 50 requisições.
Nível de serviço:
100%
Tempo de resposta:
172ms
Nível de serviço:
100%
Tempo de resposta:
250ms
Nível de serviço:
50%
Tempo de resposta:
176ms
Nível de serviço:
100%
Tempo de resposta:
467ms
Nível de serviço:
100%
Tempo de resposta:
1.541ms
Nível de serviço:
100%
Tempo de resposta:
1.525ms
Nível de serviço:
100%
Tempo de resposta:
3.408ms
Nível de serviço:
100%
Tempo de resposta:
402ms
Nível de serviço:
100%
Tempo de resposta:
381ms
Nível de serviço:
100%
Tempo de resposta:
21ms
Nível de serviço:
100%
Tempo de resposta:
309ms
Nível de serviço:
100%
Tempo de resposta:
258ms
Nível de serviço:
100%
Tempo de resposta:
315ms
Nível de serviço:
100%
Tempo de resposta:
1.417ms
Nível de serviço:
100%
Tempo de resposta:
2.741ms
Nível de serviço:
100%
Tempo de resposta:
60ms
Nível de serviço:
100%
Tempo de resposta:
1.865ms
Nível de serviço:
100%
Tempo de resposta:
187ms
Nível de serviço:
100%
Tempo de resposta:
287ms
Nível de serviço:
100%
Tempo de resposta:
596ms