Zum Inhalt springen
GET /v1/identify

Identify the scale

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/scalemodel-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Scale = real size ÷ model size (in the same unit). The nearest standard scale helps you buy matching figures and accessories; check the off-by percentage before mixing ranges.",
        "scale": "1:87.05",
        "inputs": {
            "real": 1828,
            "model": 21,
            "real_unit": "mm",
            "model_unit": "mm"
        },
        "scale_ratio": 87.048,
        "nearest_named_ratio": 87.1,
        "nearest_named_scale": "HO",
        "nearest_off_by_percent": 0.06
    },
    "meta": {
        "timestamp": "2026-06-06T07:13:59.112Z",
        "request_id": "bcc90878-60ff-495d-af97-c915db39eb7e"
    },
    "status": "ok",
    "message": "Identify scale",
    "success": true
}