---
title: "Get state by code"
method: GET
path: "/state/{state_code}"
tags: ["States"]
---

# Get state by code

`GET /state/{state_code}`

Get state details by state code. Examples: **US** - AL (Alabama), TX (Texas), NY (New York); **Mexico** - NL (Nuevo León), AG (Aguascalientes), BC (Baja California)

## Path parameters

- `state_code` string, required

## Response `200`

Successful response

- object
  - `data` object[] — State information
    - `name` string — State name
    - `code_2_digits` string — Two-digit state code
    - `code_3_digits` string — Three-digit state code
    - `country_code` string — Country code

---

[API](https://skmtc.net/envia/apis/envia-shipping-api-complete-documentation.md) · [All operations](https://skmtc.net/envia/apis/envia-shipping-api-complete-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/envia/envia-shipping-api-complete-documentation/revisions/39f9208959d6/schema)
