Backpack · Capability

Backpack Exchange — Borrow Lend Markets

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

Backpack Exchange — Borrow Lend Markets 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 rooted at /api/v1/borrowLend.

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

Tagged areas include Backpack, Exchange, and Borrow Lend Markets.

Run with Naftiko BackpackExchangeBorrow Lend Markets

What You Can Do

GET
Get borrow lend markets — Get borrow lend markets.
/api/v1/borrowLend/markets
GET
Get borrow lend markets history — Get borrow lend market history.
/api/v1/borrowLend/markets/history
GET
Get apy rates — Get APY rates for borrow/lend markets and staking.
/api/v1/borrowLend/apy

MCP Tools

backpack-get-borrow-lend-markets

Get borrow lend markets.

read-only idempotent
backpack-get-borrow-lend-markets-history

Get borrow lend market history.

read-only idempotent
backpack-get-apy-rates

Get APY rates for borrow/lend markets and staking.

read-only idempotent

Capability Spec

borrow-lend-markets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: "Backpack Exchange \u2014 Borrow Lend Markets"
  description: "Backpack Exchange API \u2014 Borrow Lend Markets. 3 operations. Self-contained Naftiko capability covering one Backpack business\
    \ surface."
  tags:
  - Backpack
  - Exchange
  - Borrow Lend Markets
  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-borrow-lend-markets
    baseUri: https://api.backpack.exchange
    description: Backpack Exchange Borrow Lend Markets business capability. ED25519 signed requests.
    resources:
    - name: api-v1-borrowlend-markets
      path: /api/v1/borrowLend/markets
      operations:
      - name: get-borrow-lend-markets
        method: GET
        description: Get borrow lend markets.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-borrowlend-markets-history
      path: /api/v1/borrowLend/markets/history
      operations:
      - name: get-borrow-lend-markets-history
        method: GET
        description: Get borrow lend market history.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-borrowlend-apy
      path: /api/v1/borrowLend/apy
      operations:
      - name: get-apy-rates
        method: GET
        description: Get APY rates for borrow/lend markets and staking.
        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-borrow-lend-markets-rest
    port: 8080
    description: "REST adapter for Backpack Exchange \u2014 Borrow Lend Markets."
    resources:
    - path: /api/v1/borrowLend/markets
      name: api-v1-borrowlend-markets
      description: REST surface for api-v1-borrowlend-markets.
      operations:
      - method: GET
        name: get-borrow-lend-markets
        description: Get borrow lend markets.
        call: backpack-borrow-lend-markets.get-borrow-lend-markets
        outputParameters:
        - type: object
          mapping: $.
    - path: /api/v1/borrowLend/markets/history
      name: api-v1-borrowlend-markets-history
      description: REST surface for api-v1-borrowlend-markets-history.
      operations:
      - method: GET
        name: get-borrow-lend-markets-history
        description: Get borrow lend market history.
        call: backpack-borrow-lend-markets.get-borrow-lend-markets-history
        outputParameters:
        - type: object
          mapping: $.
    - path: /api/v1/borrowLend/apy
      name: api-v1-borrowlend-apy
      description: REST surface for api-v1-borrowlend-apy.
      operations:
      - method: GET
        name: get-apy-rates
        description: Get APY rates for borrow/lend markets and staking.
        call: backpack-borrow-lend-markets.get-apy-rates
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: backpack-borrow-lend-markets-mcp
    port: 9090
    transport: http
    description: "MCP adapter for Backpack Exchange \u2014 Borrow Lend Markets."
    tools:
    - name: backpack-get-borrow-lend-markets
      description: Get borrow lend markets.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-borrow-lend-markets.get-borrow-lend-markets
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-borrow-lend-markets-history
      description: Get borrow lend market history.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-borrow-lend-markets.get-borrow-lend-markets-history
      outputParameters:
      - type: object
        mapping: $.
    - name: backpack-get-apy-rates
      description: Get APY rates for borrow/lend markets and staking.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: backpack-borrow-lend-markets.get-apy-rates
      outputParameters:
      - type: object
        mapping: $.