Skip to main content

Country Codes

PostalDataPI supports 70+ countries. Pass the ISO 3166-1 alpha-2 country code in the country parameter. If omitted, country defaults to "US".

Country codes are case-insensitive -- "DE", "de", and "De" all work.

Supported Countries

CodeCountryExample Postal Code
ADAndorraAD100
ARArgentinaC1002
ASAmerican Samoa96799
ATAustria1010
AUAustralia2000
AXAland Islands22100
BDBangladesh1000
BEBelgium1000
BGBulgaria1000
BRBrazil01001
CACanadaK1A
CHSwitzerland3000
CLChile8320000
COColombia110111
CZCzech Republic10000
DEGermany10115
DKDenmark1050
DODominican Republic10100
DZAlgeria16000
EEEstonia10111
ESSpain28001
FIFinland00100
FOFaroe Islands100
FRFrance75001
GBUnited KingdomSW1A
GFFrench Guiana97300
GLGreenland3900
GPGuadeloupe97100
GTGuatemala01001
GUGuam96910
HRCroatia10000
HUHungary1011
IEIrelandD01
IMIsle of ManIM1
INIndia110001
ISIceland101
ITItaly00100
JPJapan1000001
KRSouth Korea03000
LILiechtenstein9490
LKSri Lanka10100
LTLithuania01100
LULuxembourg1009
LVLatviaLV-1001
MCMonaco98000
MDMoldovaMD-2000
MHMarshall Islands96960
MKNorth Macedonia1000
MPNorthern Mariana Islands96950
MQMartinique97200
MTMaltaVLT 1000
MXMexico01000
MYMalaysia50000
NLNetherlands1011
NONorway0001
NZNew Zealand6011
PHPhilippines1000
PKPakistan44000
PLPoland00-001
PMSaint Pierre and Miquelon97500
PRPuerto Rico00901
PTPortugal1000-001
REReunion97400
RORomania010011
RURussia101000
SESweden10005
SISlovenia1000
SKSlovakia01001
SMSan Marino47890
THThailand10100
TRTurkey06100
USUnited States90210
VAVatican City00120
VIUS Virgin Islands00801
WFWallis and Futuna98600
YTMayotte97600
ZASouth Africa0001
note

This list represents countries with loaded data. PostalDataPI continuously expands coverage. If you need a country not listed here, contact us.

Usage Example

# Look up a German postal code
curl -X POST https://postaldatapi.com/api/lookup \
-H "Content-Type: application/json" \
-d '{"zipcode": "10115", "country": "DE", "apiKey": "YOUR_API_KEY"}'

Notes on Specific Countries

United Kingdom (GB)

UK postcodes use the outcode format (the first part of the postcode, before the space). For example, use "SW1A" rather than "SW1A 1AA". If you pass a full postcode, PostalDataPI automatically extracts the outcode.

Canada (CA)

Canadian postal codes use the first three characters (Forward Sortation Area). For example, use "K1A" rather than "K1A 0A6".

United States (US)

US is the default country. Five-digit ZIP codes are supported. Leading zeros are preserved (e.g., "01001" for Agawam, MA).