Bunq · Capability

Bunq user/{userID}/insights — User

Bunq user/{userID}/insights — User. 2 operations. Lead operation: User. Self-contained Naftiko capability covering one Bunq business surface.

Run with Naftiko BunqUser

What You Can Do

GET
Listallinsightsforuser — Used to get insights about transactions between given time range.
/v1/user/{userid}/insights
GET
Listallinsightssearchforuser — Used to get events based on time and insight category.
/v1/user/{userid}/insights-search

MCP Tools

used-get-insights-about-transactions

Used to get insights about transactions between given time range.

read-only idempotent
used-get-events-based-time

Used to get events based on time and insight category.

read-only idempotent

Capability Spec

user-userid-insights-user.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Bunq user/{userID}/insights — User
  description: 'Bunq user/{userID}/insights — User. 2 operations. Lead operation: User. Self-contained Naftiko capability
    covering one Bunq business surface.'
  tags:
  - Bunq
  - User
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BUNQ_API_KEY: BUNQ_API_KEY
capability:
  consumes:
  - type: http
    namespace: user-userid-insights-user
    baseUri: https://public-api.sandbox.bunq.com/{basePath}
    description: Bunq user/{userID}/insights — User business capability. Self-contained, no shared references.
    resources:
    - name: user-userID-insights
      path: /user/{userID}/insights
      operations:
      - name: listallinsightsforuser
        method: GET
        description: Used to get insights about transactions between given time range.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
    - name: user-userID-insights-search
      path: /user/{userID}/insights-search
      operations:
      - name: listallinsightssearchforuser
        method: GET
        description: Used to get events based on time and insight category.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
  exposes:
  - type: rest
    namespace: user-userid-insights-user-rest
    port: 8080
    description: REST adapter for Bunq user/{userID}/insights — User. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/user/{userid}/insights
      name: user-userid-insights
      description: REST surface for user-userID-insights.
      operations:
      - method: GET
        name: listallinsightsforuser
        description: Used to get insights about transactions between given time range.
        call: user-userid-insights-user.listallinsightsforuser
        with:
          userID: rest.userID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/insights-search
      name: user-userid-insights-search
      description: REST surface for user-userID-insights-search.
      operations:
      - method: GET
        name: listallinsightssearchforuser
        description: Used to get events based on time and insight category.
        call: user-userid-insights-user.listallinsightssearchforuser
        with:
          userID: rest.userID
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: user-userid-insights-user-mcp
    port: 9090
    transport: http
    description: MCP adapter for Bunq user/{userID}/insights — User. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: used-get-insights-about-transactions
      description: Used to get insights about transactions between given time range.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: user-userid-insights-user.listallinsightsforuser
      with:
        userID: tools.userID
      outputParameters:
      - type: object
        mapping: $.
    - name: used-get-events-based-time
      description: Used to get events based on time and insight category.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: user-userid-insights-user.listallinsightssearchforuser
      with:
        userID: tools.userID
      outputParameters:
      - type: object
        mapping: $.