Ir al contenido
GET /v1/meta

Spec

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/metalweight-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "api": "metalweight",
        "note": "Metal weight & cost maths — computed locally and deterministically, no key, no third-party service.",
        "shapes": [
            "round_bar",
            "square_bar",
            "flat_bar",
            "plate",
            "sheet",
            "hex_bar",
            "round_tube",
            "pipe",
            "rect_tube"
        ],
        "endpoints": [
            "/v1/weight",
            "/v1/cost",
            "/v1/materials",
            "/v1/meta"
        ],
        "length_units": [
            "mm",
            "cm",
            "m",
            "in",
            "inch",
            "ft"
        ]
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:10.331Z",
        "request_id": "5c7f3fee-090c-4d93-afa4-0e722c1bf1a9"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}