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