Skip to content

Get US States

Request

Retrieve all available US States

Security
sec0
Headers
Acceptstring
Default:"application/json"
X-Request-Idstring

This is the correlation ID related to the request.

curl -i -X GET \
  https://docs.banxa.com/_mock/products/legacy-api/openapi/api/countries/us/states \
  -H 'Accept: application/json' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'X-Request-Id: string'

Responses

200

Bodyapplication/json
dataobject
Response
{ "data": { "states": [ … ] } }