Skip to content

State Codes

The CDS Global API supports state / region codes for a limited set of countries.

These codes should be used when providing address or location data in your requests.

Important

⚠️ State codes are only accepted for specific countries.

If you include a state code for a country that does not support them, your request will be rejected.

State codes are currently supported for:

  • Australia (AU)
  • Canada (CA)
  • United States (US)

When to use state codes

You should include a state code when submitting data such as:

  • Customer addresses
  • Billing or shipping information
  • Location-specific records

Example: { "country": "US", "state": "CA" }

Format

  • State codes are short uppercase strings
  • Format varies slightly by country (e.g. CA, NSW, QC)
  • Always use the exact values listed below

Australia

StateState Code
New South WalesNSW
Northern TerritoryNT
QueenslandQLD
South AustraliaSA
TasmaniaTAS
VictoriaVIC
Western AustraliaWA

Canada

StateState Code
AlbertaAB
British ColumbiaBC
ManitobaMB
New BrunswickNB
Newfoundland and LabradorNL
Northwest TerritoriesNT
Nova ScotiaNS
NunavutNU
OntarioON
Prince Edward IslandPE
QuebecQC
SaskatchewanSK
YukonYT

USA

StateState Code
AlabamaAL
AlaskaAK
American SamoaAS
ArizonaAZ
ArkansasAR
CaliforniaCA
ColoradoCO
ConnecticutCT
DelawareDE
District of ColumbiaDC
FloridaFL
GeorgiaGA
GuamGU
HawaiiHI
IdahoID
IllinoisIL
IndianaIN
IowaIA
KansasKS
KentuckyKY
LouisianaLA
MaineME
MarylandMD
MassachusettsMA
MichiganMI
MinnesotaMN
MississippiMS
MissouriMO
MontanaMT
NebraskaNE
NevadaNV
New HampshireNH
New JerseyNJ
New MexicoNM
New YorkNY
North CarolinaNC
North DakotaND
Northern Mariana IslandsMP
OhioOH
OklahomaOK
OregonOR
PennsylvaniaPA
Puerto RicoPR
Rhode IslandRI
South CarolinaSC
South DakotaSD
TennesseeTN
TexasTX
United States Minor Outlying IslandsUM
UtahUT
VermontVT
Virgin Islands, U.SVI
VirginiaVA
WashingtonWA
West VirginiaWV
WisconsinWI
WyomingWY

Validation rules

  • State codes must be provided in uppercase
  • The country field must match the state code provided
    • Example: "country": "US" with "state": "CA"
  • Do not send a state code for unsupported countries

Common mistakes

❌ Providing a state for unsupported countries { "country": "FR", "state": "IDF" }
❌ Using incorrect or lowercase codes { "country": "US", "state": "ca" }

Next steps

  • Refer to the Country Codes page for valid country values
  • Check the API Reference to confirm which endpoints require state codes
  • Validate country and state combinations before sending requests