Skip to content
GET /v1/rolls

Rolls (drop method)

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/wallpaper-api

It works. Grab an API key and use it in your project.

Get an API key

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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}