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

# Get transfer lock

> Returns the customer-controlled registrar lock (locked / transfer_locked) and the automatic ICANN 60-day transfer restriction (icann_transfer_lock, icann_transfer_lock_expires_at). Use icann_transfer_lock_expires_at to tell a customer when the 60-day lock expires. can_transfer_out is true only when both are off; transferring out is done in the Atom dashboard, not via this API.



## OpenAPI

````yaml GET /registrar/v1/domains/{domain_name}/lock
openapi: 3.0.3
info:
  title: Atom Registrar API
  version: 1.0.0
  description: >-
    Domain registration, DNS, nameservers, contacts, transfers, TLD pricing,
    registrar lock, and renewal.


    Authenticate with a Registrar API Bearer token from
    https://www.atom.com/dashboard/seller/api-access


    Pricing: GET /domains/check/{domain_name} returns domain_price (what Atom
    charges to register that label, including premium) when the domain is
    available. GET /tld-pricing returns standard register / renew / transfer
    prices per TLD.


    Renewal: POST /domains/{domain_name}/renew renews a domain you already hold
    at Atom.


    Transfer in: POST /domains/transfer with domain_name + authcode. Optional
    nameservers, WHOIS privacy, auto-renew, contacts, and dns_records can be
    sent in the same request.


    Transfer out is not available via API. Unlocking a domain and retrieving an
    EPP / auth code must be done in the Atom dashboard. GET
    /domains/{domain_name}/lock still reports registrar lock and the ICANN
    60-day lock expiry so you can tell a customer when a transfer-out will be
    possible in the dashboard.


    Transfer lock: GET/PUT /domains/{domain_name}/lock is the
    customer-controlled registrar lock. GET also returns icann_transfer_lock and
    icann_transfer_lock_expires_at for the automatic 60-day ICANN lock after
    registration or inbound transfer.


    Contacts: GET /contacts lists handles (filter with search, name, or email).
    GET /contacts/{handle} returns one contact. POST creates, PUT updates.
  contact:
    email: service@atom.com
    url: https://www.atom.com
  termsOfService: https://www.atom.com/terms
servers:
  - url: https://www.atom.com/api
    description: Production server
  - url: https://dev.atom.com/api
    description: Development server
security:
  - BearerAuth: []
tags:
  - name: Domains
    description: List, inspect, register, and renew domains
  - name: Availability
    description: Check whether Atom can register a domain and the price Atom would charge
  - name: Transfers
    description: >-
      Transfer domains into Atom (POST /domains/transfer). Transfer-out (unlock
      + EPP code) is dashboard-only and is not exposed on this API. GET/PUT
      /domains/{domain_name}/lock reports and sets the registrar lock, including
      ICANN 60-day lock expiry.
  - name: DNS
    description: DNS records and DNSSEC (requires Atom nameservers)
  - name: Nameservers
    description: Get and set nameservers
  - name: Locking & Privacy
    description: Registrar lock, ICANN 60-day lock, WHOIS privacy, auto-renew
  - name: URL Forwards
    description: HTTP redirects for a domain
  - name: Contacts
    description: >-
      List, search, get, create, and update registrant / admin / billing / tech
      contact handles
externalDocs:
  description: Atom API docs
  url: https://www.atom.com/api-docs
paths:
  /registrar/v1/domains/{domain_name}/lock:
    get:
      tags:
        - Transfers
        - Locking & Privacy
      summary: Get transfer lock (registrar + ICANN 60-day)
      description: >-
        Returns the customer-controlled registrar lock (locked /
        transfer_locked) and the automatic ICANN 60-day transfer restriction
        (icann_transfer_lock, icann_transfer_lock_expires_at). Use
        icann_transfer_lock_expires_at to tell a customer when the 60-day lock
        expires. can_transfer_out is true only when both are off; transferring
        out is done in the Atom dashboard, not via this API.
      operationId: getRegistrarLock
      parameters:
        - name: domain_name
          in: path
          required: true
          description: Fully qualified domain name
          schema:
            type: string
            example: example.com
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  locked:
                    type: boolean
                    description: Customer-controlled registrar lock
                  status:
                    type: string
                    enum:
                      - locked
                      - unlocked
                  transfer_locked:
                    type: boolean
                  icann_transfer_lock:
                    type: boolean
                  icann_transfer_lock_expires_at:
                    type: string
                    nullable: true
                  can_transfer_out:
                    type: boolean
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid Bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden for this domain
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Domain not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
        message:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Token
      description: >-
        Registrar API token from
        https://www.atom.com/dashboard/seller/api-access

````