Factset · Capability

FactSet Prices API — Snapshots

FactSet Prices API — Snapshots. 2 operations. Lead operation: Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.. Self-contained Naftiko capability covering one Factset business surface.

Run with Naftiko FactsetSnapshots

What You Can Do

GET
Getreturnssnapshot — Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.
/v1/factset-prices/v1/returns-snapshot
POST
Getreturnssnapshotforlist — Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.
/v1/factset-prices/v1/returns-snapshot

MCP Tools

factset-returns-price-performance-security

Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.

read-only idempotent
factset-returns-price-performance-security-2

Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.

Capability Spec

prices-snapshots.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FactSet Prices API — Snapshots
  description: 'FactSet Prices API — Snapshots. 2 operations. Lead operation: Factset Returns the Price Performance of the
    Security and Annualized Compound Total Returns.. Self-contained Naftiko capability covering one Factset business surface.'
  tags:
  - Factset
  - Snapshots
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FACTSET_API_KEY: FACTSET_API_KEY
capability:
  consumes:
  - type: http
    namespace: prices-snapshots
    baseUri: https://api.factset.com/content
    description: FactSet Prices API — Snapshots business capability. Self-contained, no shared references.
    resources:
    - name: factset-prices-v1-returns-snapshot
      path: /factset-prices/v1/returns-snapshot
      operations:
      - name: getreturnssnapshot
        method: GET
        description: Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getreturnssnapshotforlist
        method: POST
        description: Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.
        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: prices-snapshots-rest
    port: 8080
    description: REST adapter for FactSet Prices API — Snapshots. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/factset-prices/v1/returns-snapshot
      name: factset-prices-v1-returns-snapshot
      description: REST surface for factset-prices-v1-returns-snapshot.
      operations:
      - method: GET
        name: getreturnssnapshot
        description: Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.
        call: prices-snapshots.getreturnssnapshot
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: getreturnssnapshotforlist
        description: Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.
        call: prices-snapshots.getreturnssnapshotforlist
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: prices-snapshots-mcp
    port: 9090
    transport: http
    description: MCP adapter for FactSet Prices API — Snapshots. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: factset-returns-price-performance-security
      description: Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: prices-snapshots.getreturnssnapshot
      outputParameters:
      - type: object
        mapping: $.
    - name: factset-returns-price-performance-security-2
      description: Factset Returns the Price Performance of the Security and Annualized Compound Total Returns.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: prices-snapshots.getreturnssnapshotforlist
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.