Vai al contenuto
GET /v1/identify

Identify the scale

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/scalemodel-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}