/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/verticalcurve-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/verticalcurve-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/verticalcurve-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/verticalcurve-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": "US units (ft, %, mph). A = g2−g1; K = L/|A|; elevation = PVC + (g1/100)x + (A/200L)x²; turning point at −g1·L/A from PVC; crest Lmin = A·S²/2158, sag = A·S²/(400+3.5S). For horizontal curves use a horizontal-curve API; for slope conversion a slope API.",
"service": "verticalcurve-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/geometry": "A, K, crest/sag, high/low point and PVC/PVT from the grades and length.",
"GET /v1/elevation": "Elevation and grade at a distance from the PVC.",
"GET /v1/min-length": "Minimum crest/sag length for a stopping sight distance."
},
"description": "Vertical (parabolic) road-curve geometry: K value & turning point, elevation at a station, and AASHTO minimum length for sight distance."
},
"meta": {
"timestamp": "2026-06-07T08:18:03.128Z",
"request_id": "7b267a00-1428-4e8e-88f3-033c4a19df86"
},
"status": "ok",
"message": "Meta",
"success": true
}