Zum Inhalt springen
GET /v1/rolls

Rolls (drop method)

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Drop method: drops/roll = floor(roll_length/(height+repeat)); a larger pattern repeat wastes more and needs more rolls.",
        "inputs": {
            "perimeter": 16,
            "roll_width": 0.53,
            "roll_length": 10.05,
            "wall_height": 2.4,
            "pattern_repeat": 0
        },
        "total_drops": 31,
        "rolls_needed": 8,
        "drops_per_roll": 4
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:17.590Z",
        "request_id": "8539b9a9-4549-4556-962b-3f4280b34bbb"
    },
    "status": "ok",
    "message": "Rolls (drop method)",
    "success": true
}