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

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/evcharging-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/evcharging-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/evcharging-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/evcharging-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": "kWh, kW, miles. time = (battery × %gap) ÷ (kW × efficiency); range = kW × time × eff × mi/kWh; cost = (energy ÷ efficiency) × price. Estimates — DC fast charging tapers above 80 %, and cold weather cuts range. For battery runtime use a battery API.",
        "service": "evcharging-api",
        "endpoints": {
            "GET /v1/cost": "Cost of a charge including charging losses.",
            "GET /v1/meta": "This document.",
            "GET /v1/charge-time": "Time to charge from a start % to a target % at a charger power.",
            "GET /v1/range-added": "Range added over a session and miles per hour of charging."
        },
        "description": "EV-charging maths: time to charge between two states of charge, range added over a session, and the cost of a charge."
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:56.464Z",
        "request_id": "18357167-b8ef-43cc-a360-e84ba8a35b14"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}