Postleitzuel API - Zougang zu weltwäite Postleetzuel Daten

Kuckt Postnummeren, kritt all Postleetzuel Gamme Distanz a vill méi mat eiser Postleitzuel API.

Weltweit Daten
94+ Länner
{
   "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






Einfach API ze benotzen

PostalCodes.app ass en Instrument dat Iech erlaabt Informatioun iwwer verschidde Postcoden ronderëm d'Welt ze kréien. Dir kënnt Postcode an enger Distanzberäich a Kilometer oder Meilen kréien, oder d'Detailer vun engem Postcode allgemeng kréien.

GET Kritt Postleitzuel bannent enger Distanz

Mat dësem einfach benotzbaren Endpunkt kritt Dir eng Lëscht vu Postcode, déi an enger bestëmmter Distanz sinn. De Beispillerbeispiel gëtt eng Lëscht mat eenzegaartege Postcode, eng komplett Lëscht vu Postleitzueler an d'Detailer vun all Postleetzuel zréck.

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

Eis API acceptéiert Distanzmiessungen a Kilometer (Standard) oder Meilen.

Fir d'Messung op Kilometer z'änneren, musst Dir de ms Parameter an Ärer Ufro setzen:

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

D'Äntwert wäert esou ausgesinn:

{
   "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 Kritt Postleitzuel Detailer

Dat folgend Beispill wäert d'Detailer vun de Postcode zréckginn, déi mat der Sichufro passen.

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

D'Äntwert wäert esou ausgesinn:

{
   "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 Kritt Mooss Daten

Dir kënnt extra params Ugrëff nëmme gespillt, wat Dir am Resultater mussen, just de Wäert Foto fields an Ärer Demande.

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

D'Äntwert wäert esou ausgesinn:

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



+94 Ënnerstëtzte Länner

AD (Andorra)
AR (Argentinien)
AS (Amerikanescht Samoa)
AT (Éisträich)
AU (Australien)
AX (Aland Inselen)
AZ (Aserbaidschan)
BD (Bangladesch)
BE (Belsch)
BG (Bulgarien)
BM (Bermuda)
BR (Brasilien)
Flag of Belarus
BY (Wäissrussland)
CA (Kanada)
CH (Schwäiz)
CL (Chile)
CO (Kolumbien)
CR (Costa Rica)
CY (Zypern)
CZ (Tschechesch Republik)
Flag of Germany
DE (Däitschland)
DK (Dänemark)
DO (Dominikanesch Republik)
DZ (Algerien)
EE (Estland)
ES (Spuenien)
FI (Finnland)
FM (Mikronesien)
FO (Färöer Inselen)
FR (Frankräich)
GB (Vereenegt Kinnekräich)
GF (Franséisch Guyana)
GG (Guernsey an Alderney)
GL (Grönland)
GP (Guadeloupe)
GT (Guatemala)
GU (Guam)
HR (Kroatien (Hrvatska))
HU (Ungarn)
IE (Irland)
IM (Mann (Insel))
IN (Indien)
IS (Island)
IT (Italien)
JE (Jersey)
JP (Japan)
Flag of South Korea
KR (Korea Süd)
LI (Liechtenstein)
LK (Sri Lanka)
LT (Litauen)
LU (Lëtzebuerg)
LV (Lettland)
MC (Monaco)
MD (Moldawien)
Flag of the Marshall Islands
MH (Marshallinselen)
MK (Mazedonien)
MP (Nërdlech Mariana Inselen)
MQ (Martinique)
MT (Malta)
Flag of Malawi
MW (Malawi)