/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/pulley-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pulley-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pulley-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/pulley-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": "Forces in newtons, distance in metres. 'segments' is the number of rope parts supporting the moving block. Sheave efficiency e ≈ 0.96 plain, 0.98 ball-bearing.",
"service": "pulley-api",
"formulae": {
"effort": "effort = load/(n·efficiency)",
"ideal_ma": "MA = n (supporting rope parts) = velocity ratio",
"friction_ma": "MA = e·(1−eⁿ)/(1−e)"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/solve": "Solve the missing one of load, effort or number of rope parts.",
"GET /v1/friction": "Block-and-tackle MA with per-sheave friction: MA = e·(1−eⁿ)/(1−e).",
"GET /v1/advantage": "Ideal mechanical advantage, effort, rope travel and work from the number of rope parts."
},
"description": "Pulley and block-and-tackle calculator: mechanical advantage, effort, velocity ratio and sheave-friction efficiency for rope-and-pulley lifting systems."
},
"meta": {
"timestamp": "2026-06-04T18:38:28.591Z",
"request_id": "4c632db1-0179-494b-98eb-68e75264ed4e"
},
"status": "ok",
"message": "Meta",
"success": true
}