> ## Documentation Index
> Fetch the complete documentation index at: https://docs.instacloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List domain records

> **Token scope:** `account` · `org` — read-only tokens allowed.

The DNS records in a bought domain's zone, as the registrar holds them. A record InstaCloud published is `managed`: read-only while the attached hostname in `hostname` claims it; with no `hostname`, a leftover that may be deleted.



## OpenAPI

````yaml /openapi/org.json get /orgs/{orgId}/domains/{domainName}/records
openapi: 3.1.0
info:
  title: InstaCloud API — Organization level
  version: 0.1.0
  description: >-
    Endpoints under `/orgs/{orgId}`: members, projects, billing, domains.
    Callable with an account-wide token or a token bound to that organization.


    Generated from the platform's own OpenAPI document
    (https://api.instacloud.com/openapi.json); see the [API
    overview](/reference/api/overview) for authentication and token scopes.
servers:
  - url: https://api.instacloud.com
    description: InstaCloud
security:
  - bearerAuth: []
tags:
  - name: Organization
    description: 'The organization itself: name, members, invitations.'
  - name: Projects
    description: Projects inside an organization.
  - name: Audit
    description: The project's event timeline, including agent-ingested events.
  - name: Domains
    description: >-
      Domains bought through InstaCloud, bring-your-own zones and their DNS
      records.
  - name: Billing
    description: Usage, cycles, invoices and credits.
paths:
  /orgs/{orgId}/domains/{domainName}/records:
    get:
      tags:
        - Domains
      summary: List domain records
      description: >-
        **Token scope:** `account` · `org` — read-only tokens allowed.


        The DNS records in a bought domain's zone, as the registrar holds them.
        A record InstaCloud published is `managed`: read-only while the attached
        hostname in `hostname` claims it; with no `hostname`, a leftover that
        may be deleted.
      operationId: listDomainRecords
      parameters:
        - schema:
            format: uuid
            type: string
          in: path
          name: orgId
          required: true
        - schema:
            type: string
          in: path
          name: domainName
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/DnsRecord'
                required:
                  - items
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DnsRecord:
      type: object
      properties:
        id:
          description: the registrar's id for the record; the handle every write takes
          type: integer
        type:
          $ref: '#/components/schemas/DnsRecordType'
        host:
          description: >-
            relative to the domain: "@" is the domain itself, "api" is
            api.<domain>
          type: string
        fqdn:
          type: string
        answer:
          type: string
        ttl:
          description: seconds
          type: integer
        priority:
          description: MX and SRV only
          type: integer
        managed:
          description: >-
            published by InstaCloud: read-only while `hostname` names the
            attached hostname it serves; without one, a leftover no hostname
            claims, which may be deleted
          type: boolean
        hostname:
          description: the attached hostname a managed record serves
          type: string
      required:
        - id
        - type
        - host
        - fqdn
        - answer
        - ttl
        - managed
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    DnsRecordType:
      type: string
      enum:
        - A
        - AAAA
        - ANAME
        - CNAME
        - MX
        - NS
        - SRV
        - TXT
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Session access JWT or an API token (`insta_<prefix>_<secret>`).

````