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: $.