States

List all states

Returns all 50 US states plus DC with summary regulatory information.

get/v1/states

Request

  • Base URL: https://api.hempdata.io
  • URL: https://api.hempdata.io/v1/states
  • Auth: HTTP bearer

Response

List of state summaries

successboolean required

Example response

{
  "success": true,
  "data": [
    {
      "code": "CO",
      "name": "Colorado"
    }
  ],
  "meta": {
    "total": 51
  },
  "errors": [
    {
      "code": "INVALID_STATE_CODE",
      "message": "Invalid state code: XX"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.