Aller au contenu
GET /v1/speedo-error

Speedometer error from size change

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/tire-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/tire-api/v1/speedo-error" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tire-api/v1/speedo-error", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tire-api/v1/speedo-error");
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/tire-api/v1/speedo-error",
    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": "A taller tire travels farther per turn, so the speedo (which counts turns) reads LOW and the odometer under-counts — actual speed = indicated × new diameter ÷ old. Go up 3 % in diameter and 60 on the dial is really ~62. Big changes need a speedo recalibration, and they shift gearing and clearance too.",
        "inputs": {
            "indicated_speed": 60,
            "new_diameter_in": 26,
            "old_diameter_in": 24.97
        },
        "error_pct": 4.12,
        "actual_speed": 62.5
    },
    "meta": {
        "timestamp": "2026-06-06T23:54:01.260Z",
        "request_id": "7132a1b5-58c0-4977-b7ba-ee3222e7b94f"
    },
    "status": "ok",
    "message": "Speedo error",
    "success": true
}