/v1/icon
Icon SVG + metadata
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/iconify-api/v1/icon" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/iconify-api/v1/icon", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/iconify-api/v1/icon");
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/iconify-api/v1/icon",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"icon": {
"id": "mdi:home",
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M10 20v-6h4v6h5v-8h3L12 3L2 12h3v8z\"/></svg>",
"body": "<path fill=\"currentColor\" d=\"M10 20v-6h4v6h5v-8h3L12 3L2 12h3v8z\"/>",
"name": "home",
"width": 24,
"height": 24,
"prefix": "mdi",
"css_url": "https://api.iconify.design/mdi.css?icons=home",
"svg_url": "https://api.iconify.design/mdi:home.svg",
"view_box": "0 0 24 24",
"iconify_url": "https://icon-sets.iconify.design/mdi/home/"
}
},
"meta": {
"timestamp": "2026-05-31T14:05:59.172Z",
"request_id": "90be5537-76f1-43c5-9f04-b8421792bc5f"
},
"status": "ok",
"message": "Icon retrieved",
"success": true
}