Backpack · Capability

Backpack Exchange — Account

Backpack Exchange API — Account. 5 operations. Self-contained Naftiko capability covering one Backpack business surface.

Backpack Exchange — Account is a Naftiko capability published by Backpack, one of 12 capabilities the APIs.io network indexes for this provider. It bundles 5 operations across the GET and PATCH methods rooted at /api/v1/account.

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

Tagged areas include Backpack, Exchange, and Account.

Run with Naftiko BackpackExchangeAccount

What You Can Do

GET
Get account — Get account.
/api/v1/account
PATCH
Update account settings — Update account.
/api/v1/account
GET
Get max borrow quantity — Get max borrow quantity.
/api/v1/account/limits/borrow
GET
Get max order quantity — Get max order quantity.
/api/v1/account/limits/order
GET
Get max withdrawal quantity — Get max withdrawal quantity.
/api/v1/account/limits/withdrawal

MCP Tools

backpack-get-account

Get account.

read-only idempotent
backpack-update-account-settings

Update account.

backpack-get-max-borrow-quantity

Get max borrow quantity.

read-only idempotent
backpack-get-max-order-quantity

Get max order quantity.

read-only idempotent
backpack-get-max-withdrawal-quantity

Get max withdrawal quantity.

read-only idempotent

Capability Spec

account.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: "Backpack Exchange \u2014 Account"
  description: "Backpack Exchange API \u2014 Account. 5 operations. Self-contained Naftiko capability covering one Backpack business surface."
  tags:
  - Backpack
  - Exchange
  - Account
  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-account
    baseUri: https://api.backpack.exchange
    description: Backpack Exchange Account business capability. ED25519 signed requests.
    resources:
    - name: api-v1-account
      path: /api/v1/account
      operations:
      - name: get-account
        method: GET
        description: Get account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: update-account-settings
        method: PATCH
        description: Update account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-account-limits-borrow
      path: /api/v1/account/limits/borrow
      operations:
      - name: get-max-borrow-quantity
        method: GET
        description: Get max borrow quantity.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-account-limits-order
      path: /api/v1/account/limits/order
      operations:
      - name: get-max-order-quantity
        method: GET
        description: Get max order quantity.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-account-limits-withdrawal
      path: /api/v1/account/limits/withdrawal
      operations:
      - name: get-max-withdrawal-quantity
        method: GET
        description: Get max withdrawal quantity.
        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-account-rest
    port: 8080
    description: "REST adapter for Backpack Exchange \u2014 Account."
    resources:
    - path: /api/v1/account
      name: api-v1-account
      description: REST surface for api-v1-account.
      operations:
      - method: GET
        name: get-account
        description: Get account.
        call: backpack-account.get-account
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: update-account-settings
        description: Update account.
        call: backpack-account.update-account-settings
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /api/v1/account/limits/borrow
      name: api-v1-account-limits-borrow
      description: REST surface for api-v1-account-limits-borrow.
      operations:
      - method: GET
        name: get-max-borrow-quantity
        description: Get max borrow quantity.
        call: backpack-account.get-max-borrow-quantity
        outputParameters:
        - type: object
          mapping: $.
    - path: /api/v1/account/limits/order
      name: api-v1-account-limits-order
      description: REST surface for api-v1-account-limits-order.
      operations:
      - method: GET
        name: get-max-order-quantity
        description: Get max order quantity.
        call: backpack-account.get-max-order-quantity
        outputParameters:
        - type: object
          mapping: $.
    - path: /api/v1/account/limits/withdrawal
      name: api-v1-account-limits-withdrawal
      description: REST surface for api-v1-account-limits-withdrawal.
      operations:
      - method: GET
        name: get-max-withdrawal-quantity
        description: Get max withdrawal quantity.
        call: backpack-account.get-max-withdrawal-quantity
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: backpack-account-mcp
    port: 9090
    transport: http
    description: "MCP adapter for Backpack Exchange \u2014 Account."
    tools:
    - name: backpack-get-account
      description: Get account.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-account.get-account
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-update-account-settings
      description: Update account.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: backpack-account.update-account-settings
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-max-borrow-quantity
      description: Get max borrow quantity.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-account.get-max-borrow-quantity
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-max-order-quantity
      description: Get max order quantity.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-account.get-max-order-quantity
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-max-withdrawal-quantity
      description: Get max withdrawal quantity.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-account.get-max-withdrawal-quantity
      outputParameters:
      - type: object
        mapping: $.