Zum Inhalt springen
GET /v1/meta

Spec

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "notes": "US units (feet/inches). Boards run the deck length and lay across joists spaced along the length. Defaults: 5.5\" board face, 1/8\" gap, 16\" on-center joists, 10 % waste. Rectangular decks; for area-only flooring use a flooring API.",
        "service": "deck-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/boards": "Decking boards (rows, boards, linear feet) for a deck, with gap and waste.",
            "GET /v1/joists": "Joist count, length and rim/ledger lumber for the frame.",
            "GET /v1/fasteners": "Screws (or clips) to fasten the decking to the joists."
        },
        "description": "Deck-building maths: decking boards, joist framing, and fasteners for a rectangular deck."
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:05.966Z",
        "request_id": "d52f9707-2b08-4187-a35f-b9f44c48e49e"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}