Zum Inhalt springen
GET /v1/tag

A tag's metadata (name, alias, category)

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "id": 1,
        "name": "anime",
        "alias": "Japanese cartoon, 動漫",
        "purity": "sfw",
        "category": "Anime & Manga",
        "created_at": "2014-02-02 10:44:37",
        "category_id": 1
    },
    "meta": {
        "timestamp": "2026-06-13T14:09:36.944Z",
        "request_id": "b97a4847-a28e-450c-9a4d-7d3327fa3616"
    },
    "status": "ok",
    "message": "Tag retrieved successfully",
    "success": true
}