Backpack · Capability

Backpack Exchange — Order

Backpack Exchange API — Order. 8 operations. Self-contained Naftiko capability covering one Backpack business surface.

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

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

Tagged areas include Backpack, Exchange, and Order.

Run with Naftiko BackpackExchangeOrder

What You Can Do

GET
Get order — Get open order.
/api/v1/order
POST
Execute order — Execute order.
/api/v1/order
DELETE
Cancel order — Cancel open order.
/api/v1/order
POST
Execute order batch — Execute orders.
/api/v1/orders
GET
Get open orders — Get open orders.
/api/v1/orders
DELETE
Cancel open orders — Cancel open orders.
/api/v1/orders
GET
Get fills — Get fill history.
/wapi/v1/history/fills
GET
Get order history — Get order history.
/wapi/v1/history/orders

MCP Tools

backpack-get-order

Get open order.

read-only idempotent
backpack-execute-order

Execute order.

backpack-cancel-order

Cancel open order.

idempotent
backpack-execute-order-batch

Execute orders.

backpack-get-open-orders

Get open orders.

read-only idempotent
backpack-cancel-open-orders

Cancel open orders.

idempotent
backpack-get-fills

Get fill history.

read-only idempotent
backpack-get-order-history

Get order history.

read-only idempotent

Capability Spec

order.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: "Backpack Exchange \u2014 Order"
  description: "Backpack Exchange API \u2014 Order. 8 operations. Self-contained Naftiko capability covering one Backpack business surface."
  tags:
  - Backpack
  - Exchange
  - Order
  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-order
    baseUri: https://api.backpack.exchange
    description: Backpack Exchange Order business capability. ED25519 signed requests.
    resources:
    - name: api-v1-order
      path: /api/v1/order
      operations:
      - name: get-order
        method: GET
        description: Get open order.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: execute-order
        method: POST
        description: Execute order.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: cancel-order
        method: DELETE
        description: Cancel open order.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-orders
      path: /api/v1/orders
      operations:
      - name: execute-order-batch
        method: POST
        description: Execute orders.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: get-open-orders
        method: GET
        description: Get open orders.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: cancel-open-orders
        method: DELETE
        description: Cancel open orders.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: wapi-v1-history-fills
      path: /wapi/v1/history/fills
      operations:
      - name: get-fills
        method: GET
        description: Get fill history.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: wapi-v1-history-orders
      path: /wapi/v1/history/orders
      operations:
      - name: get-order-history
        method: GET
        description: Get order 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-order-rest
    port: 8080
    description: "REST adapter for Backpack Exchange \u2014 Order."
    resources:
    - path: /api/v1/order
      name: api-v1-order
      description: REST surface for api-v1-order.
      operations:
      - method: GET
        name: get-order
        description: Get open order.
        call: backpack-order.get-order
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: execute-order
        description: Execute order.
        call: backpack-order.execute-order
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: cancel-order
        description: Cancel open order.
        call: backpack-order.cancel-order
        outputParameters:
        - type: object
          mapping: $.
    - path: /api/v1/orders
      name: api-v1-orders
      description: REST surface for api-v1-orders.
      operations:
      - method: POST
        name: execute-order-batch
        description: Execute orders.
        call: backpack-order.execute-order-batch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: get-open-orders
        description: Get open orders.
        call: backpack-order.get-open-orders
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: cancel-open-orders
        description: Cancel open orders.
        call: backpack-order.cancel-open-orders
        outputParameters:
        - type: object
          mapping: $.
    - path: /wapi/v1/history/fills
      name: wapi-v1-history-fills
      description: REST surface for wapi-v1-history-fills.
      operations:
      - method: GET
        name: get-fills
        description: Get fill history.
        call: backpack-order.get-fills
        outputParameters:
        - type: object
          mapping: $.
    - path: /wapi/v1/history/orders
      name: wapi-v1-history-orders
      description: REST surface for wapi-v1-history-orders.
      operations:
      - method: GET
        name: get-order-history
        description: Get order history.
        call: backpack-order.get-order-history
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: backpack-order-mcp
    port: 9090
    transport: http
    description: "MCP adapter for Backpack Exchange \u2014 Order."
    tools:
    - name: backpack-get-order
      description: Get open order.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-order.get-order
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-execute-order
      description: Execute order.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: backpack-order.execute-order
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-cancel-order
      description: Cancel open order.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: backpack-order.cancel-order
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-execute-order-batch
      description: Execute orders.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: backpack-order.execute-order-batch
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-open-orders
      description: Get open orders.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-order.get-open-orders
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-cancel-open-orders
      description: Cancel open orders.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: backpack-order.cancel-open-orders
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-fills
      description: Get fill history.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-order.get-fills
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-order-history
      description: Get order history.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-order.get-order-history
      outputParameters:
      - type: object
        mapping: $.