Coinbase · Capability

Coinbase Commerce API — Events

Coinbase Commerce API — Events. 2 operations. Lead operation: List events. Self-contained Naftiko capability covering one Coinbase business surface.

Run with Naftiko CoinbaseEvents

What You Can Do

GET
Listevents — List events
/v1/events
GET
Getevent — Get event
/v1/events/{event-id}

MCP Tools

list-events

List events

read-only idempotent
get-event

Get event

read-only idempotent

Capability Spec

commerce-events.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Coinbase Commerce API — Events
  description: 'Coinbase Commerce API — Events. 2 operations. Lead operation: List events. Self-contained Naftiko capability
    covering one Coinbase business surface.'
  tags:
  - Coinbase
  - Events
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COINBASE_API_KEY: COINBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: commerce-events
    baseUri: https://api.commerce.coinbase.com
    description: Coinbase Commerce API — Events business capability. Self-contained, no shared references.
    resources:
    - name: events
      path: /events
      operations:
      - name: listevents
        method: GET
        description: List events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: events-event_id
      path: /events/{event_id}
      operations:
      - name: getevent
        method: GET
        description: Get event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: event_id
          in: path
          type: string
          description: Event identifier
          required: true
    authentication:
      type: apikey
      key: X-CC-Api-Key
      value: '{{env.COINBASE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: commerce-events-rest
    port: 8080
    description: REST adapter for Coinbase Commerce API — Events. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/events
      name: events
      description: REST surface for events.
      operations:
      - method: GET
        name: listevents
        description: List events
        call: commerce-events.listevents
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/events/{event-id}
      name: events-event-id
      description: REST surface for events-event_id.
      operations:
      - method: GET
        name: getevent
        description: Get event
        call: commerce-events.getevent
        with:
          event_id: rest.event_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: commerce-events-mcp
    port: 9090
    transport: http
    description: MCP adapter for Coinbase Commerce API — Events. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-events
      description: List events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commerce-events.listevents
      outputParameters:
      - type: object
        mapping: $.
    - name: get-event
      description: Get event
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commerce-events.getevent
      with:
        event_id: tools.event_id
      outputParameters:
      - type: object
        mapping: $.