Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/pulley-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}