/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"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
}