Binance · Capability

Binance Sub-Account API — Sub-Account Management

Binance Sub-Account API — Sub-Account Management. 3 operations. Lead operation: Query sub-account list. Self-contained Naftiko capability covering one Binance business surface.

Run with Naftiko BinanceSub-Account Management

What You Can Do

GET
Getsubaccountlist — Query sub-account list
/v1/sapi/v1/sub-account/list
GET
Getsubaccountstatus — Query sub-account status
/v1/sapi/v1/sub-account/status
POST
Createvirtualsubaccount — Create a virtual sub-account
/v1/sapi/v1/sub-account/virtualsubaccount

MCP Tools

query-sub-account-list

Query sub-account list

read-only idempotent
query-sub-account-status

Query sub-account status

read-only idempotent
create-virtual-sub-account

Create a virtual sub-account

Capability Spec

sub-account-sub-account-management.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Binance Sub-Account API — Sub-Account Management
  description: 'Binance Sub-Account API — Sub-Account Management. 3 operations. Lead operation: Query sub-account list. Self-contained
    Naftiko capability covering one Binance business surface.'
  tags:
  - Binance
  - Sub-Account Management
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BINANCE_API_KEY: BINANCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: sub-account-sub-account-management
    baseUri: https://api.binance.com
    description: Binance Sub-Account API — Sub-Account Management business capability. Self-contained, no shared references.
    resources:
    - name: sapi-v1-sub-account-list
      path: /sapi/v1/sub-account/list
      operations:
      - name: getsubaccountlist
        method: GET
        description: Query sub-account list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: email
          in: query
          type: string
          description: Sub-account email.
        - name: isFreeze
          in: query
          type: string
          description: Filter by freeze status.
        - name: page
          in: query
          type: integer
        - name: limit
          in: query
          type: integer
        - name: recvWindow
          in: query
          type: integer
        - name: timestamp
          in: query
          type: integer
          required: true
        - name: signature
          in: query
          type: string
          required: true
    - name: sapi-v1-sub-account-status
      path: /sapi/v1/sub-account/status
      operations:
      - name: getsubaccountstatus
        method: GET
        description: Query sub-account status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: email
          in: query
          type: string
        - name: recvWindow
          in: query
          type: integer
        - name: timestamp
          in: query
          type: integer
          required: true
        - name: signature
          in: query
          type: string
          required: true
    - name: sapi-v1-sub-account-virtualSubAccount
      path: /sapi/v1/sub-account/virtualSubAccount
      operations:
      - name: createvirtualsubaccount
        method: POST
        description: Create a virtual sub-account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: subAccountString
          in: query
          type: string
          description: Sub-account email prefix.
          required: true
        - name: recvWindow
          in: query
          type: integer
        - name: timestamp
          in: query
          type: integer
          required: true
        - name: signature
          in: query
          type: string
          required: true
    authentication:
      type: apikey
      key: X-MBX-APIKEY
      value: '{{env.BINANCE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: sub-account-sub-account-management-rest
    port: 8080
    description: REST adapter for Binance Sub-Account API — Sub-Account Management. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/sapi/v1/sub-account/list
      name: sapi-v1-sub-account-list
      description: REST surface for sapi-v1-sub-account-list.
      operations:
      - method: GET
        name: getsubaccountlist
        description: Query sub-account list
        call: sub-account-sub-account-management.getsubaccountlist
        with:
          email: rest.email
          isFreeze: rest.isFreeze
          page: rest.page
          limit: rest.limit
          recvWindow: rest.recvWindow
          timestamp: rest.timestamp
          signature: rest.signature
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sapi/v1/sub-account/status
      name: sapi-v1-sub-account-status
      description: REST surface for sapi-v1-sub-account-status.
      operations:
      - method: GET
        name: getsubaccountstatus
        description: Query sub-account status
        call: sub-account-sub-account-management.getsubaccountstatus
        with:
          email: rest.email
          recvWindow: rest.recvWindow
          timestamp: rest.timestamp
          signature: rest.signature
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sapi/v1/sub-account/virtualsubaccount
      name: sapi-v1-sub-account-virtualsubaccount
      description: REST surface for sapi-v1-sub-account-virtualSubAccount.
      operations:
      - method: POST
        name: createvirtualsubaccount
        description: Create a virtual sub-account
        call: sub-account-sub-account-management.createvirtualsubaccount
        with:
          subAccountString: rest.subAccountString
          recvWindow: rest.recvWindow
          timestamp: rest.timestamp
          signature: rest.signature
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: sub-account-sub-account-management-mcp
    port: 9090
    transport: http
    description: MCP adapter for Binance Sub-Account API — Sub-Account Management. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: query-sub-account-list
      description: Query sub-account list
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sub-account-sub-account-management.getsubaccountlist
      with:
        email: tools.email
        isFreeze: tools.isFreeze
        page: tools.page
        limit: tools.limit
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.
    - name: query-sub-account-status
      description: Query sub-account status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: sub-account-sub-account-management.getsubaccountstatus
      with:
        email: tools.email
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.
    - name: create-virtual-sub-account
      description: Create a virtual sub-account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: sub-account-sub-account-management.createvirtualsubaccount
      with:
        subAccountString: tools.subAccountString
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.