/v1/pattern
Identicon pattern (SVG)
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/placeholder-api/v1/pattern" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/placeholder-api/v1/pattern", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/placeholder-api/v1/pattern");
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/placeholder-api/v1/pattern",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"bg": "#f0f0f0",
"fg": "#4f46e5",
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"240\" height=\"240\" viewBox=\"0 0 240 240\"><rect width=\"240\" height=\"240\" fill=\"#f0f0f0\"/><rect x=\"0\" y=\"48\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"192\" y=\"48\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"0\" y=\"144\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"192\" y=\"144\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"48\" y=\"0\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"144\" y=\"0\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"48\" y=\"48\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"144\" y=\"48\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"96\" y=\"48\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"96\" y=\"48\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"96\" y=\"96\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"96\" y=\"96\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"96\" y=\"192\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/><rect x=\"96\" y=\"192\" width=\"48\" height=\"48\" fill=\"#4f46e5\"/></svg>",
"grid": 5,
"seed": "[email protected]",
"size": 240,
"format": "svg"
},
"meta": {
"timestamp": "2026-05-30T14:35:20.173Z",
"request_id": "6f4efdf1-1be1-4ade-a053-9a54cbe9e4c0"
},
"status": "ok",
"message": "OK",
"success": true
}