Country.io · Capability

Country.io Data API — Currency

Country.io Data API — Currency. 1 operations. Lead operation: Get currency codes keyed by ISO2 country code. Self-contained Naftiko capability covering one Country Io business surface.

Run with Naftiko Country IoCurrency

What You Can Do

GET
Getcurrencycodes — Get currency codes keyed by ISO2 country code
/v1/currency-json

MCP Tools

get-currency-codes-keyed-iso2

Get currency codes keyed by ISO2 country code

read-only idempotent

Capability Spec

data-currency.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Country.io Data API — Currency
  description: 'Country.io Data API — Currency. 1 operations. Lead operation: Get currency codes keyed by ISO2 country code.
    Self-contained Naftiko capability covering one Country Io business surface.'
  tags:
  - Country Io
  - Currency
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COUNTRY_IO_API_KEY: COUNTRY_IO_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-currency
    baseUri: https://country.io
    description: Country.io Data API — Currency business capability. Self-contained, no shared references.
    resources:
    - name: currency.json
      path: /currency.json
      operations:
      - name: getcurrencycodes
        method: GET
        description: Get currency codes keyed by ISO2 country code
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: data-currency-rest
    port: 8080
    description: REST adapter for Country.io Data API — Currency. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/currency-json
      name: currency-json
      description: REST surface for currency.json.
      operations:
      - method: GET
        name: getcurrencycodes
        description: Get currency codes keyed by ISO2 country code
        call: data-currency.getcurrencycodes
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-currency-mcp
    port: 9090
    transport: http
    description: MCP adapter for Country.io Data API — Currency. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-currency-codes-keyed-iso2
      description: Get currency codes keyed by ISO2 country code
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-currency.getcurrencycodes
      outputParameters:
      - type: object
        mapping: $.