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/ledresistor-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/ledresistor-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ledresistor-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ledresistor-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/ledresistor-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": {
        "notes": "Voltages in volts, current in mA (or current_a in A). Typical LED currents are 10–20 mA. The nearest E12 resistor is rounded up to keep the current at or below target.",
        "service": "ledresistor-api",
        "formulae": {
            "power": "P_resistor = I²·R,  P_led = Vf·I",
            "series": "R = (Vsupply − n·Vf)/I",
            "resistor": "R = (Vsupply − Vf) / I"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/series": "One resistor for LEDs wired in series (forward voltages add).",
            "GET /v1/parallel": "Per-LED resistor and total current for LEDs in parallel.",
            "GET /v1/resistor": "Series resistor for one LED, with the nearest E12 value and power dissipation."
        },
        "description": "LED current-limiting-resistor calculator: single LED, series strings and parallel arrays, with the nearest E12 value and power ratings."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:12.895Z",
        "request_id": "5431d254-7203-4af4-b71a-94beed127b3f"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}