Amakhodi Eposi API - Ukufinyelela Emininingwane Yomhlaba Wonke Yeposi

Bheka amakhodi eposi, thola wonke amabanga wamakhodi weposi amabanga nokuningi nge-postal code API yethu.

Idatha ebanzi yomhlaba
94+ Amazwe
{
   "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






Kulula ukusebenzisa i-API

I-PostalCodes.app iyithuluzi elikuvumela ukuthi uthole ulwazi ngamakhodi weposi ahlukahlukene emhlabeni jikelele. Ungathola amakhodi eposi ebangeni eliqhele ngamakhilomitha noma ngamamayela, noma uthole imininingwane yekhodi leposi lilonke.

GET Thola amakhodi weposi ebangeni

Ngalesi siphetho esilula sokusebenzisa uzothola uhlu lwamakhodi weposi aphakathi kwebanga elinikeziwe. Isibonelo sesicelo sizobuyisa uhlu lwamakhodi weposi ayingqayizivele, uhlu oluphelele lwamakhodi eposi nemininingwane yekhodi ngayinye yeposi.

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

I-API yethu yemukela izilinganiso zamabanga ngamakhilomitha (Okuzenzakalelayo) noma ngamamayela.

Ukuze ushintshe isilinganiso sibe ngamakhilomitha kufanele ufake ipharamitha ye- ms

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

Impendulo izobukeka kanjena:

{
   "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 Thola imininingwane yamakhodi eposi

Isibonelo esilandelayo sizobuyisa imininingwane yamakhodi eposi afana nombuzo wosesho.

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

Impendulo izobukeka kanjena:

{
   "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 Thola idatha yangokwezifiso

Ungadlulisa amapharamitha angeziwe ukuthola okudingayo kuphela emiphumeleni, vele ungeze fields zamanani esicelweni sakho.

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

Impendulo izobukeka kanjena:

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



+94 Amazwe asekelwayo

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