Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/arch-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "notes": "Metres, degrees. R = (s²/4 + h²)/(2h); chord = 2R·sin(θ/2); rise = R(1−cos(θ/2)); ordinate y = √(R²−x²) − (R−rise). Rise ≤ half-span (semicircle limit). For road curves use a horizontal/vertical-curve API; for plain shape areas a geometry API.",
        "service": "arch-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/from-span-rise": "Radius, central angle, arc length and segment area from span and rise.",
            "GET /v1/setout-ordinates": "Rise heights at equal stations across the span to mark a template.",
            "GET /v1/from-radius-angle": "Chord, rise, arc length and segment area from radius and central angle."
        },
        "description": "Circular-segment arch geometry: radius/arc/area from span and rise, from radius and angle, and set-out ordinates for a template."
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:55.191Z",
        "request_id": "0257159d-5d4c-43c7-8f85-1055ad4d70b0"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}