Arch Coal · Capability

Arch Coal Investor Relations API — Financial

Arch Coal Investor Relations API — Financial. 1 operations. Lead operation: Arch Coal Get Earnings Data. Self-contained Naftiko capability covering one Arch Coal business surface.

Run with Naftiko Arch CoalFinancial

What You Can Do

GET
Getearnings — Arch Coal Get Earnings Data
/v1/financial/earnings

MCP Tools

arch-coal-get-earnings-data

Arch Coal Get Earnings Data

read-only idempotent

Capability Spec

investor-relations-financial.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Arch Coal Investor Relations API — Financial
  description: 'Arch Coal Investor Relations API — Financial. 1 operations. Lead operation: Arch Coal Get Earnings Data. Self-contained
    Naftiko capability covering one Arch Coal business surface.'
  tags:
  - Arch Coal
  - Financial
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ARCH_COAL_API_KEY: ARCH_COAL_API_KEY
capability:
  consumes:
  - type: http
    namespace: investor-relations-financial
    baseUri: https://api.archresources.com/v1
    description: Arch Coal Investor Relations API — Financial business capability. Self-contained, no shared references.
    resources:
    - name: financial-earnings
      path: /financial/earnings
      operations:
      - name: getearnings
        method: GET
        description: Arch Coal Get Earnings Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: year
          in: query
          type: integer
          description: Fiscal year
        - name: quarter
          in: query
          type: integer
          description: Quarter (1-4), omit for annual
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.ARCH_COAL_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: investor-relations-financial-rest
    port: 8080
    description: REST adapter for Arch Coal Investor Relations API — Financial. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/financial/earnings
      name: financial-earnings
      description: REST surface for financial-earnings.
      operations:
      - method: GET
        name: getearnings
        description: Arch Coal Get Earnings Data
        call: investor-relations-financial.getearnings
        with:
          year: rest.year
          quarter: rest.quarter
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: investor-relations-financial-mcp
    port: 9090
    transport: http
    description: MCP adapter for Arch Coal Investor Relations API — Financial. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: arch-coal-get-earnings-data
      description: Arch Coal Get Earnings Data
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: investor-relations-financial.getearnings
      with:
        year: tools.year
        quarter: tools.quarter
      outputParameters:
      - type: object
        mapping: $.