naftiko: 1.0.0-alpha2 info: label: CoinGecko Pro API — Global description: 'CoinGecko Pro API — Global. 1 operations. Lead operation: Get global market cap chart. Self-contained Naftiko capability covering one Coingecko business surface.' tags: - Coingecko - Global created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: COINGECKO_API_KEY: COINGECKO_API_KEY capability: consumes: - type: http namespace: pro-global baseUri: https://pro-api.coingecko.com/api/v3 description: CoinGecko Pro API — Global business capability. Self-contained, no shared references. resources: - name: global-market_cap_chart path: /global/market_cap_chart operations: - name: getglobalmarketcapchart method: GET description: Get global market cap chart outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: days in: query type: string description: Number of days of historical data required: true - name: vs_currency in: query type: string description: The target currency for market cap data authentication: type: apikey key: x-cg-pro-api-key value: '{{env.COINGECKO_API_KEY}}' placement: header exposes: - type: rest namespace: pro-global-rest port: 8080 description: REST adapter for CoinGecko Pro API — Global. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/global/market-cap-chart name: global-market-cap-chart description: REST surface for global-market_cap_chart. operations: - method: GET name: getglobalmarketcapchart description: Get global market cap chart call: pro-global.getglobalmarketcapchart with: days: rest.days vs_currency: rest.vs_currency outputParameters: - type: object mapping: $. - type: mcp namespace: pro-global-mcp port: 9090 transport: http description: MCP adapter for CoinGecko Pro API — Global. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-global-market-cap-chart description: Get global market cap chart hints: readOnly: true destructive: false idempotent: true call: pro-global.getglobalmarketcapchart with: days: tools.days vs_currency: tools.vs_currency outputParameters: - type: object mapping: $.