Naar de inhoud
GET /v1/identify

Identify the scale

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}