/v1/force
Coulomb force between two charges
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/force" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coulomb-api/v1/force", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coulomb-api/v1/force");
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/force",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"force_n": 1.7975103575,
"formula": "F = k·q1·q2/(εr·r²); k = 8.9876×10⁹ N·m²/C².",
"charge1_c": 1.0e-6,
"charge2_c": 2.0e-6,
"distance_m": 0.1,
"interaction": "repulsive",
"force_magnitude_n": 1.7975103575,
"relative_permittivity": 1
},
"meta": {
"timestamp": "2026-06-04T10:18:45.880Z",
"request_id": "6d55877c-c9b6-4648-9343-e211c5046f0b"
},
"status": "ok",
"message": "Coulomb force",
"success": true
}