Kodet Postare API - Qasja në të Dhënat e Kodit Postar në të gjithë botën

Kërkoni kodet postare, merrni të gjitha kodet postare në distancë dhe shumë më tepër me kodin tonë postar API.

Të dhëna në të gjithë botën
94+ Vendet
{
   "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






API e lehtë për t’u përdorur

PostalCodes.app është një mjet që ju lejon të merrni informacione mbi kode të ndryshme postare në të gjithë botën. Ju mund të merrni kodet postare në një distancë në kilometra ose milje, ose të merrni detajet e një kodi postar në përgjithësi.

GET Merrni kodet postare brenda një distancë

Me këtë pikë të lehtë për t'u përdorur do të merrni një listë të kodeve Postare që janë brenda një distance të caktuar. Shembulli i kërkesës do të kthejë një listë të kodeve postare unike, një listë të plotë të kodeve postare dhe detajet e secilit kod postar.

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

API ynë pranon matjet e distancës në kilometra (Default) ose milje.

Për të ndryshuar matjen në kilometra, duhet të vendosni ms në kërkesën tuaj:

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

Përgjigja do të duket si kjo:

{
   "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 Merrni detajet e kodeve postare

Shembulli i mëposhtëm do të kthejë detajet e kodeve postare që përputhen me pyetjen e kërkimit.

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

Përgjigja do të duket si kjo:

{
   "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 Merrni të dhëna të personalizuara

Mund të kaloni parame shtesë për të marrë vetëm atë që ju nevojitet në rezultate, thjesht shtoni fields vlerës në kërkesën tuaj.

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

Përgjigja do të duket si kjo:

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



+94 Vendet e mbështetura

AD (Andorra)
AR (Argjentinë)
AS (Samoa amerikane)
AT (Austri)
AU (Australi)
AX (Ishujt Aland)
AZ (Azerbaixhan)
BD (Bangladesh)
BE (Belgjikë)
BG (Bulgari)
BM (Bermuda)
BR (Brazil)
Flag of Belarus
BY (Bjellorusi)
CA (Kanadë)
CH (Switzerland)
CL (Kili)
CO (Kolumbi)
CR (Kosta Rika)
CY (Qipro)
CZ (Republika Çeke)
Flag of Germany
DE (Gjermani)
DK (Danimarkë)
DO (Republika Domenikane)
DZ (Algjeri)
EE (Estoni)
ES (Spanjë)
FI (Finlandë)
FM (Mikronezi)
FO (Ishujt Faroe)
FR (Francë)
GB (Mbretëria e Bashkuar)
GF (Guiana franceze)
GG (Guernsey dhe Alderney)
GL (Grenlandë)
GP (Guadeloupe)
GT (Guatemala)
GU (Guam)
HR (Kroaci (Hrvatska))
HU (Hungari)
IE (Irlandë)
IM (Njeriu (Ishulli i))
IN (Indi)
IS (Islandë)
IT (Itali)
JE (triko)
JP (Japoni)
Flag of South Korea
KR (Koreja Jugore)
LI (Liechtenstein)
LK (Sri Lanka)
LT (Lituani)
LU (Luksemburg)
LV (Letoni)
MC (Monaco)
MD (Moldovë)
Flag of the Marshall Islands
MH (Ishujt Marshall)
MK (Maqedoni)
MP (Ishujt Veriore të Marianës)
MQ (Martinique)
MT (Maltë)
Flag of Malawi
MW (Malawi)
MX (Meksikë)
MY (Malaysia)
Flag of New Caledonia
NC (Kaledonia e Re)
NL (Holandë)
NO (Norvegji)
NZ (Zelanda e Re)
PE (Peru)
Flag of the Philippines Coding according to the official "description and specification of the FILIPINO flag" in Executive Order No. 23 from 1936
PH (Filipinet)
Flag of Pakistan
PK (Pakistan)
PL (Poloni)
PM (Shën Pierre dhe Miquelon)
the star is in the center of gravity of the triangle, so the x-pos is irrational (tan(30 deg) * 15)
PR (Porto Riko)
PT (Portugali)
PW (Palau)
RE (bashkim)
RO (Rumani)
RS (Serbia)
RU (Rusi)
SE (Suedi)
SG (Singapore)
Flag of Slovenia
SI (Sllovenia)
SJ (Ishujt Svalbard dhe Jan Mayen)
Flag of Slovakia
SK (Slovakia)
SM (San Marino)
TH (Tajlandë)
TR (Turqi)
UA (Ukrainë)
US (Shtetet e Bashkuara)
Flag of Uruguay
UY (Uruguay)
Flag of Vatican City
VA (Shteti i Vatikanit (Selia e Shenjtë))
VI (Ishujt Virgjionale (SHBA))
WF (Wallis dhe Ishujt Futuna)
YT (Mayotte)
ZA (Afrika e Jugut)

Çmimet dhe planet


Plan falas

Çfarë përfshihet?

240 kërkesat ditore

US$ 49/viti

Çfarë përfshihet?

4,800 kërkesat ditore

US$ 149/viti

Çfarë përfshihet?

60,000 kërkesat ditore

US$ 500/viti

Çfarë përfshihet?

300,000 kërkesat ditore

US$ 1,000/viti

Çfarë përfshihet?

1,200,000 kërkesat ditore

US$ 2,500/viti

Çfarë përfshihet?

Kërkesa të pakufizuara ditore

Filloni të përdorni API tonë falas sot!

Merrni 240 kërkesa ditore falas