Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/wallpaper-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "notes": "Lengths in m, area in m². Standard roll 10.05 m × 0.53 m. The drop method is more accurate for patterned papers; round up and keep a spare roll.",
        "service": "wallpaper-api",
        "formulae": {
            "area": "ceil(area·(1+waste) / (roll_length·roll_width))",
            "rolls": "ceil(ceil(perimeter/roll_width) / drops_per_roll)",
            "drops_per_roll": "floor(roll_length / (height + repeat))"
        },
        "endpoints": {
            "GET /v1/cost": "Project cost from rolls, price per roll and adhesive.",
            "GET /v1/meta": "This document.",
            "GET /v1/rolls": "Rolls needed by the drop method, accounting for wall height and pattern repeat.",
            "GET /v1/simple": "Quick area-based roll estimate with a waste allowance."
        },
        "description": "Wallpaper estimator: rolls by the drop method (with pattern repeat), a quick area-based estimate, and project cost."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:17.839Z",
        "request_id": "1acb4915-0434-4222-ac94-86a03d8e6dab"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}