Aller au contenu
GET /v1/photoelectric

Photoelectric effect

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/quantum-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/quantum-api/v1/photoelectric" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/quantum-api/v1/photoelectric", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/quantum-api/v1/photoelectric");
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/quantum-api/v1/photoelectric",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "Photoelectric effect: KE = hf − φ. No electrons are emitted below the threshold frequency f₀ = φ/h.",
        "inputs": {
            "frequency_hz": 749481140000000,
            "work_function_ev": 2
        },
        "photon_energy_j": 4.966114600000001e-19,
        "photon_energy_ev": 3.099605,
        "electrons_emitted": true,
        "stopping_voltage_v": 1.099605,
        "max_electron_speed_ms": 621933.63,
        "max_kinetic_energy_ev": 1.099605,
        "threshold_frequency_hz": 483597850000000,
        "threshold_wavelength_nm": 619.921
    },
    "meta": {
        "timestamp": "2026-06-05T03:08:58.851Z",
        "request_id": "6ceb9a1b-33b8-4182-976e-00a94296a236"
    },
    "status": "ok",
    "message": "Photoelectric",
    "success": true
}