Zum Inhalt springen
GET /v1/symbology

Mana & cost symbols

Live testen

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

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

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/mtg-api/v1/symbology" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mtg-api/v1/symbology", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mtg-api/v1/symbology");
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/mtg-api/v1/symbology",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

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

{
    "data": {
        "count": 84,
        "symbols": [
            {
                "colors": [],
                "symbol": "{T}",
                "english": "tap this permanent",
                "mana_value": 0,
                "represents_mana": false
            },
            {
                "colors": [],
                "symbol": "{Q}",
                "english": "untap this permanent",
                "mana_value": 0,
                "represents_mana": false
            },
            {
                "colors": [],
                "symbol": "{E}",
                "english": "an energy counter",
                "mana_value": 0,
                "represents_mana": false
            },
            {
                "colors": [],
                "symbol": "{P}",
                "english": "modal budget pawprint",
                "mana_value": 0,
                "represents_mana": false
            },
            {
                "colors": [],
                "symbol": "{PW}",
                "english": "planeswalker",
                "mana_value": 0,
                "represents_mana": false
            },
            {
                "colors": [],
                "symbol": "{CHAOS}",
                "english": "chaos",
                "mana_value": 0,
                "represents_mana": false
            },
            {
                "colors": [],
                "symbol": "{A}",
                "english": "an acorn counter",
                "mana_value": 0,
                "represents_mana": false
            },
            {
                "colors": [],
                "symbol": "{TK}",
                "english": "a ticket counter",
                "mana_value": 0,
                "represents_mana": false
            },
            {
                "colors": [],
                "symbol": "{X}",
                "english": "X generic mana",
                "mana_value": 0,
                "represents_mana": true
            },
            {
                "colors": [],
                "symbol": "{Y}",
                "english": "Y generic mana",
                "mana_value": 0,
                "represents_mana": true
            },
            {
                "colors": [],
                "symbol": "{Z}",
                "english": "Z generic mana",
                "mana_value": 0,
                "represents_mana": true
            },
            {
                "colors": [],
                "symbol": "{0}",
                "english": "zero mana",
                "mana_value": 0,
                "represents_mana": true
            },
            {
                "colors": [],
                "symbol": "{½}",
                "english": "one-half generic mana",
                "mana_value": 0.5,
                "represents_mana": true
            },
            {
                "colors": [],
                "symbol": "{1}",
                "english": "one generic mana",
                "mana_value": 1,
                "represe
…