CoinGecko · Capability

CoinGecko Onchain DEX API — Networks

CoinGecko Onchain DEX API — Networks. 1 operations. Lead operation: List supported networks. Self-contained Naftiko capability covering one Coingecko business surface.

Run with Naftiko CoingeckoNetworks

What You Can Do

GET
Getonchainnetworks — List supported networks
/v1/onchain/networks

MCP Tools

list-supported-networks

List supported networks

read-only idempotent

Capability Spec

onchain-dex-networks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: CoinGecko Onchain DEX API — Networks
  description: 'CoinGecko Onchain DEX API — Networks. 1 operations. Lead operation: List supported networks. Self-contained
    Naftiko capability covering one Coingecko business surface.'
  tags:
  - Coingecko
  - Networks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COINGECKO_API_KEY: COINGECKO_API_KEY
capability:
  consumes:
  - type: http
    namespace: onchain-dex-networks
    baseUri: https://pro-api.coingecko.com/api/v3
    description: CoinGecko Onchain DEX API — Networks business capability. Self-contained, no shared references.
    resources:
    - name: onchain-networks
      path: /onchain/networks
      operations:
      - name: getonchainnetworks
        method: GET
        description: List supported networks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: Page number for pagination
    authentication:
      type: apikey
      key: x-cg-pro-api-key
      value: '{{env.COINGECKO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: onchain-dex-networks-rest
    port: 8080
    description: REST adapter for CoinGecko Onchain DEX API — Networks. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/onchain/networks
      name: onchain-networks
      description: REST surface for onchain-networks.
      operations:
      - method: GET
        name: getonchainnetworks
        description: List supported networks
        call: onchain-dex-networks.getonchainnetworks
        with:
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: onchain-dex-networks-mcp
    port: 9090
    transport: http
    description: MCP adapter for CoinGecko Onchain DEX API — Networks. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-supported-networks
      description: List supported networks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: onchain-dex-networks.getonchainnetworks
      with:
        page: tools.page
      outputParameters:
      - type: object
        mapping: $.