Battle.net · Capability

Battle.net Hearthstone Game Data API — Metadata

Battle.net Hearthstone Game Data API — Metadata. 2 operations. Lead operation: Battle.net Get Hearthstone Metadata. Self-contained Naftiko capability covering one Battle Net business surface.

Run with Naftiko Battle NetMetadata

What You Can Do

GET
Getmetadata — Battle.net Get Hearthstone Metadata
/v1/hearthstone/metadata
GET
Getmetadatatype — Battle.net Get Hearthstone Metadata Type
/v1/hearthstone/metadata/{type}

MCP Tools

battle-net-get-hearthstone-metadata

Battle.net Get Hearthstone Metadata

read-only idempotent
battle-net-get-hearthstone-metadata-type

Battle.net Get Hearthstone Metadata Type

read-only idempotent

Capability Spec

hearthstone-game-data-metadata.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Battle.net Hearthstone Game Data API — Metadata
  description: 'Battle.net Hearthstone Game Data API — Metadata. 2 operations. Lead operation: Battle.net Get Hearthstone
    Metadata. Self-contained Naftiko capability covering one Battle Net business surface.'
  tags:
  - Battle Net
  - Metadata
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BATTLE_NET_API_KEY: BATTLE_NET_API_KEY
capability:
  consumes:
  - type: http
    namespace: hearthstone-game-data-metadata
    baseUri: https://us.api.blizzard.com
    description: Battle.net Hearthstone Game Data API — Metadata business capability. Self-contained, no shared references.
    resources:
    - name: hearthstone-metadata
      path: /hearthstone/metadata
      operations:
      - name: getmetadata
        method: GET
        description: Battle.net Get Hearthstone Metadata
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: locale
          in: query
          type: string
          description: The locale to reflect in localized data.
    - name: hearthstone-metadata-type
      path: /hearthstone/metadata/{type}
      operations:
      - name: getmetadatatype
        method: GET
        description: Battle.net Get Hearthstone Metadata Type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: type
          in: path
          type: string
          description: The type of metadata to retrieve (sets, setGroups, arenaIds, arenaSeasons, keywords, races, classes,
            cardTypes, rarities, minionTypes, spellSchools, mercenaryRo
          required: true
        - name: locale
          in: query
          type: string
          description: The locale to reflect in localized data.
    authentication:
      type: bearer
      token: '{{env.BATTLE_NET_API_KEY}}'
  exposes:
  - type: rest
    namespace: hearthstone-game-data-metadata-rest
    port: 8080
    description: REST adapter for Battle.net Hearthstone Game Data API — Metadata. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/hearthstone/metadata
      name: hearthstone-metadata
      description: REST surface for hearthstone-metadata.
      operations:
      - method: GET
        name: getmetadata
        description: Battle.net Get Hearthstone Metadata
        call: hearthstone-game-data-metadata.getmetadata
        with:
          locale: rest.locale
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/hearthstone/metadata/{type}
      name: hearthstone-metadata-type
      description: REST surface for hearthstone-metadata-type.
      operations:
      - method: GET
        name: getmetadatatype
        description: Battle.net Get Hearthstone Metadata Type
        call: hearthstone-game-data-metadata.getmetadatatype
        with:
          type: rest.type
          locale: rest.locale
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hearthstone-game-data-metadata-mcp
    port: 9090
    transport: http
    description: MCP adapter for Battle.net Hearthstone Game Data API — Metadata. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: battle-net-get-hearthstone-metadata
      description: Battle.net Get Hearthstone Metadata
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hearthstone-game-data-metadata.getmetadata
      with:
        locale: tools.locale
      outputParameters:
      - type: object
        mapping: $.
    - name: battle-net-get-hearthstone-metadata-type
      description: Battle.net Get Hearthstone Metadata Type
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hearthstone-game-data-metadata.getmetadatatype
      with:
        type: tools.type
        locale: tools.locale
      outputParameters:
      - type: object
        mapping: $.