---
title: "List counties in a state"
method: GET
path: "/probate/states/{state_code}/counties"
tags: ["Probate Reference"]
---

# List counties in a state

`GET /probate/states/{state_code}/counties`

## Request

- Base URL: `https://api.example.com/v1`
- URL: `https://api.example.com/v1/probate/states/{state_code}/counties`
- Auth: none declared

List all counties in a state with probate court summaries.

## Query parameters

- `page` integer
- `per_page` integer
- `electronic_filing_available` boolean

## Response `200`

List of counties.

- object
  - `data` ProbateCountySummary[]
    - `county_slug` string
    - `county_name` string
    - `state_code` string
    - `court_name` string
    - `electronic_filing_available` boolean
    - `average_processing_time` string, nullable
  - `meta` PaginationMeta
    - `page` integer
    - `per_page` integer
    - `total_count` integer
    - `total_pages` integer
    - `next_cursor` string, nullable: Opaque cursor for fetching the next page. Pass as the `cursor` query parameter. Null when on the last page.
    - `has_more` boolean: Whether more results exist beyond this page.

## Other responses

- `404`: Resource not found.

---

[API](https://skmtc.dev/hellosunset/apis/sunset-api.md) - [All operations](https://skmtc.dev/hellosunset/apis/sunset-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hellosunset/apis/sunset-api/revisions/f128e5526efe?raw)
