CoinGecko · Capability

CoinGecko Pro API — Exchanges

CoinGecko Pro API — Exchanges. 1 operations. Lead operation: Get exchange volume chart within date range. Self-contained Naftiko capability covering one Coingecko business surface.

Run with Naftiko CoingeckoExchanges

What You Can Do

GET
Getexchangevolumechartrange — Get exchange volume chart within date range
/v1/exchanges/{id}/volume-chart/range

MCP Tools

get-exchange-volume-chart-within

Get exchange volume chart within date range

read-only idempotent

Capability Spec

pro-exchanges.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: CoinGecko Pro API — Exchanges
  description: 'CoinGecko Pro API — Exchanges. 1 operations. Lead operation: Get exchange volume chart within date range.
    Self-contained Naftiko capability covering one Coingecko business surface.'
  tags:
  - Coingecko
  - Exchanges
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COINGECKO_API_KEY: COINGECKO_API_KEY
capability:
  consumes:
  - type: http
    namespace: pro-exchanges
    baseUri: https://pro-api.coingecko.com/api/v3
    description: CoinGecko Pro API — Exchanges business capability. Self-contained, no shared references.
    resources:
    - name: exchanges-id-volume_chart-range
      path: /exchanges/{id}/volume_chart/range
      operations:
      - name: getexchangevolumechartrange
        method: GET
        description: Get exchange volume chart within date range
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The exchange ID
          required: true
        - name: from
          in: query
          type: number
          description: Start date as UNIX timestamp
          required: true
        - name: to
          in: query
          type: number
          description: End date as UNIX timestamp
          required: true
    authentication:
      type: apikey
      key: x-cg-pro-api-key
      value: '{{env.COINGECKO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: pro-exchanges-rest
    port: 8080
    description: REST adapter for CoinGecko Pro API — Exchanges. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/exchanges/{id}/volume-chart/range
      name: exchanges-id-volume-chart-range
      description: REST surface for exchanges-id-volume_chart-range.
      operations:
      - method: GET
        name: getexchangevolumechartrange
        description: Get exchange volume chart within date range
        call: pro-exchanges.getexchangevolumechartrange
        with:
          id: rest.id
          from: rest.from
          to: rest.to
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pro-exchanges-mcp
    port: 9090
    transport: http
    description: MCP adapter for CoinGecko Pro API — Exchanges. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-exchange-volume-chart-within
      description: Get exchange volume chart within date range
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pro-exchanges.getexchangevolumechartrange
      with:
        id: tools.id
        from: tools.from
        to: tools.to
      outputParameters:
      - type: object
        mapping: $.