Skip to main content
GET
/
dnszone
/
{zoneId}
/
records
List DNS Zone Records
curl --request GET \
  --url https://api.bunny.net/dnszone/{zoneId}/records \
  --header 'AccessKey: <api-key>'
{
  "Items": [
    {
      "Id": 123,
      "Ttl": 123,
      "Value": "<string>",
      "Name": "<string>",
      "Weight": 123,
      "Priority": 123,
      "Port": 123,
      "Flags": 123,
      "Tag": "<string>",
      "Accelerated": true,
      "AcceleratedPullZoneId": 123,
      "LinkName": "<string>",
      "IPGeoLocationInfo": {
        "CountryCode": "<string>",
        "Country": "<string>",
        "ASN": 123,
        "OrganizationName": "<string>",
        "City": "<string>"
      },
      "GeolocationInfo": {
        "Country": "<string>",
        "City": "<string>",
        "Latitude": 123,
        "Longitude": 123
      },
      "GeolocationLatitude": 123,
      "GeolocationLongitude": 123,
      "EnviromentalVariables": [
        {
          "Name": "<string>",
          "Value": "<string>"
        }
      ],
      "LatencyZone": "<string>",
      "Disabled": true,
      "Comment": "<string>",
      "AutoSslIssuance": true
    }
  ],
  "CurrentPage": 123,
  "TotalItems": 123,
  "HasMoreItems": true
}

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Path Parameters

zoneId
integer<int64>
required

The ID of the DNS Zone

Query Parameters

page
integer<int32>
default:1
Required range: 1 <= x <= 2147483647
perPage
integer<int32>
default:1000
Required range: 5 <= x <= 1000

Response

A paginated list of DNS records for the specified zone

Items
object[] | null
CurrentPage
integer<int32>
TotalItems
integer<int32>
HasMoreItems
boolean
Last modified on June 26, 2026