Binance · Capability

Binance Simple Earn API — Locked Products

Binance Simple Earn API — Locked Products. 2 operations. Lead operation: Get simple earn locked product list. Self-contained Naftiko capability covering one Binance business surface.

Run with Naftiko BinanceLocked Products

What You Can Do

GET
Listlockedproducts — Get simple earn locked product list
/v1/sapi/v1/simple-earn/locked/list
POST
Subscribelockedproduct — Subscribe locked product
/v1/sapi/v1/simple-earn/locked/subscribe

MCP Tools

get-simple-earn-locked-product

Get simple earn locked product list

read-only idempotent
subscribe-locked-product

Subscribe locked product

Capability Spec

simple-earn-locked-products.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Binance Simple Earn API — Locked Products
  description: 'Binance Simple Earn API — Locked Products. 2 operations. Lead operation: Get simple earn locked product list.
    Self-contained Naftiko capability covering one Binance business surface.'
  tags:
  - Binance
  - Locked Products
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BINANCE_API_KEY: BINANCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: simple-earn-locked-products
    baseUri: https://api.binance.com
    description: Binance Simple Earn API — Locked Products business capability. Self-contained, no shared references.
    resources:
    - name: sapi-v1-simple-earn-locked-list
      path: /sapi/v1/simple-earn/locked/list
      operations:
      - name: listlockedproducts
        method: GET
        description: Get simple earn locked product list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: asset
          in: query
          type: string
        - name: current
          in: query
          type: integer
        - name: size
          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-simple-earn-locked-subscribe
      path: /sapi/v1/simple-earn/locked/subscribe
      operations:
      - name: subscribelockedproduct
        method: POST
        description: Subscribe locked product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: projectId
          in: query
          type: string
          required: true
        - name: amount
          in: query
          type: string
          required: true
        - name: autoSubscribe
          in: query
          type: boolean
        - name: sourceAccount
          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
    authentication:
      type: apikey
      key: X-MBX-APIKEY
      value: '{{env.BINANCE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: simple-earn-locked-products-rest
    port: 8080
    description: REST adapter for Binance Simple Earn API — Locked Products. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/sapi/v1/simple-earn/locked/list
      name: sapi-v1-simple-earn-locked-list
      description: REST surface for sapi-v1-simple-earn-locked-list.
      operations:
      - method: GET
        name: listlockedproducts
        description: Get simple earn locked product list
        call: simple-earn-locked-products.listlockedproducts
        with:
          asset: rest.asset
          current: rest.current
          size: rest.size
          recvWindow: rest.recvWindow
          timestamp: rest.timestamp
          signature: rest.signature
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sapi/v1/simple-earn/locked/subscribe
      name: sapi-v1-simple-earn-locked-subscribe
      description: REST surface for sapi-v1-simple-earn-locked-subscribe.
      operations:
      - method: POST
        name: subscribelockedproduct
        description: Subscribe locked product
        call: simple-earn-locked-products.subscribelockedproduct
        with:
          projectId: rest.projectId
          amount: rest.amount
          autoSubscribe: rest.autoSubscribe
          sourceAccount: rest.sourceAccount
          recvWindow: rest.recvWindow
          timestamp: rest.timestamp
          signature: rest.signature
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: simple-earn-locked-products-mcp
    port: 9090
    transport: http
    description: MCP adapter for Binance Simple Earn API — Locked Products. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-simple-earn-locked-product
      description: Get simple earn locked product list
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: simple-earn-locked-products.listlockedproducts
      with:
        asset: tools.asset
        current: tools.current
        size: tools.size
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.
    - name: subscribe-locked-product
      description: Subscribe locked product
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: simple-earn-locked-products.subscribelockedproduct
      with:
        projectId: tools.projectId
        amount: tools.amount
        autoSubscribe: tools.autoSubscribe
        sourceAccount: tools.sourceAccount
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.