naftiko: 1.0.0-alpha2 info: label: "Backpack Exchange \u2014 Markets" description: "Backpack Exchange API \u2014 Markets. 13 operations. Self-contained Naftiko capability covering one Backpack business surface." tags: - Backpack - Exchange - 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-markets baseUri: https://api.backpack.exchange description: Backpack Exchange Markets business capability. ED25519 signed requests. resources: - name: api-v1-markets path: /api/v1/markets operations: - name: get-markets method: GET description: Get markets. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-market path: /api/v1/market operations: - name: get-market method: GET description: Get market. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-depth path: /api/v1/depth operations: - name: get-depth method: GET description: Get depth. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-prediction path: /api/v1/prediction operations: - name: get-prediction-events method: GET description: Get prediction events. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-prediction-tags path: /api/v1/prediction/tags operations: - name: get-prediction-tags method: GET description: Get prediction tags. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-market-sessions path: /api/v1/market-sessions operations: - name: get-market-sessions method: GET description: Get market sessions. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-securities path: /api/v1/securities operations: - name: get-securities method: GET description: Get securities. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-markprices path: /api/v1/markPrices operations: - name: get-mark-prices method: GET description: Get mark prices. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-openinterest path: /api/v1/openInterest operations: - name: get-open-interest method: GET description: Get open interest. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-fundingrates path: /api/v1/fundingRates operations: - name: get-funding-interval-rates method: GET description: Get funding interval rates. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-klines path: /api/v1/klines operations: - name: get-klines method: GET description: Get K-lines. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-ticker path: /api/v1/ticker operations: - name: get-ticker method: GET description: Get ticker for a single market. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-tickers path: /api/v1/tickers operations: - name: get-tickers method: GET description: Get tickers for every market. 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-markets-rest port: 8080 description: "REST adapter for Backpack Exchange \u2014 Markets." resources: - path: /api/v1/markets name: api-v1-markets description: REST surface for api-v1-markets. operations: - method: GET name: get-markets description: Get markets. call: backpack-markets.get-markets outputParameters: - type: object mapping: $. - path: /api/v1/market name: api-v1-market description: REST surface for api-v1-market. operations: - method: GET name: get-market description: Get market. call: backpack-markets.get-market outputParameters: - type: object mapping: $. - path: /api/v1/depth name: api-v1-depth description: REST surface for api-v1-depth. operations: - method: GET name: get-depth description: Get depth. call: backpack-markets.get-depth outputParameters: - type: object mapping: $. - path: /api/v1/prediction name: api-v1-prediction description: REST surface for api-v1-prediction. operations: - method: GET name: get-prediction-events description: Get prediction events. call: backpack-markets.get-prediction-events outputParameters: - type: object mapping: $. - path: /api/v1/prediction/tags name: api-v1-prediction-tags description: REST surface for api-v1-prediction-tags. operations: - method: GET name: get-prediction-tags description: Get prediction tags. call: backpack-markets.get-prediction-tags outputParameters: - type: object mapping: $. - path: /api/v1/market-sessions name: api-v1-market-sessions description: REST surface for api-v1-market-sessions. operations: - method: GET name: get-market-sessions description: Get market sessions. call: backpack-markets.get-market-sessions outputParameters: - type: object mapping: $. - path: /api/v1/securities name: api-v1-securities description: REST surface for api-v1-securities. operations: - method: GET name: get-securities description: Get securities. call: backpack-markets.get-securities outputParameters: - type: object mapping: $. - path: /api/v1/markPrices name: api-v1-markprices description: REST surface for api-v1-markprices. operations: - method: GET name: get-mark-prices description: Get mark prices. call: backpack-markets.get-mark-prices outputParameters: - type: object mapping: $. - path: /api/v1/openInterest name: api-v1-openinterest description: REST surface for api-v1-openinterest. operations: - method: GET name: get-open-interest description: Get open interest. call: backpack-markets.get-open-interest outputParameters: - type: object mapping: $. - path: /api/v1/fundingRates name: api-v1-fundingrates description: REST surface for api-v1-fundingrates. operations: - method: GET name: get-funding-interval-rates description: Get funding interval rates. call: backpack-markets.get-funding-interval-rates outputParameters: - type: object mapping: $. - path: /api/v1/klines name: api-v1-klines description: REST surface for api-v1-klines. operations: - method: GET name: get-klines description: Get K-lines. call: backpack-markets.get-klines outputParameters: - type: object mapping: $. - path: /api/v1/ticker name: api-v1-ticker description: REST surface for api-v1-ticker. operations: - method: GET name: get-ticker description: Get ticker for a single market. call: backpack-markets.get-ticker outputParameters: - type: object mapping: $. - path: /api/v1/tickers name: api-v1-tickers description: REST surface for api-v1-tickers. operations: - method: GET name: get-tickers description: Get tickers for every market. call: backpack-markets.get-tickers outputParameters: - type: object mapping: $. - type: mcp namespace: backpack-markets-mcp port: 9090 transport: http description: "MCP adapter for Backpack Exchange \u2014 Markets." tools: - name: backpack-get-markets description: Get markets. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-markets outputParameters: - type: object mapping: $. - name: backpack-get-market description: Get market. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-market outputParameters: - type: object mapping: $. - name: backpack-get-depth description: Get depth. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-depth outputParameters: - type: object mapping: $. - name: backpack-get-prediction-events description: Get prediction events. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-prediction-events outputParameters: - type: object mapping: $. - name: backpack-get-prediction-tags description: Get prediction tags. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-prediction-tags outputParameters: - type: object mapping: $. - name: backpack-get-market-sessions description: Get market sessions. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-market-sessions outputParameters: - type: object mapping: $. - name: backpack-get-securities description: Get securities. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-securities outputParameters: - type: object mapping: $. - name: backpack-get-mark-prices description: Get mark prices. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-mark-prices outputParameters: - type: object mapping: $. - name: backpack-get-open-interest description: Get open interest. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-open-interest outputParameters: - type: object mapping: $. - name: backpack-get-funding-interval-rates description: Get funding interval rates. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-funding-interval-rates outputParameters: - type: object mapping: $. - name: backpack-get-klines description: Get K-lines. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-klines outputParameters: - type: object mapping: $. - name: backpack-get-ticker description: Get ticker for a single market. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-ticker outputParameters: - type: object mapping: $. - name: backpack-get-tickers description: Get tickers for every market. hints: readOnly: true destructive: false idempotent: true call: backpack-markets.get-tickers outputParameters: - type: object mapping: $.