S&P Global · Capability

S&P Global Commodity Insights API — Market Data

S&P Global Commodity Insights API — Market Data. 3 operations. Lead operation: Get Modified Symbols Since Date. Self-contained Naftiko capability covering one S And P Global business surface.

Run with Naftiko S And P GlobalMarket Data

What You Can Do

GET
Getmodifiedsymbols — Get Modified Symbols Since Date
/v1/market-data/v1/modified-date
GET
Getcurrentmarketdata — Get Current Market Data
/v1/market-data/v1/value/current
GET
Gethistoricalmarketdata — Get Historical Market Data
/v1/market-data/v1/value/history

MCP Tools

get-modified-symbols-since-date

Get Modified Symbols Since Date

read-only idempotent
get-current-market-data

Get Current Market Data

read-only idempotent
get-historical-market-data

Get Historical Market Data

read-only idempotent

Capability Spec

commodity-insights-market-data.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: S&P Global Commodity Insights API — Market Data
  description: 'S&P Global Commodity Insights API — Market Data. 3 operations. Lead operation: Get Modified Symbols Since
    Date. Self-contained Naftiko capability covering one S And P Global business surface.'
  tags:
  - S And P Global
  - Market Data
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    S_AND_P_GLOBAL_API_KEY: S_AND_P_GLOBAL_API_KEY
capability:
  consumes:
  - type: http
    namespace: commodity-insights-market-data
    baseUri: https://api.platts.com
    description: S&P Global Commodity Insights API — Market Data business capability. Self-contained, no shared references.
    resources:
    - name: market-data-v1-modified-date
      path: /market-data/v1/modified-date
      operations:
      - name: getmodifiedsymbols
        method: GET
        description: Get Modified Symbols Since Date
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: modifiedDate
          in: query
          type: string
          description: Return symbols modified after this date (YYYY-MM-DD)
          required: true
    - name: market-data-v1-value-current
      path: /market-data/v1/value/current
      operations:
      - name: getcurrentmarketdata
        method: GET
        description: Get Current Market Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: symbol
          in: query
          type: string
          description: Comma-separated list of commodity symbol codes (e.g., PCAAS00, AAPTA00)
          required: true
        - name: format
          in: query
          type: string
          description: Response format
    - name: market-data-v1-value-history
      path: /market-data/v1/value/history
      operations:
      - name: gethistoricalmarketdata
        method: GET
        description: Get Historical Market Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: symbol
          in: query
          type: string
          description: Comma-separated commodity symbol codes
          required: true
        - name: startDate
          in: query
          type: string
          description: Start date in YYYY-MM-DD format
          required: true
        - name: endDate
          in: query
          type: string
          description: End date in YYYY-MM-DD format
          required: true
        - name: format
          in: query
          type: string
          description: Response format
        - name: pageSize
          in: query
          type: integer
          description: Number of records per page (max 1000)
        - name: page
          in: query
          type: integer
          description: Page number for pagination
    authentication:
      type: bearer
      token: '{{env.S_AND_P_GLOBAL_API_KEY}}'
  exposes:
  - type: rest
    namespace: commodity-insights-market-data-rest
    port: 8080
    description: REST adapter for S&P Global Commodity Insights API — Market Data. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/market-data/v1/modified-date
      name: market-data-v1-modified-date
      description: REST surface for market-data-v1-modified-date.
      operations:
      - method: GET
        name: getmodifiedsymbols
        description: Get Modified Symbols Since Date
        call: commodity-insights-market-data.getmodifiedsymbols
        with:
          modifiedDate: rest.modifiedDate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/market-data/v1/value/current
      name: market-data-v1-value-current
      description: REST surface for market-data-v1-value-current.
      operations:
      - method: GET
        name: getcurrentmarketdata
        description: Get Current Market Data
        call: commodity-insights-market-data.getcurrentmarketdata
        with:
          symbol: rest.symbol
          format: rest.format
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/market-data/v1/value/history
      name: market-data-v1-value-history
      description: REST surface for market-data-v1-value-history.
      operations:
      - method: GET
        name: gethistoricalmarketdata
        description: Get Historical Market Data
        call: commodity-insights-market-data.gethistoricalmarketdata
        with:
          symbol: rest.symbol
          startDate: rest.startDate
          endDate: rest.endDate
          format: rest.format
          pageSize: rest.pageSize
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: commodity-insights-market-data-mcp
    port: 9090
    transport: http
    description: MCP adapter for S&P Global Commodity Insights API — Market Data. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-modified-symbols-since-date
      description: Get Modified Symbols Since Date
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commodity-insights-market-data.getmodifiedsymbols
      with:
        modifiedDate: tools.modifiedDate
      outputParameters:
      - type: object
        mapping: $.
    - name: get-current-market-data
      description: Get Current Market Data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commodity-insights-market-data.getcurrentmarketdata
      with:
        symbol: tools.symbol
        format: tools.format
      outputParameters:
      - type: object
        mapping: $.
    - name: get-historical-market-data
      description: Get Historical Market Data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: commodity-insights-market-data.gethistoricalmarketdata
      with:
        symbol: tools.symbol
        startDate: tools.startDate
        endDate: tools.endDate
        format: tools.format
        pageSize: tools.pageSize
        page: tools.page
      outputParameters:
      - type: object
        mapping: $.