Get state by code

Get all details for any state or province using its official code: names, abbreviations, and associated country.

When to use this endpoint:

  • To display the name and details of a state in forms or validations
  • When you need to map a state code to its information for shipping, addresses, or reports

What do you need?

  • Required parameter: State code (2-3 characters, e.g. AL, TX, NL)

What else should you know?

  • The response includes official name, abbreviation, country, and other state data
Language
Credentials
Bearer
JWT
URL
Click Try It! to start a request and see the response here!