---
title: "Get district types"
method: GET
path: "/district_type"
tags: ["District Type"]
---

# Get district types

`GET /district_type`

Use the district_type resource to get information about the categories of both legislative and non-legislative districts in Cicero. The default response ordering is by `name_short`.

Cost: 0 credits

## Query parameters

- `format` 'json' | 'xml'
- `customer_id` string, password, required
- `key` string, password

## Headers

- `Accept` 'application/json' | '*/*', required
- `Content-Type` 'application/json' | 'application/xml', required

## Response `200`

Successful response

- object
  - `response` ResponseDistrictTypes
    - `errors` unknown[] — If the request encountered an error or errors, details about the error(s) will be contained in this field.
      - unknown
    - `messages` unknown[] — Contains the resources matching the request query, if any.
      - unknown
    - `results` object — Contains additional information about the outcome of a request that is not an error and not part of a query result.
      - `district_types` DistrictTypeObject[]
        - `name_short` string — The code used for filtering responses by district type. Formatted in ALL_CAPS with an underscore.
        - `name_long` string — A description of the district type.
        - `is_legislative` boolean — Whether the districts of this type are legislative.
        - `notes` string — Deprecated.
        - `acknowledgements` string — Deprecated.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/melissa/apis/cicero.md) · [All operations](https://skmtc.net/melissa/apis/cicero/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/melissa/cicero/versions/34d86f140b3f/schema)
