Vai al contenuto
GET /v1/meta

Spec

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "notes": "Scale ratio = real ÷ model. Accepts '1:35', a number, or names (Z, N, TT, HO, OO, S, O, G, 1/72, 1/48, 1/35, 1/24, 1/64, 1/43, 1/18). Length in mm/cm/m/in/ft. For typographic modular scales use a different API.",
        "service": "scalemodel-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/scales": "Reference of common named scales and a two-scale size comparison.",
            "GET /v1/convert": "Convert a real or model dimension at a scale (ratio or named).",
            "GET /v1/identify": "Find the scale from a real and a model measurement."
        },
        "description": "Scale-model maths: real ↔ model dimension conversion, scale identification, and a reference of common named scales."
    },
    "meta": {
        "timestamp": "2026-06-06T07:13:59.313Z",
        "request_id": "e3bed144-737f-471c-bafe-9e6e961eb43f"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}