Naar de inhoud
GET /v1/table

Gear table for a cassette

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Matrix of the chosen metric for each chainring × cog. metric = gear_inches (default), development, gain or ratio.",
        "input": {
            "cogs": [
                11,
                13,
                15,
                17,
                19,
                21,
                24,
                28
            ],
            "metric": "gear_inches",
            "chainrings": [
                50,
                34
            ],
            "wheel_circumference_mm": 2105
        },
        "table": [
            {
                "gears": [
                    {
                        "cog": 11,
                        "value": 119.91
                    },
                    {
                        "cog": 13,
                        "value": 101.46
                    },
                    {
                        "cog": 15,
                        "value": 87.93
                    },
                    {
                        "cog": 17,
                        "value": 77.59
                    },
                    {
                        "cog": 19,
                        "value": 69.42
                    },
                    {
                        "cog": 21,
                        "value": 62.81
                    },
                    {
                        "cog": 24,
                        "value": 54.96
                    },
                    {
                        "cog": 28,
                        "value": 47.11
                    }
                ],
                "chainring": 50
            },
            {
                "gears": [
                    {
                        "cog": 11,
                        "value": 81.54
                    },
                    {
                        "cog": 13,
                        "value": 68.99
                    },
                    {
                        "cog": 15,
                        "value": 59.79
                    },
                    {
                        "cog": 17,
                        "value": 52.76
                    },
                    {
                        "cog": 19,
                        "value": 47.21
                    },
                    {
                        "cog": 21,
                        "value": 42.71
                    },
                    {
                        "cog": 24,
                        "value": 37.37
                    },
                    {
                        "cog": 28,
                        "value": 32.03
                    }
                ],
                "chainring": 34
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:19.484Z",
        "request_id": "cde24180-d418-4e1d-bf18-98239963c7af"
    },
    "status": "ok",
    "message": "Gear table",
    "success": true
}