Aller au contenu
GET /v1/table

Gear table for a cassette

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/bikegear-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}