# DataNexusAI Hearthstone Cards by Class

> DataNexusAI Hearthstone Cards by Class is a paid API for AI agents from api.datanexusai.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-03).

Returns Hearthstone cards filtered by a specific class (e.g. Mage, Warrior), with optional collectibility and limit filters.

## Facts

- Endpoint: GET https://api.datanexusai.org/api/hearthstone/getCardsByClass/%7Bcard_class%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-hearthstone-cards-by-class-12659825
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MdnVYCFiU1Dz2rzAzg2wD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability datanexusai-hearthstone-cards-by-class-12659825
```

Example prompt: Pull all collectible Mage cards from the Hearthstone database and limit the results to 50.

## When to prefer this

Use this endpoint when you need structured Hearthstone card data scoped to a single class, especially for deck-building tools, game wikis, or card comparison applications. Prefer over a general card search endpoint when class is the primary filter dimension.

## Known failure modes

- Invalid card_class value returns empty results or 404
- Missing card_class path parameter causes a 400 or routing error
- Payment failure (x402) if USDC micropayment is not completed or insufficient funds
- limit parameter out of range may return an error or be silently capped
- Non-existent class name returns empty array

## How this service works

Public data API for SEBRA payments, PTP road accidents, Hearthstone cards, EU agri-food prices, and trade/market analytics. Paid data endpoints use x402 (USDC micropayments). Docs and discovery endpoints are free.

Machine-readable discovery: `https://api.datanexusai.org/openapi.json`, `https://api.datanexusai.org/llms.txt`, `https://api.datanexusai.org/.well-known/x402`.

Human docs: `/docs` and `/api/`.

## Output

A list of Hearthstone card objects belonging to the specified class, each containing card attributes such as name, class, collectible status, and other card metadata. Results can be filtered to collectible-only and capped at a specified row limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-hearthstone-cards-by-class-12659825/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.datanexusai.org](https://www.zero.xyz/host/api.datanexusai.org/llms.txt)
