States/Provinces
Description¶
The states
endpoint will retrieve the list of states that are present with the associated Country.
Request¶
Endpoint¶
ui/refdata/v1/states/countrycode
Note
Replace
countrycode
in the request above with the user selected countrycode data ex:USAMethod¶
GET
Response¶
{
"id": 1,
"stateCode": "AL",
"stateText": "Alabama",
"countryId": 1,
"countryText": null
},
{
"id": 2,
"stateCode": "AK",
"stateText": "Alaska",
"countryId": 1,
"countryText": null
},
{
"id": 3,
"stateCode": "AS",
"stateText": "American Samoa",
"countryId": 1,
"countryText": null
},
{
"id": 4,
"stateCode": "AZ",
"stateText": "Arizona",
"countryId": 1,
"countryText": null
},
{
"id": 5,
"stateCode": "AR",
"stateText": "Arkansas",
"countryId": 1,
"countryText": null
},
{
"id": 6,
"stateCode": "CA",
"stateText": "California",
"countryId": 1,
"countryText": null
},
{
"id": 7,
"stateCode": "CO",
"stateText": "Colorado",
"countryId": 1,
"countryText": null
},
{
"id": 8,
"stateCode": "CT",
"stateText": "Connecticut",
"countryId": 1,
"countryText": null
},
{
"id": 9,
"stateCode": "DE",
"stateText": "Delaware",
"countryId": 1,
"countryText": null
},
{
"id": 10,
"stateCode": "DC",
"stateText": "Dist. of Columbia",
"countryId": 1,
"countryText": null
},
{
"id": 11,
"stateCode": "FL",
"stateText": "Florida",
"countryId": 1,
"countryText": null
},
{
"id": 12,
"stateCode": "GA",
"stateText": "Georgia",
"countryId": 1,
"countryText": null
},
{
"id": 13,
"stateCode": "GU",
"stateText": "Guam",
"countryId": 1,
"countryText": null
},
{
"id": 14,
"stateCode": "HI",
"stateText": "Hawaii",
"countryId": 1,
"countryText": null
},
{
"id": 15,
"stateCode": "ID",
"stateText": "Idaho",
"countryId": 1,
"countryText": null
},
{
"id": 16,
"stateCode": "IL",
"stateText": "Illinois",
"countryId": 1,
"countryText": null
},
{
"id": 17,
"stateCode": "IN",
"stateText": "Indiana",
"countryId": 1,
"countryText": null
},
{
"id": 18,
"stateCode": "IA",
"stateText": "Iowa",
"countryId": 1,
"countryText": null
},
{
"id": 19,
"stateCode": "KS",
"stateText": "Kansas",
"countryId": 1,
"countryText": null
},
{
"id": 20,
"stateCode": "KY",
"stateText": "Kentucky",
"countryId": 1,
"countryText": null
},
{
"id": 21,
"stateCode": "LA",
"stateText": "Louisiana",
"countryId": 1,
"countryText": null
},
{
"id": 22,
"stateCode": "ME",
"stateText": "Maine",
"countryId": 1,
"countryText": null
},
{
"id": 23,
"stateCode": "MD",
"stateText": "Maryland",
"countryId": 1,
"countryText": null
},
{
"id": 24,
"stateCode": "MH",
"stateText": "Marshall Islands",
"countryId": 1,
"countryText": null
},
{
"id": 25,
"stateCode": "MA",
"stateText": "Massachusetts",
"countryId": 1,
"countryText": null
},
{
"id": 26,
"stateCode": "MI",
"stateText": "Michigan",
"countryId": 1,
"countryText": null
},
{
"id": 27,
"stateCode": "FM",
"stateText": "Micronesia (Federated States of)",
"countryId": 1,
"countryText": null
},
{
"id": 28,
"stateCode": "MN",
"stateText": "Minnesota",
"countryId": 1,
"countryText": null
},
{
"id": 29,
"stateCode": "MS",
"stateText": "Mississippi",
"countryId": 1,
"countryText": null
},
{
"id": 30,
"stateCode": "MO",
"stateText": "Missouri",
"countryId": 1,
"countryText": null
},
{
"id": 31,
"stateCode": "MT",
"stateText": "Montana",
"countryId": 1,
"countryText": null
},
{
"id": 32,
"stateCode": "NE",
"stateText": "Nebraska",
"countryId": 1,
"countryText": null
},
{
"id": 33,
"stateCode": "NV",
"stateText": "Nevada",
"countryId": 1,
"countryText": null
},
{
"id": 34,
"stateCode": "NH",
"stateText": "New Hampshire",
"countryId": 1,
"countryText": null
},
{
"id": 35,
"stateCode": "NJ",
"stateText": "New Jersey",
"countryId": 1,
"countryText": null
},
{
"id": 36,
"stateCode": "NM",
"stateText": "New Mexico",
"countryId": 1,
"countryText": null
},
{
"id": 37,
"stateCode": "NY",
"stateText": "New York",
"countryId": 1,
"countryText": null
},
{
"id": 38,
"stateCode": "NC",
"stateText": "North Carolina",
"countryId": 1,
"countryText": null
},
{
"id": 39,
"stateCode": "ND",
"stateText": "North Dakota",
"countryId": 1,
"countryText": null
},
{
"id": 40,
"stateCode": "MP",
"stateText": "Northern Mariana Islands",
"countryId": 1,
"countryText": null
},
{
"id": 41,
"stateCode": "OH",
"stateText": "Ohio",
"countryId": 1,
"countryText": null
},
{
"id": 42,
"stateCode": "OK",
"stateText": "Oklahoma",
"countryId": 1,
"countryText": null
},
{
"id": 43,
"stateCode": "OR",
"stateText": "Oregon",
"countryId": 1,
"countryText": null
},
{
"id": 44,
"stateCode": "PW",
"stateText": "Palau",
"countryId": 1,
"countryText": null
},
{
"id": 45,
"stateCode": "PA",
"stateText": "Pennsylvania",
"countryId": 1,
"countryText": null
},
{
"id": 46,
"stateCode": "PR",
"stateText": "Puerto Rico",
"countryId": 1,
"countryText": null
},
{
"id": 47,
"stateCode": "RI",
"stateText": "Rhode Island",
"countryId": 1,
"countryText": null
},
{
"id": 48,
"stateCode": "SC",
"stateText": "South Carolina",
"countryId": 1,
"countryText": null
},
{
"id": 49,
"stateCode": "SD",
"stateText": "South Dakota",
"countryId": 1,
"countryText": null
},
{
"id": 50,
"stateCode": "TN",
"stateText": "Tennessee",
"countryId": 1,
"countryText": null
},
{
"id": 51,
"stateCode": "TX",
"stateText": "Texas",
"countryId": 1,
"countryText": null
},
{
"id": 52,
"stateCode": "UT",
"stateText": "Utah",
"countryId": 1,
"countryText": null
},
{
"id": 53,
"stateCode": "VT",
"stateText": "Vermont",
"countryId": 1,
"countryText": null
},
{
"id": 54,
"stateCode": "VA",
"stateText": "Virginia",
"countryId": 1,
"countryText": null
},
{
"id": 55,
"stateCode": "VI",
"stateText": "Virgin Islands",
"countryId": 1,
"countryText": null
},
{
"id": 56,
"stateCode": "WA",
"stateText": "Washington",
"countryId": 1,
"countryText": null
},
{
"id": 57,
"stateCode": "WV",
"stateText": "West Virginia",
"countryId": 1,
"countryText": null
},
{
"id": 58,
"stateCode": "WI",
"stateText": "Wisconsin",
"countryId": 1,
"countryText": null
},
{
"id": 59,
"stateCode": "WY",
"stateText": "Wyoming",
"countryId": 1,
"countryText": null
}
States (US)¶
State | State Code |
---|---|
Alabama | AL |
Alaska | AK |
American Samoa | AS |
Arizona | AZ |
Arkansas | AR |
California | CA |
Colorado | CO |
Connecticut | CT |
Delaware | DE |
Dist. of Columbia | DC |
Florida | FL |
Georgia | GA |
Guam | GU |
Hawaii | HI |
Idaho | ID |
Illinois | IL |
Indiana | IN |
Iowa | IA |
Kansas | KS |
Kentucky | KY |
Louisiana | LA |
Maine | ME |
Maryland | MD |
Marshall Islands | MH |
Massachusetts | MA |
Michigan | MI |
Micronesia | FM |
Minnesota | MN |
Mississippi | MS |
Missouri | MO |
Montana | MT |
Nebraska | NE |
Nevada | NV |
New Hampshire | NH |
New Jersey | NJ |
New Mexico | NM |
New York | NY |
North Carolina | NC |
North Dakota | ND |
Northern Marianas | MP |
Ohio | OH |
Oklahoma | OK |
Oregon | OR |
Palau | PW |
Pennsylvania | PA |
Puerto Rico | PR |
Rhode Island | RI |
South Carolina | SC |
South Dakota | SD |
Tennessee | TN |
Texas | TX |
Utah | UT |
Vermont | VT |
Virginia | VA |
Virgin Islands | VI |
Washington | WA |
West Virginia | WV |
Wisconsin | WI |
Wyoming | WY |
Provinces (Canada)¶
Province | Province Code |
---|---|
Alberta | AB |
British Columbia | BC |
Manitoba | MB |
New Brunswick | NB |
Newfoundland and Labrador | NL |
Northwest Territories | NT |
Nova Scotia | NS |
Nunavut | NU |
Ontario | ON |
Prince Edward Island | PE |
Quebec | QC |
Saskatchewan | SK |
Yukon | YT |