Freestyle · Capability

Freestyle Domains API — Dns Records

Freestyle Domains API dns records surface. 3 operations. Lead operation: List DNS Records. Self-contained Naftiko capability for one Freestyle business surface.

Freestyle Domains API — Dns Records is a Naftiko capability published by Freestyle, one of 30 capabilities the APIs.io network indexes for this provider. It bundles 3 operations across the GET, POST, and DELETE methods rooted at /v1/dns/v1/records.

The capability includes 1 read-only operation and 2 state-changing operations. Lead operation: List DNS Records. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Freestyle, Domains, and Dns Records.

Run with Naftiko FreestyleDomainsDns Records

What You Can Do

GET
Handle list records — List DNS Records
/v1/dns/v1/records
POST
Handle create record — Create DNS Record
/v1/dns/v1/records
DELETE
Handle delete record — Delete DNS Record
/v1/dns/v1/records

MCP Tools

freestyle-handle-list-records

List DNS Records

read-only idempotent
freestyle-handle-create-record

Create DNS Record

freestyle-handle-delete-record

Delete DNS Record

idempotent

Capability Spec

domains-dns-records.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: "Freestyle Domains API \u2014 Dns Records"
  description: 'Freestyle Domains API dns records surface. 3 operations. Lead operation: List DNS Records. Self-contained
    Naftiko capability for one Freestyle business surface.'
  tags:
  - Freestyle
  - Domains
  - Dns Records
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    FREESTYLE_API_KEY: FREESTYLE_API_KEY
capability:
  consumes:
  - type: http
    namespace: domains-dns-records
    baseUri: https://api.freestyle.sh
    description: Freestyle Domains API dns records business capability.
    resources:
    - name: dns-v1-records
      path: /dns/v1/records
      operations:
      - name: handle-list-records
        method: GET
        description: List DNS Records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domain
          in: query
          type: string
          required: true
      - name: handle-create-record
        method: POST
        description: Create DNS Record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: handle-delete-record
        method: DELETE
        description: Delete DNS Record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters: []
    authentication:
      type: apikey
      key: Authorization
      value: Bearer {{env.FREESTYLE_API_KEY}}
      placement: header
  exposes:
  - type: rest
    namespace: domains-dns-records-rest
    port: 8080
    description: REST adapter for Freestyle Domains API dns-records. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/dns/v1/records
      name: dns-v1-records
      description: REST surface for dns-v1-records.
      operations:
      - method: GET
        name: handle-list-records
        description: List DNS Records
        call: domains-dns-records.handle-list-records
        with: {}
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: handle-create-record
        description: Create DNS Record
        call: domains-dns-records.handle-create-record
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: handle-delete-record
        description: Delete DNS Record
        call: domains-dns-records.handle-delete-record
        with: {}
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: domains-dns-records-mcp
    port: 9090
    transport: http
    description: MCP adapter for Freestyle Domains API dns-records. One tool per consumed operation.
    tools:
    - name: freestyle-handle-list-records
      description: List DNS Records
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: domains-dns-records.handle-list-records
      with: {}
      outputParameters:
      - type: object
        mapping: $.
    - name: freestyle-handle-create-record
      description: Create DNS Record
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: domains-dns-records.handle-create-record
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: freestyle-handle-delete-record
      description: Delete DNS Record
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: domains-dns-records.handle-delete-record
      with: {}
      outputParameters:
      - type: object
        mapping: $.