CoinGecko · Capability

CoinGecko Crypto Market Data API — Global

CoinGecko Crypto Market Data API — Global. 2 operations. Lead operation: Get global cryptocurrency data. Self-contained Naftiko capability covering one Coingecko business surface.

Run with Naftiko CoingeckoGlobal

What You Can Do

GET
Getglobal — Get global cryptocurrency data
/v1/global
GET
Getglobaldefi — Get global DeFi market data
/v1/global/decentralized-finance-defi

MCP Tools

get-global-cryptocurrency-data

Get global cryptocurrency data

read-only idempotent
get-global-defi-market-data

Get global DeFi market data

read-only idempotent

Capability Spec

crypto-market-data-global.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: CoinGecko Crypto Market Data API — Global
  description: 'CoinGecko Crypto Market Data API — Global. 2 operations. Lead operation: Get global cryptocurrency data. 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: crypto-market-data-global
    baseUri: https://api.coingecko.com/api/v3
    description: CoinGecko Crypto Market Data API — Global business capability. Self-contained, no shared references.
    resources:
    - name: global
      path: /global
      operations:
      - name: getglobal
        method: GET
        description: Get global cryptocurrency data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: global-decentralized_finance_defi
      path: /global/decentralized_finance_defi
      operations:
      - name: getglobaldefi
        method: GET
        description: Get global DeFi market data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: x-cg-demo-api-key
      value: '{{env.COINGECKO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: crypto-market-data-global-rest
    port: 8080
    description: REST adapter for CoinGecko Crypto Market Data API — Global. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/global
      name: global
      description: REST surface for global.
      operations:
      - method: GET
        name: getglobal
        description: Get global cryptocurrency data
        call: crypto-market-data-global.getglobal
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/global/decentralized-finance-defi
      name: global-decentralized-finance-defi
      description: REST surface for global-decentralized_finance_defi.
      operations:
      - method: GET
        name: getglobaldefi
        description: Get global DeFi market data
        call: crypto-market-data-global.getglobaldefi
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: crypto-market-data-global-mcp
    port: 9090
    transport: http
    description: MCP adapter for CoinGecko Crypto Market Data API — Global. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-global-cryptocurrency-data
      description: Get global cryptocurrency data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: crypto-market-data-global.getglobal
      outputParameters:
      - type: object
        mapping: $.
    - name: get-global-defi-market-data
      description: Get global DeFi market data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: crypto-market-data-global.getglobaldefi
      outputParameters:
      - type: object
        mapping: $.