Bloomberg APIs · Capability

Bloomberg API (BLPAPI) — mktbar

Bloomberg API (BLPAPI) — mktbar. 1 operations. Lead operation: Subscribe to streaming intraday bar data. Self-contained Naftiko capability covering one Bloomberg Apis business surface.

Run with Naftiko Bloomberg Apismktbar

What You Can Do

POST
Marketbarsubscribe — Subscribe to streaming intraday bar data
/v1/mktbar/subscribe

MCP Tools

subscribe-streaming-intraday-bar-data

Subscribe to streaming intraday bar data

Capability Spec

bloomberg-blpapi-mktbar.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Bloomberg API (BLPAPI) — mktbar
  description: 'Bloomberg API (BLPAPI) — mktbar. 1 operations. Lead operation: Subscribe to streaming intraday bar data. Self-contained
    Naftiko capability covering one Bloomberg Apis business surface.'
  tags:
  - Bloomberg Apis
  - mktbar
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BLOOMBERG_APIS_API_KEY: BLOOMBERG_APIS_API_KEY
capability:
  consumes:
  - type: http
    namespace: bloomberg-blpapi-mktbar
    baseUri: ''
    description: Bloomberg API (BLPAPI) — mktbar business capability. Self-contained, no shared references.
    resources:
    - name: mktbar-subscribe
      path: /mktbar/subscribe
      operations:
      - name: marketbarsubscribe
        method: POST
        description: Subscribe to streaming intraday bar data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.BLOOMBERG_APIS_API_KEY}}'
  exposes:
  - type: rest
    namespace: bloomberg-blpapi-mktbar-rest
    port: 8080
    description: REST adapter for Bloomberg API (BLPAPI) — mktbar. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/mktbar/subscribe
      name: mktbar-subscribe
      description: REST surface for mktbar-subscribe.
      operations:
      - method: POST
        name: marketbarsubscribe
        description: Subscribe to streaming intraday bar data
        call: bloomberg-blpapi-mktbar.marketbarsubscribe
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bloomberg-blpapi-mktbar-mcp
    port: 9090
    transport: http
    description: MCP adapter for Bloomberg API (BLPAPI) — mktbar. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: subscribe-streaming-intraday-bar-data
      description: Subscribe to streaming intraday bar data
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bloomberg-blpapi-mktbar.marketbarsubscribe
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.