/v1/meta
Spec
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}