ExchangeRate-API · Capability

ExchangeRate-API — Quota

ExchangeRate-API — Quota. 1 operation. Lead operation: Get Request Quota. Self-contained Naftiko capability for inspecting remaining API request quota.

Run with Naftiko ExchangeRate-APIQuota

What You Can Do

GET
Getquota — Get remaining request quota for the API key.
/v1/quota

MCP Tools

exchangerate-get-quota

Get remaining API request quota and refresh day for the API key.

read-only idempotent

Capability Spec

exchangerate-api-quota.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ExchangeRate-API — Quota
  description: 'ExchangeRate-API — Quota. 1 operation. Lead operation: Get Request Quota. Self-contained Naftiko capability for inspecting remaining API request quota.'
  tags:
    - ExchangeRate-API
    - Quota
  created: '2026-05-29'
  modified: '2026-05-29'
binds:
  - namespace: env
    keys:
      EXCHANGERATE_API_KEY: EXCHANGERATE_API_KEY
capability:
  consumes:
    - type: http
      namespace: exchangerate-quota
      baseUri: https://v6.exchangerate-api.com/v6
      description: ExchangeRate-API quota business capability. Self-contained, no shared references.
      resources:
        - name: quota
          path: /{api_key}/quota
          operations:
            - name: getQuota
              method: GET
              description: Get remaining request quota for the API key.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: api_key
                  in: path
                  type: string
                  value: '{{env.EXCHANGERATE_API_KEY}}'
                  description: ExchangeRate-API key.
      authentication:
        type: none
  exposes:
    - type: rest
      namespace: exchangerate-quota-rest
      port: 8080
      description: REST adapter for ExchangeRate-API Quota. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/quota
          name: quota
          description: REST surface for quota.
          operations:
            - method: GET
              name: getQuota
              description: Get remaining request quota for the API key.
              call: exchangerate-quota.getQuota
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: exchangerate-quota-mcp
      port: 9090
      transport: http
      description: MCP adapter for ExchangeRate-API Quota. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: exchangerate-get-quota
          description: Get remaining API request quota and refresh day for the API key.
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: exchangerate-quota.getQuota
          outputParameters:
            - type: object
              mapping: $.