---
title: "List zones"
method: GET
path: "/{account}/zones"
tags: ["zones"]
---

# List zones

`GET /{account}/zones`

Lists the zones in the account.

## Path parameters

- `account` integer, required

## Query parameters

- `name_like` string
- `sort` 'id:asc' | 'id:desc' | 'name:asc' | 'name:desc'

## Response `200`

Successfully retrieved account zone list.

- object
  - `data` Zone[], required
    - `id` integer, required
    - `account_id` integer, required
    - `name` string, required
    - `reverse` boolean, required — Returns true for a reverse zone, false for a forward zone.
    - `secondary` boolean, required — Returns true for a secondary zone, false for a primary zone.
    - `last_transferred_at` string, date-time, nullable, required — Returns the date the zone was last transferred. Used if it is a secondary zone.
    - `active` boolean, required — Returns true if DNS services are active for the zone. If false, DNS services are disabled and DNS records will not be resolved.
    - `created_at` string, date-time, required — A date-time value, representing when the entry was created, formatted as ISO 8601.
    - `updated_at` string, date-time, required — A date-time value, representing when the entry was last updated, formatted as ISO 8601.
  - `pagination` Pagination, required
    - `current_page` integer, required
    - `per_page` integer, required
    - `total_entries` integer, required
    - `total_pages` integer, required

---

[API](https://skmtc.net/dnsimple/apis/dnsimple-api.md) · [All operations](https://skmtc.net/dnsimple/apis/dnsimple-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dnsimple/dnsimple-api/versions/270bb4f6f532/schema)
