Skip to content
GET /v1/ratio

Pulley speed ratio & belt speed

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/beltdrive-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/beltdrive-api/v1/ratio" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/beltdrive-api/v1/ratio", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/beltdrive-api/v1/ratio");
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/beltdrive-api/v1/ratio",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "N1·D1 = N2·D2. Speed ratio = driven÷driver diameter; the driven pulley turns slower by this factor and its torque rises by it.",
        "unit": "mm",
        "belt_speed": {
            "m_s": 7.5922,
            "ft_min": 1494.5
        },
        "driven_rpm": 580,
        "driver_rpm": 1450,
        "ratio_label": "2.5:1",
        "speed_ratio": 2.5,
        "torque_ratio": 2.5,
        "driven_diameter": {
            "m": 0.25,
            "in": 9.843,
            "mm": 250,
            "unit": "mm",
            "value": 250
        },
        "driver_diameter": {
            "m": 0.1,
            "in": 3.937,
            "mm": 100,
            "unit": "mm",
            "value": 100
        }
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:07.796Z",
        "request_id": "c94b1549-c211-4802-80f7-7740b70558b2"
    },
    "status": "ok",
    "message": "Pulley speed ratio & belt speed",
    "success": true
}