Skip to content
GET /v1/meta

Spec

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/roofing-api

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

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Lengths are unit-agnostic (use consistent units); square/bundle figures assume US roofing squares (100 ft²) — pass footprint in ft².",
        "service": "roofing",
        "endpoints": {
            "/v1/area": "Sloped roof area from the footprint and pitch, with waste, roofing squares and shingle bundles.",
            "/v1/pitch": "Convert roof pitch between rise:run, angle (degrees), percent slope and slope multiplier.",
            "/v1/rafter": "Rafter length from the horizontal run and the pitch, with optional overhang."
        },
        "description": "Roofing maths: pitch conversions, rafter length, and roof area with shingle squares and bundles."
    },
    "meta": {
        "timestamp": "2026-06-03T17:41:55.776Z",
        "request_id": "d9212c11-70a2-4113-980b-7ffd6370f1c3"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}