Binance · Capability

Binance Simple Earn API — Flexible Products

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

Run with Naftiko BinanceFlexible Products

What You Can Do

GET
Listflexibleproducts — Get simple earn flexible product list
/v1/sapi/v1/simple-earn/flexible/list
GET
Getflexibleposition — Get flexible product position
/v1/sapi/v1/simple-earn/flexible/position
POST
Redeemflexibleproduct — Redeem flexible product
/v1/sapi/v1/simple-earn/flexible/redeem
POST
Subscribeflexibleproduct — Subscribe flexible product
/v1/sapi/v1/simple-earn/flexible/subscribe

MCP Tools

get-simple-earn-flexible-product

Get simple earn flexible product list

read-only idempotent
get-flexible-product-position

Get flexible product position

read-only idempotent
redeem-flexible-product

Redeem flexible product

subscribe-flexible-product

Subscribe flexible product

Capability Spec

simple-earn-flexible-products.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Binance Simple Earn API — Flexible Products
  description: 'Binance Simple Earn API — Flexible Products. 4 operations. Lead operation: Get simple earn flexible product
    list. Self-contained Naftiko capability covering one Binance business surface.'
  tags:
  - Binance
  - Flexible 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-flexible-products
    baseUri: https://api.binance.com
    description: Binance Simple Earn API — Flexible Products business capability. Self-contained, no shared references.
    resources:
    - name: sapi-v1-simple-earn-flexible-list
      path: /sapi/v1/simple-earn/flexible/list
      operations:
      - name: listflexibleproducts
        method: GET
        description: Get simple earn flexible 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-flexible-position
      path: /sapi/v1/simple-earn/flexible/position
      operations:
      - name: getflexibleposition
        method: GET
        description: Get flexible product position
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: asset
          in: query
          type: string
        - name: productId
          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-flexible-redeem
      path: /sapi/v1/simple-earn/flexible/redeem
      operations:
      - name: redeemflexibleproduct
        method: POST
        description: Redeem flexible product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: productId
          in: query
          type: string
          required: true
        - name: redeemAll
          in: query
          type: boolean
        - name: amount
          in: query
          type: string
        - name: destAccount
          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-simple-earn-flexible-subscribe
      path: /sapi/v1/simple-earn/flexible/subscribe
      operations:
      - name: subscribeflexibleproduct
        method: POST
        description: Subscribe flexible product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: productId
          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-flexible-products-rest
    port: 8080
    description: REST adapter for Binance Simple Earn API — Flexible Products. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/sapi/v1/simple-earn/flexible/list
      name: sapi-v1-simple-earn-flexible-list
      description: REST surface for sapi-v1-simple-earn-flexible-list.
      operations:
      - method: GET
        name: listflexibleproducts
        description: Get simple earn flexible product list
        call: simple-earn-flexible-products.listflexibleproducts
        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/flexible/position
      name: sapi-v1-simple-earn-flexible-position
      description: REST surface for sapi-v1-simple-earn-flexible-position.
      operations:
      - method: GET
        name: getflexibleposition
        description: Get flexible product position
        call: simple-earn-flexible-products.getflexibleposition
        with:
          asset: rest.asset
          productId: rest.productId
          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/flexible/redeem
      name: sapi-v1-simple-earn-flexible-redeem
      description: REST surface for sapi-v1-simple-earn-flexible-redeem.
      operations:
      - method: POST
        name: redeemflexibleproduct
        description: Redeem flexible product
        call: simple-earn-flexible-products.redeemflexibleproduct
        with:
          productId: rest.productId
          redeemAll: rest.redeemAll
          amount: rest.amount
          destAccount: rest.destAccount
          recvWindow: rest.recvWindow
          timestamp: rest.timestamp
          signature: rest.signature
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sapi/v1/simple-earn/flexible/subscribe
      name: sapi-v1-simple-earn-flexible-subscribe
      description: REST surface for sapi-v1-simple-earn-flexible-subscribe.
      operations:
      - method: POST
        name: subscribeflexibleproduct
        description: Subscribe flexible product
        call: simple-earn-flexible-products.subscribeflexibleproduct
        with:
          productId: rest.productId
          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-flexible-products-mcp
    port: 9090
    transport: http
    description: MCP adapter for Binance Simple Earn API — Flexible Products. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-simple-earn-flexible-product
      description: Get simple earn flexible product list
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: simple-earn-flexible-products.listflexibleproducts
      with:
        asset: tools.asset
        current: tools.current
        size: tools.size
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.
    - name: get-flexible-product-position
      description: Get flexible product position
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: simple-earn-flexible-products.getflexibleposition
      with:
        asset: tools.asset
        productId: tools.productId
        current: tools.current
        size: tools.size
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.
    - name: redeem-flexible-product
      description: Redeem flexible product
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: simple-earn-flexible-products.redeemflexibleproduct
      with:
        productId: tools.productId
        redeemAll: tools.redeemAll
        amount: tools.amount
        destAccount: tools.destAccount
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.
    - name: subscribe-flexible-product
      description: Subscribe flexible product
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: simple-earn-flexible-products.subscribeflexibleproduct
      with:
        productId: tools.productId
        amount: tools.amount
        autoSubscribe: tools.autoSubscribe
        sourceAccount: tools.sourceAccount
        recvWindow: tools.recvWindow
        timestamp: tools.timestamp
        signature: tools.signature
      outputParameters:
      - type: object
        mapping: $.