---
title: "Get zone"
method: GET
path: "/v1beta/dns/zones/{name}"
tags: ["ZoneService"]
---

# Get zone

`GET /v1beta/dns/zones/{name}`

## Path parameters

- `name` string, required

## Query parameters

- `id` string
- `with_records` boolean
- `with_history` boolean
- `with_dnskey` boolean
- `provider` string

## Response `200`

A successful response.

- ZoneGetZoneResponse
  - `code` integer
  - `data` ZoneZone
    - `active` boolean
    - `creation_date` string
    - `dnskey` string
    - `history` HistoryZoneHistory[]
      - `date` string
      - `is` string
      - `source` string
      - `was` string
    - `id` integer
    - `ip` string
    - `is_deleted` boolean
    - `is_shadow` boolean
    - `is_spamexperts_enabled` boolean
    - `modification_date` string
    - `name` string
    - `premium_dns` ZonePremiumDnsData
      - `sectigo` ZoneSectigoData
        - `autorenew` boolean
        - `order_date` string
        - `renewal_date` string
        - `secured` boolean
        - `website_id` integer
    - `provider` string
    - `records` RecordRecordInfo[]
      - `creation_date` string
      - `ip` string
      - `modification_date` string
      - `name` string
      - `prio` integer
      - `ttl` integer
      - `type` string
      - `value` string
    - `reseller_id` integer
    - `type` string
  - `desc` string
  - `maintenance` boolean
  - `warnings` ErrorWarning[]
    - `code` integer
    - `data` string
    - `desc` string

## Other responses

- `default` — (empty)

---

[API](https://skmtc.net/openprovider/apis/rest-api.md) · [All operations](https://skmtc.net/openprovider/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openprovider/rest-api/revisions/55b7a0062507/schema)
