/v1/potential
Electric potential & energy
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/coulomb-api/v1/potential" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coulomb-api/v1/potential", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coulomb-api/v1/potential");
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/coulomb-api/v1/potential",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"formula": "V = k·q/(εr·r); U = k·q1·q2/(εr·r).",
"charge_c": 1.0e-6,
"charge2_c": 2.0e-6,
"distance_m": 0.1,
"potential_energy_j": 0.179751035747,
"potential_energy_ev": 1121917720760890100,
"electric_potential_v": 89875.51787368,
"relative_permittivity": 1
},
"meta": {
"timestamp": "2026-06-04T10:18:45.971Z",
"request_id": "56a2633e-0e7d-41d2-8247-5c15b99da543"
},
"status": "ok",
"message": "Electric potential & energy",
"success": true
}