/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/railway-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/railway-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/railway-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/railway-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"notes": "US units (hp, mph, tons, lbf). TE = 375·hp·eff/speed; grade resistance = 20·tons·grade%; curve = 0.8·tons·deg; adhesion TE = coeff·driver-weight. Excludes Davis rolling/air resistance. For highway curves use a horizontal-curve API.",
"service": "railway-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/adhesion": "Maximum starting tractive effort from adhesion.",
"GET /v1/resistance": "Grade and curve resistance for a train.",
"GET /v1/tractive-effort": "Tractive effort from power and speed."
},
"description": "Railway train-performance maths: tractive effort at speed, grade/curve resistance, and adhesion-limited starting effort."
},
"meta": {
"timestamp": "2026-06-07T08:17:58.368Z",
"request_id": "0c2a4931-2993-49fc-a656-98c2645be0a4"
},
"status": "ok",
"message": "Meta",
"success": true
}