Get states/provinces by country
GET/truckers/address/states/:label
Returns states or provinces associated with a specific country. The {label} parameter can be:
- Country name (e.g., Spain)
- Country code (e.g., ES)
Example flow:
- Get the list of countries using /countries
- Select a country and get its states using this endpoint
Notes:
- Country names are case-insensitive
- Full names or ISO codes are accepted
Request
Responses
- 200
List of states/provinces for the specified country