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

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/offgrid-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/offgrid-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/offgrid-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/offgrid-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": "Wh, V, Ah, W, A, peak sun hours. bank = (load·days)/(DoD·eff)/V; array = load/(sun·eff); controller A = (array W/V)×1.25. Size for the worst month. For solar irradiance/sun hours use a solar API; for battery runtime under load a battery API.",
        "service": "offgrid-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/array": "Solar-array wattage for the daily energy.",
            "GET /v1/battery-bank": "Battery capacity (Ah/Wh) for a load and days of autonomy.",
            "GET /v1/charge-controller": "Charge-controller current from array watts and voltage."
        },
        "description": "Off-grid solar sizing maths: battery bank for autonomy, solar-array wattage, and charge-controller current."
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:05.125Z",
        "request_id": "5984eb3f-7c6b-4653-8f82-e8f68fe839c9"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}