Zum Inhalt springen
GET /v1/card

A single card by key or name

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/marvelsnap-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/marvelsnap-api/v1/card" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/marvelsnap-api/v1/card", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/marvelsnap-api/v1/card");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/marvelsnap-api/v1/card",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "card": {
            "key": "Abomination",
            "url": "/cards/Abomination/",
            "cost": 5,
            "name": "Abomination",
            "image": "https://game-assets.snap.fan/card_variant_images/Abomination-1a5e6f63520f5b991a8000712f6ee5c99e8a5b1fdafc1c30e8016452894b58a5.webp",
            "power": 9,
            "series": "Starter",
            "ability": "Foolish rabble! You are beneath me!",
            "variants": 11,
            "card_type": 0,
            "turn_drawn": null,
            "is_released": true,
            "series_short": "Starter",
            "is_collectable": true,
            "starts_in_hand": false
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:18:26.142Z",
        "request_id": "7556491a-c522-414e-8fbd-100671f98b35"
    },
    "status": "ok",
    "message": "Card retrieved successfully",
    "success": true
}