Postal Codes API - Kufikira ku Dongosolo Lapadziko Lonse Lapositi

Fufuzani ma code a positi, pezani ma postal code onse mtunda ndi zina zambiri ndi code yathu ya postal API.

Zambiri Padziko Lonse Lapansi
94+ Mayiko
{
   "query":{
      "code": "10005",
      "country": "US",
      "range": "25",
      "measure": "mi",
   },
   "results":{
       "range_codes_unique": [
           "07010", 
           "07020", 
           "07022", 
           "07024", 
           "07026", 
           ...
       ],
       "range_codes": [
           "07010", 
           "07020", 
           "07022", 
           "07024", 
           "07026", 
           ...
       ],
       "range_codes_details": [
          {
              "postal_code":"07010",
              "country_code":"US",
              "city":"Cliffside Park",
              "state":"New Jersey",
              "state_code":"NJ",
              "province":"Bergen",
              "province_code":"003"
          },
          {
              "postal_code":"07020",
              "country_code":"US",
              "city":"Edgewater",
              "state":"New Jersey",
              "state_code":"NJ",
              "province":"Bergen",
              "province_code":"003"
          },
          {
              "postal_code":"07022",
              "country_code":"US",
              "city":"Fairview",
              "state":"New Jersey",
              "state_code":"NJ",
              "province":"Bergen",
              "province_code":"003"
          },
          {
              "postal_code":"07024",
              "country_code":"US",
              "city":"Fort Lee",
              "state":"New Jersey",
              "state_code":"NJ",
              "province":"Bergen",
              "province_code":"003"
          },
          {
              "postal_code":"07026",
              "country_code":"US",
              "city":"Garfield",
              "state":"New Jersey",
              "state_code":"NJ",
              "province":"Bergen",
              "province_code":"003"
          },
           ...
       ],
   }
}
Postalcodes.app - Access to Worldwide Postal Code data | Product Hunt






Yosavuta kugwiritsa ntchito API

PostalCodes.app ndi chida chomwe chimakupatsani mwayi wodziwa zambiri zamakalata osiyanasiyana padziko lonse lapansi. Mutha kupeza ma postal code mtunda wamakilomita kapena ma mile, kapena kupeza zambiri za code ya positi.

GET Pezani ma code apositi patali

Ndi malo osavuta kugwiritsa ntchito omaliza mupeza mndandanda wama positi omwe ali patali. Chitsanzo cha pempholi chidzabwezeretsa mndandanda wama nambala apositi apadera, mndandanda wathunthu wa ma code positi ndi tsatanetsatane wa nambala iliyonse yapositi.

GET https://postalcodes.app/api/v1/?key=YOUR-APIKEY&distance=25&zipcode=10005&country=us

API yathu imavomereza miyeso yama kilomita m'makilomita (Pofikira) kapena mamailosi.

Kuti musinthe muyeso kukhala wamakilomita muyenera kuyika ms mu pempho lanu:

GET https://postalcodes.app/api/v1/?key=YOUR-APIKEY&ms=km&distance=25&zipcode=10005&country=us

Yankho liziwoneka motere:

{
   "query":{
      "code": "10005",
      "country": "US",
      "range": "25",
      "measure": "mi"
   },
   "results":{
       "range_codes_unique": ["07010", "07020", "07022", "07024", "07026", ...],
       "range_codes": ["07010", "07020", "07022", "07024", "07026", ...],
       "range_codes_details": [
          {
              "postal_code":"07010",
              "country_code":"US",
              "city":"Cliffside Park",
              "state":"New Jersey",
              "state_code":"NJ",
              "province":"Bergen",
              "province_code":"003"
          },
          {
              "postal_code":"07020",
              "country_code":"US",
              "city":"Edgewater",
              "state":"New Jersey",
              "state_code":"NJ",
              "province":"Bergen",
              "province_code":"003"
          },
          {
              "postal_code":"07022",
              "country_code":"US",
              "city":"Fairview",
              "state":"New Jersey",
              "state_code":"NJ",
              "province":"Bergen",
              "province_code":"003"
          },
          {
              "postal_code":"07024",
              "country_code":"US",
              "city":"Fort Lee",
              "state":"New Jersey",
              "state_code":"NJ",
              "province":"Bergen",
              "province_code":"003"
          },
          {
              "postal_code":"07026",
              "country_code":"US",
              "city":"Garfield",
              "state":"New Jersey",
              "state_code":"NJ",
              "province":"Bergen",
              "province_code":"003"
          },
           ...
       ],
   }
}

GET Pezani zambiri zamakalata apositi

Chitsanzo chotsatirachi chidzabwezeretsa tsatanetsatane wa ma positi omwe amafanana ndi funso lofufuzira.

GET https://postalcodes.app/api/v1/?key=YOUR-APIKEY&zipcode=10005&country=us

Yankho liziwoneka motere:

{
   "query":{
      "code": "10005",
      "country": "us",
      "range": "",
      "measure": "mi"
   },
   "results":{
       "range_codes_unique": ["10005"],
       "range_codes": ["10005"],
       "range_codes_details": [
          {
              "postal_code":"10005",
              "country_code":"US",
              "city":"New York",
              "state":"New York",
              "state_code":"NY",
              "province":"New York",
              "province_code":"061"
          }
       ],
   }
}

GET Pezani zidziwitso zachikhalidwe

Mungaphunzitse params owonjezera kuti chokha chimene inu muyenera zotsatira basi, kuwonjezera phindu fields pa pempho lanu.

GET https://postalcodes.app/api/v1/?key=YOUR-APIKEY&fields=["range_codes_unique"]&distance=25&zipcode=10005&country=us

Yankho liziwoneka motere:

{
   "query":{
      "code": "10005",
      "country": "US",
      "range": "25",
      "measure": "mi"
   },
   "results":{
       "range_codes_unique": ["07010", "07020", "07022", "07024", "07026", ...]
   }
}



+94 Mayiko othandizidwa

AD (Andorra)
AR (Argentina)
AS (American Samoa)
AT (Austria)
AU (Australia)
AX (Aland Islands)
AZ (Azerbaijan)
BD (Bangladesh)
BE (Belgium)
BG (Bulgaria)
BM (Bermuda)
BR (Brazil)
Flag of Belarus
BY (Belarus)
CA (Canada)
CH (Switzerland)
CL (Chile)
CO (Colombia)
CR (Costa Rica)
CY (Cyprus)
CZ (Czech Republic)
Flag of Germany
DE (Germany)
DK (Denmark)
DO (Dominican Republic)
DZ (Algeria)
EE (Estonia)
ES (Spain)
FI (Finland)
FM (Micronesia)
FO (Faroe Islands)
FR (France)
GB (United Kingdom)
GF (French Guiana)
GG (Guernsey ndi Alderney)
GL (Greenland)
GP (Guadeloupe)
GT (Guatemala)
GU (Guam)
HR (Croatia (Hrvatska))
HU (Hungary)
IE (Ireland)
IM (Mwamuna (Chisumbu cha))
IN (India)
IS (Iceland)
IT (Italy)
JE (Jersey)
JP (Japan)
Flag of South Korea
KR (Korea South)
LI (Liechtenstein)
LK (Sri Lanka)
LT (Lithuania)
LU (Luxembourg)
LV (Latvia)
MC (Monaco)
MD (Moldova)
Flag of the Marshall Islands
MH (Marshall Islands)
MK (Makedoniya)
MP (Zilumba za Northern Mariana)
MQ (Martinique)
MT (Malta)
Flag of Malawi
MW (Malawi)