Factset · Capability

Factset Foreign Exchange Rates API — Foreign Exchange

Factset Foreign Exchange Rates API — Foreign Exchange. 4 operations. Lead operation: Factset Gets Forwards for a list of currency pairs. Self-contained Naftiko capability covering one Factset business surface.

Run with Naftiko FactsetForeign Exchange

What You Can Do

GET
Getfxforwards — Factset Gets Forwards for a list of currency pairs
/v1/foreign-exchange/v1/forwards
POST
Getfxforwardsforlist — Factset Gets Forwards for a list of currency pairs
/v1/foreign-exchange/v1/forwards
GET
Getspots — Factset Gets spots for a list of currency pairs
/v1/foreign-exchange/v1/spots
POST
Getspotsforlist — Factset Gets spots for a list of currency pairs
/v1/foreign-exchange/v1/spots

MCP Tools

factset-gets-forwards-list-currency

Factset Gets Forwards for a list of currency pairs

read-only idempotent
factset-gets-forwards-list-currency-2

Factset Gets Forwards for a list of currency pairs

read-only
factset-gets-spots-list-currency

Factset Gets spots for a list of currency pairs

read-only idempotent
factset-gets-spots-list-currency-2

Factset Gets spots for a list of currency pairs

read-only

Capability Spec

foreign-exchange-rate-foreign-exchange.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Factset Foreign Exchange Rates API — Foreign Exchange
  description: 'Factset Foreign Exchange Rates API — Foreign Exchange. 4 operations. Lead operation: Factset Gets Forwards
    for a list of currency pairs. Self-contained Naftiko capability covering one Factset business surface.'
  tags:
  - Factset
  - Foreign Exchange
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FACTSET_API_KEY: FACTSET_API_KEY
capability:
  consumes:
  - type: http
    namespace: foreign-exchange-rate-foreign-exchange
    baseUri: https://api.factset.com/content
    description: Factset Foreign Exchange Rates API — Foreign Exchange business capability. Self-contained, no shared references.
    resources:
    - name: foreign-exchange-v1-forwards
      path: /foreign-exchange/v1/forwards
      operations:
      - name: getfxforwards
        method: GET
        description: Factset Gets Forwards for a list of currency pairs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getfxforwardsforlist
        method: POST
        description: Factset Gets Forwards for a list of currency pairs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: foreign-exchange-v1-spots
      path: /foreign-exchange/v1/spots
      operations:
      - name: getspots
        method: GET
        description: Factset Gets spots for a list of currency pairs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getspotsforlist
        method: POST
        description: Factset Gets spots for a list of currency pairs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.FACTSET_USER}}'
      password: '{{env.FACTSET_PASS}}'
  exposes:
  - type: rest
    namespace: foreign-exchange-rate-foreign-exchange-rest
    port: 8080
    description: REST adapter for Factset Foreign Exchange Rates API — Foreign Exchange. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/foreign-exchange/v1/forwards
      name: foreign-exchange-v1-forwards
      description: REST surface for foreign-exchange-v1-forwards.
      operations:
      - method: GET
        name: getfxforwards
        description: Factset Gets Forwards for a list of currency pairs
        call: foreign-exchange-rate-foreign-exchange.getfxforwards
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: getfxforwardsforlist
        description: Factset Gets Forwards for a list of currency pairs
        call: foreign-exchange-rate-foreign-exchange.getfxforwardsforlist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/foreign-exchange/v1/spots
      name: foreign-exchange-v1-spots
      description: REST surface for foreign-exchange-v1-spots.
      operations:
      - method: GET
        name: getspots
        description: Factset Gets spots for a list of currency pairs
        call: foreign-exchange-rate-foreign-exchange.getspots
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: getspotsforlist
        description: Factset Gets spots for a list of currency pairs
        call: foreign-exchange-rate-foreign-exchange.getspotsforlist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: foreign-exchange-rate-foreign-exchange-mcp
    port: 9090
    transport: http
    description: MCP adapter for Factset Foreign Exchange Rates API — Foreign Exchange. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: factset-gets-forwards-list-currency
      description: Factset Gets Forwards for a list of currency pairs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: foreign-exchange-rate-foreign-exchange.getfxforwards
      outputParameters:
      - type: object
        mapping: $.
    - name: factset-gets-forwards-list-currency-2
      description: Factset Gets Forwards for a list of currency pairs
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: foreign-exchange-rate-foreign-exchange.getfxforwardsforlist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: factset-gets-spots-list-currency
      description: Factset Gets spots for a list of currency pairs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: foreign-exchange-rate-foreign-exchange.getspots
      outputParameters:
      - type: object
        mapping: $.
    - name: factset-gets-spots-list-currency-2
      description: Factset Gets spots for a list of currency pairs
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: foreign-exchange-rate-foreign-exchange.getspotsforlist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.