Battle.net · Capability

Battle.net Hearthstone Game Data API — Card Backs

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

Run with Naftiko Battle NetCard Backs

What You Can Do

GET
Searchcardbacks — Battle.net Search Hearthstone Card Backs
/v1/hearthstone/cardbacks
GET
Getcardback — Battle.net Get Hearthstone Card Back
/v1/hearthstone/cardbacks/{idorslug}

MCP Tools

battle-net-search-hearthstone-card-backs

Battle.net Search Hearthstone Card Backs

read-only idempotent
battle-net-get-hearthstone-card-back

Battle.net Get Hearthstone Card Back

read-only idempotent

Capability Spec

hearthstone-game-data-card-backs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Battle.net Hearthstone Game Data API — Card Backs
  description: 'Battle.net Hearthstone Game Data API — Card Backs. 2 operations. Lead operation: Battle.net Search Hearthstone
    Card Backs. Self-contained Naftiko capability covering one Battle Net business surface.'
  tags:
  - Battle Net
  - Card Backs
  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-card-backs
    baseUri: https://us.api.blizzard.com
    description: Battle.net Hearthstone Game Data API — Card Backs business capability. Self-contained, no shared references.
    resources:
    - name: hearthstone-cardbacks
      path: /hearthstone/cardbacks
      operations:
      - name: searchcardbacks
        method: GET
        description: Battle.net Search Hearthstone Card Backs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cardBackCategory
          in: query
          type: string
          description: A category of card back. The category must match a valid category slug.
        - name: textFilter
          in: query
          type: string
          description: A text string used to filter card backs.
        - name: sort
          in: query
          type: string
          description: The field used to sort the results.
        - name: order
          in: query
          type: string
          description: The order in which to sort the results.
        - name: locale
          in: query
          type: string
          description: The locale to reflect in localized data.
    - name: hearthstone-cardbacks-idOrSlug
      path: /hearthstone/cardbacks/{idOrSlug}
      operations:
      - name: getcardback
        method: GET
        description: Battle.net Get Hearthstone Card Back
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: idOrSlug
          in: path
          type: string
          description: The ID or slug of the card back.
          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-card-backs-rest
    port: 8080
    description: REST adapter for Battle.net Hearthstone Game Data API — Card Backs. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/hearthstone/cardbacks
      name: hearthstone-cardbacks
      description: REST surface for hearthstone-cardbacks.
      operations:
      - method: GET
        name: searchcardbacks
        description: Battle.net Search Hearthstone Card Backs
        call: hearthstone-game-data-card-backs.searchcardbacks
        with:
          cardBackCategory: rest.cardBackCategory
          textFilter: rest.textFilter
          sort: rest.sort
          order: rest.order
          locale: rest.locale
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/hearthstone/cardbacks/{idorslug}
      name: hearthstone-cardbacks-idorslug
      description: REST surface for hearthstone-cardbacks-idOrSlug.
      operations:
      - method: GET
        name: getcardback
        description: Battle.net Get Hearthstone Card Back
        call: hearthstone-game-data-card-backs.getcardback
        with:
          idOrSlug: rest.idOrSlug
          locale: rest.locale
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hearthstone-game-data-card-backs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Battle.net Hearthstone Game Data API — Card Backs. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: battle-net-search-hearthstone-card-backs
      description: Battle.net Search Hearthstone Card Backs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hearthstone-game-data-card-backs.searchcardbacks
      with:
        cardBackCategory: tools.cardBackCategory
        textFilter: tools.textFilter
        sort: tools.sort
        order: tools.order
        locale: tools.locale
      outputParameters:
      - type: object
        mapping: $.
    - name: battle-net-get-hearthstone-card-back
      description: Battle.net Get Hearthstone Card Back
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hearthstone-game-data-card-backs.getcardback
      with:
        idOrSlug: tools.idOrSlug
        locale: tools.locale
      outputParameters:
      - type: object
        mapping: $.