Naar de inhoud
GET /v1/list

List / filter any resource type

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/dnd-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "type": "spells",
        "count": 42,
        "results": [
            {
                "name": "Animate Dead",
                "index": "animate-dead"
            },
            {
                "name": "Beacon of Hope",
                "index": "beacon-of-hope"
            },
            {
                "name": "Bestow Curse",
                "index": "bestow-curse"
            },
            {
                "name": "Blink",
                "index": "blink"
            },
            {
                "name": "Call Lightning",
                "index": "call-lightning"
            },
            {
                "name": "Clairvoyance",
                "index": "clairvoyance"
            },
            {
                "name": "Conjure Animals",
                "index": "conjure-animals"
            },
            {
                "name": "Counterspell",
                "index": "counterspell"
            },
            {
                "name": "Create Food and Water",
                "index": "create-food-and-water"
            },
            {
                "name": "Daylight",
                "index": "daylight"
            },
            {
                "name": "Dispel Magic",
                "index": "dispel-magic"
            },
            {
                "name": "Fear",
                "index": "fear"
            },
            {
                "name": "Fireball",
                "index": "fireball"
            },
            {
                "name": "Fly",
                "index": "fly"
            },
            {
                "name": "Gaseous Form",
                "index": "gaseous-form"
            },
            {
                "name": "Glyph of Warding",
                "index": "glyph-of-warding"
            },
            {
                "name": "Haste",
                "index": "haste"
            },
            {
                "name": "Hypnotic Pattern",
                "index": "hypnotic-pattern"
            },
            {
                "name": "Lightning Bolt",
                "index": "lightning-bolt"
            },
            {
                "name": "Magic Circle",
                "index": "magic-circle"
            },
            {
                "name": "Major Image",
                "index": "major-image"
            },
            {
                "name": "Mass Healing Word",
                "index": "mass-healing-word"
            },
            {
                "name": "Meld Into Stone",
                "index": "meld-into-stone"
            },
            {
                "name": "Nondetection",
                "index": "nondetection"
            },
            {
                "name": "Phantom Steed",
                "index": "phantom-steed"
            },
            {
                "name": "Plant Growth",
                "index": "plant-growth"
            },
            {
                "name": "Protection From Energy",
                "index": "pr
…