ApyHub · Capability

ApyHub API — Currency

ApyHub API — Currency. 1 operations. Lead operation: ApyHub - Convert Currency. Self-contained Naftiko capability covering one Apyhub business surface.

Run with Naftiko ApyhubCurrency

What You Can Do

POST
Convertcurrency — ApyHub - Convert Currency
/v1/data/currency/convert

MCP Tools

apyhub-convert-currency

ApyHub - Convert Currency

Capability Spec

apyhub-currency.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ApyHub API — Currency
  description: 'ApyHub API — Currency. 1 operations. Lead operation: ApyHub - Convert Currency. Self-contained Naftiko capability
    covering one Apyhub business surface.'
  tags:
  - Apyhub
  - Currency
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APYHUB_API_KEY: APYHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: apyhub-currency
    baseUri: https://api.apyhub.com
    description: ApyHub API — Currency business capability. Self-contained, no shared references.
    resources:
    - name: data-currency-convert
      path: /data/currency/convert
      operations:
      - name: convertcurrency
        method: POST
        description: ApyHub - Convert Currency
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: apy-token
      value: '{{env.APYHUB_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: apyhub-currency-rest
    port: 8080
    description: REST adapter for ApyHub API — Currency. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/data/currency/convert
      name: data-currency-convert
      description: REST surface for data-currency-convert.
      operations:
      - method: POST
        name: convertcurrency
        description: ApyHub - Convert Currency
        call: apyhub-currency.convertcurrency
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apyhub-currency-mcp
    port: 9090
    transport: http
    description: MCP adapter for ApyHub API — Currency. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: apyhub-convert-currency
      description: ApyHub - Convert Currency
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apyhub-currency.convertcurrency
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.