Backpack · Capability

Backpack Exchange — Capital

Backpack Exchange API — Capital. 9 operations. Self-contained Naftiko capability covering one Backpack business surface.

Backpack Exchange — Capital is a Naftiko capability published by Backpack, one of 12 capabilities the APIs.io network indexes for this provider. It bundles 9 operations across the GET and POST methods.

The capability includes 7 read-only operations and 2 state-changing operations. Lead operation: Convert a dust balance. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Backpack, Exchange, and Capital.

Run with Naftiko BackpackExchangeCapital

What You Can Do

POST
Convert dust — Convert a dust balance.
/api/v1/account/convertDust
GET
Get balances — Get balances.
/api/v1/capital
GET
Get collateral — Get collateral.
/api/v1/capital/collateral
GET
Get deposits — Get deposits.
/wapi/v1/capital/deposits
GET
Get deposit address — Get deposit address.
/wapi/v1/capital/deposit/address
GET
Get withdrawals — Get withdrawals.
/wapi/v1/capital/withdrawals
POST
Request withdrawal — Request withdrawal.
/wapi/v1/capital/withdrawals
GET
Get dust history — Get dust conversion history.
/wapi/v1/history/dust
GET
Get settlement history — Get settlement history.
/wapi/v1/history/settlement

MCP Tools

backpack-convert-dust

Convert a dust balance.

backpack-get-balances

Get balances.

read-only idempotent
backpack-get-collateral

Get collateral.

read-only idempotent
backpack-get-deposits

Get deposits.

read-only idempotent
backpack-get-deposit-address

Get deposit address.

read-only idempotent
backpack-get-withdrawals

Get withdrawals.

read-only idempotent
backpack-request-withdrawal

Request withdrawal.

backpack-get-dust-history

Get dust conversion history.

read-only idempotent
backpack-get-settlement-history

Get settlement history.

read-only idempotent

Capability Spec

capital.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: "Backpack Exchange \u2014 Capital"
  description: "Backpack Exchange API \u2014 Capital. 9 operations. Self-contained Naftiko capability covering one Backpack business surface."
  tags:
  - Backpack
  - Exchange
  - Capital
  created: '2026-05-24'
  modified: '2026-05-24'
binds:
- namespace: env
  keys:
    BACKPACK_API_KEY: BACKPACK_API_KEY
    BACKPACK_API_SECRET: BACKPACK_API_SECRET
capability:
  consumes:
  - type: http
    namespace: backpack-capital
    baseUri: https://api.backpack.exchange
    description: Backpack Exchange Capital business capability. ED25519 signed requests.
    resources:
    - name: api-v1-account-convertdust
      path: /api/v1/account/convertDust
      operations:
      - name: convert-dust
        method: POST
        description: Convert a dust balance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-capital
      path: /api/v1/capital
      operations:
      - name: get-balances
        method: GET
        description: Get balances.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-capital-collateral
      path: /api/v1/capital/collateral
      operations:
      - name: get-collateral
        method: GET
        description: Get collateral.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: wapi-v1-capital-deposits
      path: /wapi/v1/capital/deposits
      operations:
      - name: get-deposits
        method: GET
        description: Get deposits.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: wapi-v1-capital-deposit-address
      path: /wapi/v1/capital/deposit/address
      operations:
      - name: get-deposit-address
        method: GET
        description: Get deposit address.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: wapi-v1-capital-withdrawals
      path: /wapi/v1/capital/withdrawals
      operations:
      - name: get-withdrawals
        method: GET
        description: Get withdrawals.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: request-withdrawal
        method: POST
        description: Request withdrawal.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: wapi-v1-history-dust
      path: /wapi/v1/history/dust
      operations:
      - name: get-dust-history
        method: GET
        description: Get dust conversion history.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: wapi-v1-history-settlement
      path: /wapi/v1/history/settlement
      operations:
      - name: get-settlement-history
        method: GET
        description: Get settlement history.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.BACKPACK_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: backpack-capital-rest
    port: 8080
    description: "REST adapter for Backpack Exchange \u2014 Capital."
    resources:
    - path: /api/v1/account/convertDust
      name: api-v1-account-convertdust
      description: REST surface for api-v1-account-convertdust.
      operations:
      - method: POST
        name: convert-dust
        description: Convert a dust balance.
        call: backpack-capital.convert-dust
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /api/v1/capital
      name: api-v1-capital
      description: REST surface for api-v1-capital.
      operations:
      - method: GET
        name: get-balances
        description: Get balances.
        call: backpack-capital.get-balances
        outputParameters:
        - type: object
          mapping: $.
    - path: /api/v1/capital/collateral
      name: api-v1-capital-collateral
      description: REST surface for api-v1-capital-collateral.
      operations:
      - method: GET
        name: get-collateral
        description: Get collateral.
        call: backpack-capital.get-collateral
        outputParameters:
        - type: object
          mapping: $.
    - path: /wapi/v1/capital/deposits
      name: wapi-v1-capital-deposits
      description: REST surface for wapi-v1-capital-deposits.
      operations:
      - method: GET
        name: get-deposits
        description: Get deposits.
        call: backpack-capital.get-deposits
        outputParameters:
        - type: object
          mapping: $.
    - path: /wapi/v1/capital/deposit/address
      name: wapi-v1-capital-deposit-address
      description: REST surface for wapi-v1-capital-deposit-address.
      operations:
      - method: GET
        name: get-deposit-address
        description: Get deposit address.
        call: backpack-capital.get-deposit-address
        outputParameters:
        - type: object
          mapping: $.
    - path: /wapi/v1/capital/withdrawals
      name: wapi-v1-capital-withdrawals
      description: REST surface for wapi-v1-capital-withdrawals.
      operations:
      - method: GET
        name: get-withdrawals
        description: Get withdrawals.
        call: backpack-capital.get-withdrawals
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: request-withdrawal
        description: Request withdrawal.
        call: backpack-capital.request-withdrawal
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /wapi/v1/history/dust
      name: wapi-v1-history-dust
      description: REST surface for wapi-v1-history-dust.
      operations:
      - method: GET
        name: get-dust-history
        description: Get dust conversion history.
        call: backpack-capital.get-dust-history
        outputParameters:
        - type: object
          mapping: $.
    - path: /wapi/v1/history/settlement
      name: wapi-v1-history-settlement
      description: REST surface for wapi-v1-history-settlement.
      operations:
      - method: GET
        name: get-settlement-history
        description: Get settlement history.
        call: backpack-capital.get-settlement-history
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: backpack-capital-mcp
    port: 9090
    transport: http
    description: "MCP adapter for Backpack Exchange \u2014 Capital."
    tools:
    - name: backpack-convert-dust
      description: Convert a dust balance.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: backpack-capital.convert-dust
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-balances
      description: Get balances.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-capital.get-balances
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-collateral
      description: Get collateral.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-capital.get-collateral
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-deposits
      description: Get deposits.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-capital.get-deposits
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-deposit-address
      description: Get deposit address.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-capital.get-deposit-address
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-withdrawals
      description: Get withdrawals.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-capital.get-withdrawals
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-request-withdrawal
      description: Request withdrawal.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: backpack-capital.request-withdrawal
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-dust-history
      description: Get dust conversion history.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-capital.get-dust-history
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-settlement-history
      description: Get settlement history.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-capital.get-settlement-history
      outputParameters:
      - type: object
        mapping: $.