Backpack · Capability

Backpack Exchange — Position

Backpack Exchange API — Position. 3 operations. Self-contained Naftiko capability covering one Backpack business surface.

Backpack Exchange — Position is a Naftiko capability published by Backpack, one of 12 capabilities the APIs.io network indexes for this provider. It bundles 3 operations across the GET method.

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

Tagged areas include Backpack, Exchange, and Position.

Run with Naftiko BackpackExchangePosition

What You Can Do

GET
Get positions — Get open positions.
/api/v1/position
GET
Get funding payments — Get funding payments.
/wapi/v1/history/funding
GET
Get position history — Get position history.
/wapi/v1/history/position

MCP Tools

backpack-get-positions

Get open positions.

read-only idempotent
backpack-get-funding-payments

Get funding payments.

read-only idempotent
backpack-get-position-history

Get position history.

read-only idempotent

Capability Spec

position.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: "Backpack Exchange \u2014 Position"
  description: "Backpack Exchange API \u2014 Position. 3 operations. Self-contained Naftiko capability covering one Backpack business surface."
  tags:
  - Backpack
  - Exchange
  - Position
  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-position
    baseUri: https://api.backpack.exchange
    description: Backpack Exchange Position business capability. ED25519 signed requests.
    resources:
    - name: api-v1-position
      path: /api/v1/position
      operations:
      - name: get-positions
        method: GET
        description: Get open positions.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: wapi-v1-history-funding
      path: /wapi/v1/history/funding
      operations:
      - name: get-funding-payments
        method: GET
        description: Get funding payments.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: wapi-v1-history-position
      path: /wapi/v1/history/position
      operations:
      - name: get-position-history
        method: GET
        description: Get position 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-position-rest
    port: 8080
    description: "REST adapter for Backpack Exchange \u2014 Position."
    resources:
    - path: /api/v1/position
      name: api-v1-position
      description: REST surface for api-v1-position.
      operations:
      - method: GET
        name: get-positions
        description: Get open positions.
        call: backpack-position.get-positions
        outputParameters:
        - type: object
          mapping: $.
    - path: /wapi/v1/history/funding
      name: wapi-v1-history-funding
      description: REST surface for wapi-v1-history-funding.
      operations:
      - method: GET
        name: get-funding-payments
        description: Get funding payments.
        call: backpack-position.get-funding-payments
        outputParameters:
        - type: object
          mapping: $.
    - path: /wapi/v1/history/position
      name: wapi-v1-history-position
      description: REST surface for wapi-v1-history-position.
      operations:
      - method: GET
        name: get-position-history
        description: Get position history.
        call: backpack-position.get-position-history
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: backpack-position-mcp
    port: 9090
    transport: http
    description: "MCP adapter for Backpack Exchange \u2014 Position."
    tools:
    - name: backpack-get-positions
      description: Get open positions.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-position.get-positions
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-funding-payments
      description: Get funding payments.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-position.get-funding-payments
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-position-history
      description: Get position history.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-position.get-position-history
      outputParameters:
      - type: object
        mapping: $.